From 25cf643f2ae72784faa7b7cfb85244fde4c60aa7 Mon Sep 17 00:00:00 2001 From: abarantsev Date: Wed, 9 Apr 2003 15:06:44 +0000 Subject: [PATCH] Added a property to specify Unix group that should own deployed artifacts git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113309 13f79535-47bb-0310-9956-ffa450edef68 --- jar/plugin.jelly | 16 ++++++++-------- jar/plugin.properties | 2 ++ jar/xdocs/properties.xml | 13 ++++++++++--- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/jar/plugin.jelly b/jar/plugin.jelly index 60afe630..841a708c 100644 --- a/jar/plugin.jelly +++ b/jar/plugin.jelly @@ -24,8 +24,8 @@ - - + + - + @@ -73,9 +73,9 @@ - - - + + + @@ -123,7 +123,7 @@ artifact="${relativePath}" type="jars" assureDirectoryCommand="mkdir -p" - siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy}; chgrp maven ${maven.jar.to.deploy}; ln -sf ${maven.jar.to.deploy} ${pom.artifactId}-SNAPSHOT.jar; echo ${snapshotVersion} > ${pom.artifactId}-snapshot-version" + siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy}; chgrp ${maven.remote.group} ${maven.jar.to.deploy}; ln -sf ${maven.jar.to.deploy} ${pom.artifactId}-SNAPSHOT.jar; echo ${snapshotVersion} > ${pom.artifactId}-snapshot-version" /> @@ -152,7 +152,7 @@ artifact="${relativePath}" type="jars" assureDirectoryCommand="mkdir -p" - siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy}; chgrp maven ${maven.jar.to.deploy}" + siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy}; chgrp ${maven.remote.group} ${maven.jar.to.deploy}" /> diff --git a/jar/plugin.properties b/jar/plugin.properties index f8460971..477e9771 100644 --- a/jar/plugin.properties +++ b/jar/plugin.properties @@ -1,3 +1,5 @@ # ------------------------------------------------------------------- # P L U G I N P R O P E R T I E S # ------------------------------------------------------------------- + +maven.remote.group=maven \ No newline at end of file diff --git a/jar/xdocs/properties.xml b/jar/xdocs/properties.xml index 45f9a35d..8df27972 100644 --- a/jar/xdocs/properties.xml +++ b/jar/xdocs/properties.xml @@ -161,7 +161,7 @@ Yes This property is the list of the - @@ -188,7 +188,7 @@ Yes This is a calculated property based on the value of the - @@ -241,7 +241,7 @@ This is the Ant patternset of all the includes and excludes from the - @@ -286,6 +286,13 @@ This is the user name used to log in to the remote repository + + maven.remote.group + Yes + + The name of the Unix group that should own deployed artifacts. Default to maven + +