I think you are mistaking on the semantic of useTransitiveDependency which seems to mean that: * Include/exclude filtering is applied on your direct dependencies, or also on the transtive dependencies (default is to true which seems logical)

I believe that what you want is to use an exclude pattern to remove the dependencies of your war project

Cheers,

Guillaume

Le 26/09/2011 19:10, Jesse Farinacci a écrit :
Greetings,

I am having a lot of problems with the assembly plugin, using Maven
3.0.3 and m-assembly-p 2.2.1. My assembly descriptor and relevant
pom.xml information can be found here: https://gist.github.com/1242745

With this configuration, I expect com.acme.proj:bootstrap and its
dependencies to be placed directly, unpacked, in the final artifact.
For com.acme.proj:war, I expect it to be placed directly, unpacked, in
the final artifact BUT not its dependencies. The reason I want this is
because my war artifact already contains everything it requires. The
bootstrap artifact has lots of other dependencies which are required
for proper execution (final assembly is an executable jar), e.g.
slf4j, Apache Tomcat, etc.

I hope I am just making a stupid mistake, any help on this is greatly
appreciated. Thank you!
-Jesse



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to