mirror of https://github.com/apache/maven.git
PR: MNG-258
make everything executable so that m2 shell script is (plexus-archiver doesn't presently have any greater control) git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163823 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
70a510917c
commit
664a916c17
|
@ -233,6 +233,10 @@ public class AssemblyMojo
|
||||||
}
|
}
|
||||||
tarArchiver.setCompression( tarCompressionMethod );
|
tarArchiver.setCompression( tarCompressionMethod );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: should be able to do this on a file/dir basis
|
||||||
|
tarArchiver.getOptions().setDirMode( "0700" );
|
||||||
|
tarArchiver.getOptions().setMode( "0700" );
|
||||||
}
|
}
|
||||||
else if ( format.startsWith( "zip" ) )
|
else if ( format.startsWith( "zip" ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue