diff --git a/dist/plugin.jelly b/dist/plugin.jelly index b6bc06c9..0974e7a1 100644 --- a/dist/plugin.jelly +++ b/dist/plugin.jelly @@ -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" /> diff --git a/dist/plugin.properties b/dist/plugin.properties index a909acef..e1e5d313 100644 --- a/dist/plugin.properties +++ b/dist/plugin.properties @@ -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 diff --git a/dist/xdocs/changes.xml b/dist/xdocs/changes.xml index 27361ac0..ac90ccfc 100644 --- a/dist/xdocs/changes.xml +++ b/dist/xdocs/changes.xml @@ -24,6 +24,9 @@ Vincent Massol + + Add properties maven.dist.tar.executable and maven.dist.gunzip.executable for specifying the remote executables for these functions + 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. Moved properties out to plugin.properties diff --git a/dist/xdocs/properties.xml b/dist/xdocs/properties.xml index 0f4bdd95..6a1df62d 100644 --- a/dist/xdocs/properties.xml +++ b/dist/xdocs/properties.xml @@ -57,6 +57,16 @@ yes - default is ${maven.build.dir}/distributions The target directory that the final archive is placed in + + maven.dist.tar.executable + yes - default is tar, found via the path. + The path to the tar executable on the remote server - must be GNU tar + + + maven.dist.gunzip.executable + yes - default is gunzip, found via the path. + The path to the gunzip executable on the remote server +