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] [2]


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

    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

    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:

        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

    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.

    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

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

tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top