Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] [m2e-users] [m2e-tycho] reworked maven-bundle-plugin Embed-Dependency support

Of course. Personally, I use [1], which includes proper version of m2e,
m2e-tycho and few other components useful to do maven and maven plugin
development. If you just need m2e-tycho, latest 0.9 build can be
installed from [2]


[1] https://repository.takari.io/content/sites/m2e.extras/takari-team/0.1.0/N/LATEST/ [2] https://repository.takari.io/content/sites/m2e.extras/m2eclipse-tycho/0.9.0/N/LATEST/

--
Regards,
Igor

On 2014-12-23 8:01, Cristiano Gavião wrote:
Igor, is this 0.9 version published somewhere already ?

I did a upgrade right now and eclipse just found new versions of m2e
1.6. m2e-tycho stayed in 0.7.0.

2014-12-22 19:18 GMT-03:00 Igor Fedorenko <igor@xxxxxxxxxxxxxx
<mailto:igor@xxxxxxxxxxxxxx>>:

    tldr; if you are using m2e-tycho and maven-bundle-plugin, you probably
    want to upgrade to m2e-tycho 0.9.

    Prior to version 0.9, m2e-tycho marked Maven Dependencies classpath
    container of maven-bundle-plugin ("m-b-p" for short) projects as
    "exported". This was necessary to allow PDE and Tycho projects to
    resolve classes from embedded dependencies, but resulted in incorrect
    compile classpath of "plain" maven projects that depended on m-b-p
    projects.

    For example, consider the following two workspace project:

        abundle: packaging=bundle, depends on junit 3.8.2
        ajar: packaging=jar, depends on abundle, junit 4.11

    Because 'abundle' project reexported its Maven dependencies, 'ajar'
    compilation classpath had the following entries:

        abundle
        junit 3.8.2 (from exported classpath container)
        junit 4.11 (from maven dependencies)

    Starting with m2e-tycho 0.9, m2e Maven Dependencies classpath container
    of m-b-p projects is not exported and, instead, embedded dependencies
    are added to pde "Plug-in Dependencies" container of relevant projects.

    One minor down-side of this change, m2e-tycho now requires PDE 3.9 or
    newer (from Eclipse Luna release, I believe) and the latest m2e 1.6
    snapshot.

    Another downside of this change, pure PDE projects, i.e. projects that
    do not use m2e-tycho, will not be able to resolve dependencies from
    m-b-p projects any more.

    --
    Regards,
    Igor
    _________________________________________________
    m2e-users mailing list
    m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>
    To change your delivery options, retrieve your password, or
    unsubscribe from this list, visit
    https://dev.eclipse.org/__mailman/listinfo/m2e-users
    <https://dev.eclipse.org/mailman/listinfo/m2e-users>



--
"Tudo vale a pena se a alma não é pequena..."


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top