diff --git a/repository/plugin.jelly b/repository/plugin.jelly
index 880625df..bd0cca64 100644
--- a/repository/plugin.jelly
+++ b/repository/plugin.jelly
@@ -69,13 +69,14 @@
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;
+
@@ -227,9 +232,10 @@
groupId must be specified
-
-
-
+
+ cd ${maven.repo.central.directory};
+ rm -rf ${groupId};
+