I am trying to exclude dependencies from a dependcySet in an assembly
descriptor, but can't find any examples of how to do it.
>From looking at the code it looks like I should be able to exclude
dependencies by groupId/artifactId but I can't seem to get the syntax right
This is what I tried with maven-assembly-plugin 2.0.1 & 2.1
<dependencySets>
<dependencySet>
<outputDirectory>/</outputDirectory>
<unpack>true</unpack>
<scope>runtime</scope>
<excludes><exclude>
<dependency>
<groupId>serialio</groupId>
<artifactId>libjspLux86</artifactId>
<version>1.0</version>
<type>so</type>
</dependency>
<dependency>
<groupId>serialio</groupId>
<artifactId>jspWin</artifactId>
<version>1.0</version>
<type>dll</type>
</dependency>
<dependency>
<groupId>serialio</groupId>
<artifactId>libjspMacOSX</artifactId>
<version>1.0</version>
<type>jnilib</type>
</dependency>
</exclude></excludes>
</dependencySet>
</dependencySets>
Any help appreciated
jmp
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]