Excellent... works well... I had the problem where I was specifying the
actual outputFileNameMapping but cause it was blank it was putting no
dependancies in the zip file.

<outputFileNameMapping></outputFileNameMapping>

I ommitted the above line and all works fine.

Mark

> Hi Mark,
>
> [EMAIL PROTECTED] wrote on Monday, January 29, 2007 1:14 PM:
>
>> I have been able to create a ZIP file of my JPF module using
>> assembly:assembly as specified in a previous post. I am now having
>> problems adding the libraries that I have defined in the POM.xml as
>> specified below;
>>
>>     <dependency>
>>       <groupId>mygroupid</groupId>
>>       <artifactId>myartifactid</artifactId>
>>       <version>1.0.0</version>
>>       <scope>compile</scope>
>>     </dependency>
>>
>> Is there a way to include the above defined jar file into my
>> newly created
>> ZIP? I want to put it under the lib directory (which is yet to be
>> created). I am not sure if it has something to do with moduleSet or
>> something else with the assembly:assembly config.
>
> add to your assembly descrptor:
>
>   <dependencySets>
>     <dependencySet>
>       <outputDirectory>lib</outputDirectory>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>     </dependencySet>
>   </dependencySets>
>
> - Jörg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to