PR: MPDIST-2
add properties for tar and gunzip, like site git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115010 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
2
dist/plugin.jelly
vendored
2
dist/plugin.jelly
vendored
@@ -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>
|
||||
|
||||
2
dist/plugin.properties
vendored
2
dist/plugin.properties
vendored
@@ -26,3 +26,5 @@ maven.dist.src.archive.dir=${maven.dist.assembly.dir}/src
|
||||
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
|
||||
|
||||
3
dist/xdocs/changes.xml
vendored
3
dist/xdocs/changes.xml
vendored
@@ -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>
|
||||
|
||||
10
dist/xdocs/properties.xml
vendored
10
dist/xdocs/properties.xml
vendored
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user