diff --git a/repository/plugin.jelly b/repository/plugin.jelly
index 3a76d3d5..74d39704 100644
--- a/repository/plugin.jelly
+++ b/repository/plugin.jelly
@@ -56,7 +56,7 @@
! @param groupId the groupId the license is for
!-->
-
+
${systemScope['java.io.tmpdir']}${fileName}
@@ -71,11 +71,10 @@
Setting permissions and group ownership in ${directory}'
cd ${directory};
- chmod -R g+w *;
- chmod -R a+r *;
- chgrp -R ${maven.repository.group} *;
rm ${groupId}.license;
ln -s ${fileName} ${groupId}.license;
+ chmod -R g+w,a+r ${fileName};
+ chgrp -R ${maven.repository.group} *;
@@ -84,50 +83,70 @@
! @param url the URL to process
! @param var the variable to place the filename into
!-->
-
- ${url}
- ${preQuery[0]}
- ${preHash[0]}
-
-
-
-
-
-
- '${name}' must be specified
-
-
- ${message}
-
-
+
+ ${url}
+ ${preQuery[0]}
+ ${preHash[0]}
+
+
+
+
+
+ ${file}
+ ${jarDotBits[size(jarDotBits)-1]}
+
+
+
+
+
+
+ '${name}' must be specified
+
+
+ ${message}
+
+
+
+
+
+
+
+
-
-
-
-
- Processing project ${group.text}
-
- Ensuring directory '${directory}' exists
-
- mkdir -p ${directory};
- chmod g+ws ${directory};
- chgrp ${maven.repository.group} ${directory};
-
-
-
+
+
+
+
+
+ Ensuring directory '${directory}' exists
+
+ mkdir -p ${directory};
+ chmod g+ws ${directory};
+ chgrp ${maven.repository.group} ${directory};
+
+
+
+
-
- ${artifact}
- ${jarDotBits[size(jarDotBits)-1]}
-
+
+
snapshotVersion = '${snapshotVersion}'
+
+
-
${artifactFile.canonicalFile.name}
+ Setting up SNAPSHOT entries
cd ${directory};
- md5sum ${artifactName} | sed 's/ .*$//' | tee ${artifactName}.md5;
ln -sf ${artifactName} ${artifactId}-SNAPSHOT.jar;
ln -sf ${artifactName}.md5 ${artifactId}-SNAPSHOT.jar.md5;
echo ${snapshotVersion} | tee ${artifactId}-snapshot-version;
- chgrp ${maven.repository.group} *;
- chmod g+w *;
- chmod a+r *;
+ chgrp ${maven.repository.group} ${artifactId}-SNAPSHOT.jar*;
+ chmod g+w,a+r ${artifactId}-SNAPSHOT.jar*;
@@ -294,7 +309,22 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -304,8 +334,7 @@
cd ${directory};
md5sum ${artifactName} | sed 's/ .*$//' | tee ${artifactName}.md5;
chgrp ${maven.repository.group} *;
- chmod g+w *;
- chmod a+r *;
+ chmod g+w,a+r *;