Hi all,

I still have problem with the assembly plugin. :(

I'm trying to build a zip file of my project which includes the modules's jars and there dependencies.

With the standard goals "jar-with-dependencies" it works fine on each modules. But when I call the goal from the parent pom, the assembly is empty.

I'm using 2.2-SNAPSHOP version of the assembly plugin.

My project struture is as follows :

* Parent Projet
* pom.xml
*-- Module 1
    * pom.xml
*-- Module 2
    * pom.xml

Here is my descriptor file :

<assembly>
  <id>jar-with-dependencies</id>
  <formats>
   <format>zip</format>
   <format>dir</format>
  </formats>
  <includeBaseDirectory>false</includeBaseDirectory>
  <fileSets>
    <fileSet>
      <directory>target/classes</directory>
      <outputDirectory>/</outputDirectory>
    </fileSet>
  </fileSets>
  <dependencySets>
    <dependencySet>
      <outputDirectory>/</outputDirectory>
      <unpack>false</unpack>
      <scope>runtime</scope>
    </dependencySet>
  </dependencySets>
</assembly>


Thank's all

Damien
--
--------------------------------------------------
Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED]
--------------------------------------------------
        | http://www.improve-foundations.com
__/ \__ | http://www.improve.fr
improve | http://www.application-servers.com
/_____\-| http://www.improve-technologies.com
--------------------------------------------------

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

Reply via email to