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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to