MPSITE-15

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116046 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion
2004-09-16 00:30:19 +00:00
parent 948c8fb07c
commit d5a4bdbfc6
5 changed files with 16 additions and 2 deletions

View File

@@ -143,7 +143,7 @@
</exec>
<exec dir="." executable="${maven.ssh.executable}">
<arg line="${maven.ssh.args} -l ${maven.username} ${pom.siteAddress} 'cd ${maven.homepage};${maven.site.gunzip.executable} ${maven.final.name}-site.tar.gz;${maven.site.tar.executable} xUvf ${maven.final.name}-site.tar;chmod -R g+u * .;rm ${maven.final.name}-site.tar'"/>
<arg line="${maven.ssh.args} -l ${maven.username} ${pom.siteAddress} 'cd ${maven.homepage};${maven.site.gunzip.executable} ${maven.final.name}-site.tar.gz;${maven.site.tar.executable} ${maven.site.tar.options} ${maven.final.name}-site.tar;chmod -R g+u * .;rm ${maven.final.name}-site.tar'"/>
</exec>
<delete file="${maven.build.dir}/${maven.final.name}-site.tar.gz"/>

View File

@@ -27,6 +27,7 @@
maven.site.deploy.method=ssh
maven.site.tar.executable=tar
maven.site.tar.options=xUvf
maven.site.gunzip.executable=gunzip
maven.username=USERNAME_NOT_SET

View File

@@ -23,7 +23,7 @@
<pomVersion>3</pomVersion>
<id>maven-site-plugin</id>
<name>Maven Site Plugin</name>
<currentVersion>1.5.1</currentVersion>
<currentVersion>1.5.2-SNAPSHOT</currentVersion>
<description>Generate web site. Requires Maven 1.0 RC2.</description>
<shortDescription>Generate web site</shortDescription>
<url>http://maven.apache.org/reference/plugins/site/</url>

View File

@@ -24,6 +24,9 @@
<author email="dion@multitask.com.au">dIon Gillard</author>
</properties>
<body>
<release version="1.5.2-SNAPSHOT" date="in CVS">
<action dev="dion" type="update" issue="MPSITE-15" due-to="M. Sean Gilligan">Allow tar options as a property</action>
</release>
<release version="1.5.1" date="2004-07-10">
<action dev="brett" type="update">Update commons-httpclient and commons-net</action>
</release>

View File

@@ -83,6 +83,16 @@
system has a default version of tar that is failing.
</td>
</tr>
<tr>
<td>maven.site.tar.options</td>
<td>Yes</td>
<td>
Specifies the options to use for 'tar' when deploying the site.
Defaults to <code>xUvf</code>. Override this property if your
system has a version of tar that is failing, e.g. it doesn't support the
<code>U</code> option.
</td>
</tr>
<tr>
<td>maven.site.gunzip.executable</td>