maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly AssemblyMojo.java
Date Thu, 07 Apr 2005 02:43:56 GMT
brett       2005/04/06 19:43:56

  Modified:    maven-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly
                        AssemblyMojo.java
  Log:
  PR: MNG-258
  make everything executable so that m2 shell script is (plexus-archiver doesn't presently
have any greater control)
  
  Revision  Changes    Path
  1.2       +5 -1      maven-components/maven-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java
  
  Index: AssemblyMojo.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AssemblyMojo.java	6 Apr 2005 06:23:44 -0000	1.1
  +++ AssemblyMojo.java	7 Apr 2005 02:43:56 -0000	1.2
  @@ -233,6 +233,10 @@
                   }
                   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" ) )
           {
  
  
  

Mime
View raw message