Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] manifest-first with ordinary dependencies

No, you need to build and install/deploy pom-first dependencies before
starting manifest-first build.

--
Regards,
Igor

On 11-08-27 3:05 PM, Harshana Eranga Martin wrote:
Hi Igor,

On 27 August 2011 19:42, Igor Fedorenko <ifedorenko@xxxxxxxxxxxx
<mailto:ifedorenko@xxxxxxxxxxxx>> wrote:

    You should be able to use pomDependencies=consider Tycho target platform
    resolver mode [1] to resolve these "wrapper" bundles from local or
    remote maven repositories. They have to be built separately, i.e. same
    reactor won't work.


Yes. I also noticed that it does not work in the same reactor. So using
Maven invoker plugin to invoke a maven process in a separate JVM should
work right?

Thanks and Regards,
Harshana


    [1]
    https://docs.sonatype.org/__display/TYCHO/Dependency+on+__pom-first+artifacts
    <https://docs.sonatype.org/display/TYCHO/Dependency+on+pom-first+artifacts>

    --
    Regards,
    Igor


    On 11-08-27 9:53 AM, Benson Margulies wrote:

        So, once I have a module that does this job, can I list it as an
        ordinary maven dependency in a MANIFEST-first project to use it from
        the reactor? Or do I have to put it in a P2 someplace.

        On Sat, Aug 27, 2011 at 9:06 AM, Igor
        Fedorenko<igor@xxxxxxxxxxxxxx <mailto:igor@xxxxxxxxxxxxxx>>  wrote:

            I use maven-bundle-plugin [1] Embed-Dependency feature to "wrap"
            non-OSGi dependencies into bundles. Works pretty well for
            command line
            builds already. I also have support for this in m2e-tycho,
            but it is
            currently on a branch waiting for some patches to get
            accepted by PDE,
            m-b-p and bnd developers.

            [1]
            http://felix.apache.org/site/__apache-felix-maven-bundle-__plugin-bnd.html
            <http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html>

            --
            Regards,
            Igor

            On 11-08-27 7:41 AM, Benson Margulies wrote:


                I don't quite grasp the drill for the following:

                The project is an eclipse project, so the only sane thing is
                manifest-first. There are a few ordinary maven
                dependencies that want
                to be embedded. Do I use the dependency plugin to grab
                them for
                inclusion, or is there a tycho feature to help with this?


            _________________________________________________
            tycho-user mailing list
            tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
            https://dev.eclipse.org/__mailman/listinfo/tycho-user
            <https://dev.eclipse.org/mailman/listinfo/tycho-user>

        _________________________________________________
        tycho-user mailing list
        tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
        https://dev.eclipse.org/__mailman/listinfo/tycho-user
        <https://dev.eclipse.org/mailman/listinfo/tycho-user>

    _________________________________________________
    tycho-user mailing list
    tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
    https://dev.eclipse.org/__mailman/listinfo/tycho-user
    <https://dev.eclipse.org/mailman/listinfo/tycho-user>




--
Harshana Eranga Martin
Software Engineer,
WSO2 Inc.
Web: http://wso2.com
http://wso2.org <http://wso2.org>

ECF Committer: http://www.eclipse.org/ecf/
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top