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 *;