************************descripteur.xml****************************

<assembly>
  <id>bin</id>
  <formats>
    <format>jar</format>
  </formats>
  <includeBaseDirectory>false</includeBaseDirectory>
    <fileSets>
    ......
        <fileSet>
          <directory>../ife-asp/target</directory>
          <outputDirectory>lib</outputDirectory>
          <includes>
            <include>*.jar</include>
             <includeDependencies>true</includeDependencies>
          </includes>
        </fileSet>
    ......
 </assembly>
*************************************************************

The problem is in your descriptor file.

You need to add
        <dependencySets>
                <dependencySet>
                        <outputDirectory></outputDirectory>
                        <unpack>false</unpack>
                </dependencySet>
        </dependencySets>

which will copy all dependencies to the specified outputDirectory (in
this case the root of the archive) and it will copy the archived files
without unpacking them (unpack = false)

Be aware that there is an outstanding bug
http://jira.codehaus.org/browse/MJAR-28  which will cause the
maven-jar-plugin to build an incorrect Class-Path entry in your
Manifest.MF file IF you are using deployed snapshots.  The work around
is to manually rename the copied dependency archives.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to