Either I am missing somethinghere or we have some bug hanging around.
I did what you suggested first and got this behaivor where the zip file is created but no resources (dependencies and artifacts) from the modules is added to it. The modules are been iterated through and the jars for each one of them is been created and everything but when the time for creating the assembly comes, none of the modules dependecies/artifacts gets added to the zip.
Perhaps I am missing something in the dependencySets. All I have there is:
   <dependencySets>
       <dependencySet>
           <outputDirectory>lib</outputDirectory>
       </dependencySet>
   </dependencySets>

I am assuming that this is enough as to have all the dependencies from all the modules and the root project to be included in the lib folder but apparently it is not.

Any hint at all??

Thanks

Erick.
Jason van Zyl wrote:

On Wed, 2005-10-05 at 11:07 -0400, Erick Dovale wrote:
Hi Brett,
I finally got the assembly 2.0-beta-2-SNAPSHOT to work this morning after downloading the m2-beta-3. It seems to be working fine except for the fact that it is not including the jars for the modules nor their dependencies. Maybe I am missing something here: At first it was complaining about not being able to find the bin.xml file in the modules. I put a bin.xml just into each one of them containing the dependecySets with the output directory set exactly as it is in the bin.xml that I am pasting below and it started to work but, as I said, without anything from the modules.

You need to provide the path to the assembly descriptor:

 <build>
   <plugins>
     <plugin>
       <artifactId>maven-assembly-plugin</artifactId>
       <version>2.0-beta-1</version>
       <configuration>
         <descriptor>src/main/assembly/dep.xml</descriptor>
       </configuration>
     </plugin>
   </plugins>
 </build>

And you only need to put it in that single location, you don't need to
put in each project just the project that is responsible for creating an
assembly.



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

Reply via email to