You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Orford, Ian" <Ia...@dresdnerkleinwort.com> on 2006/09/01 11:48:52 UTC

Permissions on files in assembly

I've recently moved from Maven 1 to 2.

One of the things I'm trying to do is set permissions on my scripts in my
.tar.gz assembly.

In maven 1 I used the <ant:tar> task and could specifiy permissions using
<ant:tarfileset>

Is there any way of specifying the same in a maven 2 assembly?

Thanks, 
Ian Orford


--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express 
written permission of the sender. If you are not the intended recipient, please 
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to 
http://www.dresdnerkleinwort.com/disc/email/ or contact the sender. 
--------------------------------------------------------------------------------


Re: Permissions on files in assembly

Posted by Vinod Panicker <vi...@gmail.com>.
You can use filemode and directorymode to set the permissions. Refer
to http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
for more info.

HTH,
Vinod.

On 9/1/06, Orford, Ian <Ia...@dresdnerkleinwort.com> wrote:
> I've recently moved from Maven 1 to 2.
>
> One of the things I'm trying to do is set permissions on my scripts in my
> .tar.gz assembly.
>
> In maven 1 I used the <ant:tar> task and could specifiy permissions using
> <ant:tarfileset>
>
> Is there any way of specifying the same in a maven 2 assembly?
>
> Thanks,
> Ian Orford
>
>
> --------------------------------------------------------------------------------
> The information contained herein is confidential and is intended solely for the
> addressee. Access by any other party is unauthorised without the express
> written permission of the sender. If you are not the intended recipient, please
> contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
> via e-mail return. If you have received this e-mail in error or wish to read our
> e-mail disclaimer statement and monitoring policy, please refer to
> http://www.dresdnerkleinwort.com/disc/email/ or contact the sender.
> --------------------------------------------------------------------------------
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org