diff --git a/distro/changelog.xml b/distro/changelog.xml
index 131b89f..6827f2a 100644
--- a/distro/changelog.xml
+++ b/distro/changelog.xml
@@ -14,4 +14,7 @@
smartgear-distribution-bundle version is published on ghn profile
+
+ Moved libs and war directories under target to make mvn clean properly working. The generated tar.gz remain the same
+
\ No newline at end of file
diff --git a/distro/standalone.xml b/distro/standalone.xml
index 6fa4b82..6d78709 100644
--- a/distro/standalone.xml
+++ b/distro/standalone.xml
@@ -33,13 +33,13 @@
true
- libs
+ target/libs
libs
true
755
- war
+ target/war
apps
true
755
diff --git a/pom.xml b/pom.xml
index 62e8e4a..3cd2303 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,7 +8,7 @@
org.gcube.distribution
smartgears-distribution
- 1.2.1-SNAPSHOT
+ 1.2.2-SNAPSHOT
pom
A distribution for the SmartGears Framework
@@ -74,7 +74,7 @@
copy-dependencies
- ${basedir}/libs
+ ${basedir}/target/libs
provided
false
false
@@ -90,7 +90,7 @@
copy-dependencies
- ${basedir}/war
+ ${basedir}/target/war
false
false
true