diff --git a/pom.xml b/pom.xml
index baac402..ef4c1e4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,9 +14,8 @@
UTF-8
- distro
+ ${project.basedir}/distro
Accounting
- 1.7
@@ -64,20 +63,11 @@
provided
-
+
@@ -124,7 +114,7 @@
org.gcube.accounting
- accounting-lib
+ accounting-lib
provided
@@ -160,15 +150,51 @@
+
+ org.apache.maven.plugins
+ maven-resources-plugin
+ 2.5
+
+
+ copy-profile
+ install
+
+ copy-resources
+
+
+ target
+
+
+ ${distroDirectory}
+ true
+
+ profile.xml
+
+
+
+
+
+
+
org.apache.maven.plugins
maven-assembly-plugin
+
+ ${distroDirectory}/descriptor.xml
+
jar-with-dependencies
+
+ servicearchive
+ install
+
+ single
+
+
package