You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by berndq <be...@gmx.net> on 2006/09/28 12:20:23 UTC
assembly plugin and fileset exclusion
Hi,
we have a directory called "conf" in the default
resource folder (src/main/resources)
We want to exclude it from the assembled jar.
Lookin at the new plugin doku at
http://people.apache.org/~epunzalan/maven-assembly-plugin/assembly.html
there is an <exclude> for <fileset>.
What version of the plugin is it documenting? 2.1?
I tried something like
(with different * and ** and / and also
with target/classes/conf)
<assembly>
<id>Assembly</id>
<formats>
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>target/classes</directory>
<outputDirectory>/</outputDirectory>
<excludes>
<exclude>conf/</exclude>
</excludes>
</fileSet>
</fileSets>
<dependencySets>
...
but it was not working.
Thanks or your help
Bernd
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: assembly plugin and fileset exclusion
Posted by berndq <be...@gmx.net>.
> Lookin at the new plugin doku at
> http://people.apache.org/~epunzalan/maven-assembly-plugin/assembly.html
> there is an <exclude> for <fileset>.
>
> What version of the plugin is it documenting? 2.1?
I could made it work with 2.2-SNAPSHOT
Bernd
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org