You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marco Gerber <mg...@junisphere.net> on 2011/06/28 13:35:12 UTC

maven-assembly-plugin: [WARNING] NOTE: Currently, inclusion of module dependencies may produce unpredictable results if a version conflict occurs.

Hello everybody

I have a multipart maven project in an osgi environment and got the following warning when maven-assembly-plugin runs:

> [WARNING] NOTE: Currently, inclusion of module dependencies may produce unpredictable results if a version conflict occurs.

I also got many of the following lines:

> [INFO] modules/my-module-0.0.1.BUILD-SNAPSHOT.war already added, skipping


So, all of the dependencies are found correctly, but the warning irritates me.
I found [1] where the bug ([1] was marked as duplicate for [2]) was fixed but seems not. Or do I have to enable/disable a flag?

My setup looks as follows:

maven: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
maven-assembly-plugin: 2.2.1

[1] http://jira.codehaus.org/browse/MASSEMBLY-314
[2] http://jira.codehaus.org/browse/MASSEMBLY-285

thanks,
Marco