You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by John Casey <ca...@gmail.com> on 2006/12/07 15:46:02 UTC
Re: assembly: howto exclude basedirectory when unpacking binaries
You might try:
<moduleSet>
<outputFileNameMapping></outputFileNameMapping>
...
Not sure, but I think that would work.
-john
On 12/7/06, Bram de Kruijff <br...@gx.nl> wrote:
>
> Hello all,
>
> in my assembly I want to include and unpack a war binary of a moduleset
> in the root directory of the assembly. Unfortunaltly it always unpacks
> the war in a subdirectory with the artifactId/finalName as name.
>
> Is there anyway I can tell it not to do that?
>
> Eg.
> <moduleSet>
> <includes>
> <include>groupId:artifactId:war</include>
> </includes>
> <binaries>
> <outputDirectory>/</outputDirectory>
> <includeDependencies>false</includeDependencies>
> <unpack>true</unpack>
> </binaries>
> </moduleSet>
>
> ... results in...
>
> %assemblydir%/%artifactId%/WEB-INF/...
>
> ... but I need ...
>
> %assemblydir%/WEB-INF/...
>
>
> regards,
> Bram
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>