I may be wrong, but try removing the
<outputFileNameMapping></outputFileNameMapping> with unpack set to
false. I think it will pick up the dependencies then.

Good luck,
Brad


On Tue, 2007-04-17 at 15:35 +0200, Graham Leggett wrote:
> Hi all,
> 
> While trying to build an assembly using 2.2-beta-1 of the assembly plugin,
> I end up with en empty zip file.
> 
> The key difference is the <unpack>false</unpack> - if this is set to true,
> the assembly works, if however it is set to false, the assembly plugin
> ignores the dependencies.
> 
> In order to be useful to us, the dependency plugin needs to set this to
> false.
> 
> I have defined a dependencySet as follows:
> 
>     <dependencySet>
>       <outputDirectory></outputDirectory>
>       <outputFileNameMapping></outputFileNameMapping>
>       <includes>
>         <include>alchemy:alchemy-quant:jar:${os-platform}</include>
>         <include>alchemy:alchemy-quant:ctf:${os-platform}</include>
>         <include>alchemy:alchemy-transformer:jar:${os-platform}</include>
>         <include>alchemy:alchemy-transformer:ctf:${os-platform}</include>
>       </includes>
>       <unpack>false</unpack>
>       <scope>runtime</scope>
>     </dependencySet>
> 
> What this is supposed to do is include the following dependencies within
> the assembly:
> 
>     <dependency>
>       <groupId>alchemy</groupId>
>       <artifactId>alchemy-quant</artifactId>
>       <version>${pom.version}</version>
>       <classifier>${os-platform}</classifier>
>     </dependency>
>     <dependency>
>       <groupId>alchemy</groupId>
>       <artifactId>alchemy-quant</artifactId>
>       <version>${pom.version}</version>
>       <classifier>${os-platform}</classifier>
>       <type>ctf</type>
>     </dependency>
>     <dependency>
>       <groupId>alchemy</groupId>
>       <artifactId>alchemy-transformer</artifactId>
>       <version>${pom.version}</version>
>       <classifier>${os-platform}</classifier>
>     </dependency>
>     <dependency>
>       <groupId>alchemy</groupId>
>       <artifactId>alchemy-transformer</artifactId>
>       <version>${pom.version}</version>
>       <classifier>${os-platform}</classifier>
>       <type>ctf</type>
>     </dependency>
> 
> Is this a known problem?
> 
> Regards,
> Graham
> --
> 
> 
> 
> ---------------------------------------------------------------------
> 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