From 58e7f52d51dbcb64a3a8a1132883c07b3b14abc8 Mon Sep 17 00:00:00 2001 From: dion Date: Thu, 13 Mar 2003 04:14:49 +0000 Subject: [PATCH] Fix use of '>' in exec as jelly is unwantingly turning it into &gt git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113121 13f79535-47bb-0310-9956-ffa450edef68 --- repository/plugin.jelly | 57 ++++++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/repository/plugin.jelly b/repository/plugin.jelly index bd0cca64..3a76d3d5 100644 --- a/repository/plugin.jelly +++ b/repository/plugin.jelly @@ -90,6 +90,21 @@ ${preHash[0]} + + + + + '${name}' must be specified + + + ${message} + + + - - groupId must be specified - + - - groupId must be specified - + cd ${maven.repo.central.directory}; mkdir ${groupId}; @@ -229,9 +240,8 @@ - - groupId must be specified - + + cd ${maven.repo.central.directory}; rm -rf ${groupId}; @@ -245,12 +255,8 @@ - - artifact must be specified - - - groupId must be specified - + + ${groupId} @@ -269,10 +275,10 @@ cd ${directory}; - md5sum ${artifactName} | sed 's/ .*$//' > ${artifactName}.md5; + md5sum ${artifactName} | sed 's/ .*$//' | tee ${artifactName}.md5; ln -sf ${artifactName} ${artifactId}-SNAPSHOT.jar; ln -sf ${artifactName}.md5 ${artifactId}-SNAPSHOT.jar.md5; - echo ${snapshotVersion} > ${artifactId}-snapshot-version; + echo ${snapshotVersion} | tee ${artifactId}-snapshot-version; chgrp ${maven.repository.group} *; chmod g+w *; chmod a+r *; @@ -284,12 +290,9 @@ !--> - - artifact must be specified - - - groupId must be specified - + + + @@ -299,10 +302,10 @@ cd ${directory}; - md5sum ${artifactName} | sed 's/ .*$//' > ${artifactName}.md5; - chgrp ${maven.repository.group}; - chmod g+w; - chmod a+r + md5sum ${artifactName} | sed 's/ .*$//' | tee ${artifactName}.md5; + chgrp ${maven.repository.group} *; + chmod g+w *; + chmod a+r *;