You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2004/04/14 02:56:40 UTC

cvs commit: maven-plugins/dist/xdocs changes.xml properties.xml

brett       2004/04/13 17:56:40

  Modified:    dist     plugin.jelly plugin.properties
               dist/xdocs changes.xml properties.xml
  Log:
  PR: MPDIST-2
  add properties for tar and gunzip, like site
  
  Revision  Changes    Path
  1.13      +1 -1      maven-plugins/dist/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/dist/plugin.jelly,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- plugin.jelly	4 Mar 2004 18:04:01 -0000	1.12
  +++ plugin.jelly	14 Apr 2004 00:56:40 -0000	1.13
  @@ -214,7 +214,7 @@
         artifact="distributions.tar.gz"
         type="distributions"
         assureDirectoryCommand="mkdir -p"
  -      siteCommand="cd @deployDirectory@;gunzip distributions.tar.gz;tar xUvf distributions.tar;chmod -R g+u *;rm distributions.tar"
  +      siteCommand="cd @deployDirectory@;${maven.dist.gunzip.executable} distributions.tar.gz;${maven.dist.tar.executable} xUvf distributions.tar;chmod -R g+u *;rm distributions.tar"
       />
     
     </goal>
  
  
  
  1.6       +2 -0      maven-plugins/dist/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  RCS file: /home/cvs/maven-plugins/dist/plugin.properties,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- plugin.properties	4 Mar 2004 18:04:01 -0000	1.5
  +++ plugin.properties	14 Apr 2004 00:56:40 -0000	1.6
  @@ -26,3 +26,5 @@
   maven.dist.bin.assembly.dir=${maven.dist.assembly.dir}/bin/${maven.final.name}
   maven.dist.src.assembly.dir=${maven.dist.assembly.dir}/src/${maven.final.name}
   maven.dist.dir=${maven.build.dir}/distributions
  +maven.dist.tar.executable=tar
  +maven.dist.gunzip.executable=gunzip
  
  
  
  1.11      +3 -0      maven-plugins/dist/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/dist/xdocs/changes.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- changes.xml	7 Mar 2004 00:52:57 -0000	1.10
  +++ changes.xml	14 Apr 2004 00:56:40 -0000	1.11
  @@ -24,6 +24,9 @@
       <author email="vmassol@octo.com">Vincent Massol</author>
     </properties>
     <body>
  +    <release version="1.5-SNAPSHOT" date="in CVS">
  +      <action dev="brett" type="update" issue="MPDIST-2">Add properties <code>maven.dist.tar.executable</code> and <code>maven.dist.gunzip.executable</code> for specifying the remote executables for these functions</action>
  +    </release>
       <release version="1.4" date="2004-03-07">
         <action dev="dion" type="fix">Prefix basedir on copied ant build file. Only create ant build file if the project has source. Only copy maven.src.dir if it exists.</action>
         <action dev="dion" type="update">Moved properties out to plugin.properties</action>
  
  
  
  1.4       +10 -0     maven-plugins/dist/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/dist/xdocs/properties.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- properties.xml	10 Apr 2004 00:57:38 -0000	1.3
  +++ properties.xml	14 Apr 2004 00:56:40 -0000	1.4
  @@ -57,6 +57,16 @@
             <td>yes - default is ${maven.build.dir}/distributions</td>
             <td>The target directory that the final archive is placed in</td>
           </tr> 
  +        <tr>
  +          <td>maven.dist.tar.executable</td>
  +          <td>yes - default is <code>tar</code>, found via the path.</td>
  +          <td>The path to the tar executable on the remote server - must be GNU tar</td>
  +        </tr> 
  +        <tr>
  +          <td>maven.dist.gunzip.executable</td>
  +          <td>yes - default is <code>gunzip</code>, found via the path.</td>
  +          <td>The path to the gunzip executable on the remote server</td>
  +        </tr> 
         </table>
       </section>
     </body>
  
  
  

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