diff --git a/distro/INSTALL b/distro/INSTALL
new file mode 100644
index 0000000..8051b5f
--- /dev/null
+++ b/distro/INSTALL
@@ -0,0 +1 @@
+The war package should be deployed in a tomcat container webapps folder
\ No newline at end of file
diff --git a/distro/LICENSE b/distro/LICENSE
new file mode 100644
index 0000000..630ba97
--- /dev/null
+++ b/distro/LICENSE
@@ -0,0 +1,6 @@
+gCube System - License
+------------------------------------------------------------
+
+The gCube/gCore software is licensed as Free Open Source software conveying to the EUPL (http://ec.europa.eu/idabc/eupl).
+The software and documentation is provided by its authors/distributors "as is" and no expressed or
+implied warranty is given for its use, quality or fitness for a particular case.
diff --git a/distro/MAINTAINERS b/distro/MAINTAINERS
new file mode 100644
index 0000000..3cc18b2
--- /dev/null
+++ b/distro/MAINTAINERS
@@ -0,0 +1 @@
+* Andrea manzi (andrea.manzi@cern.ch), CERN Geneva,
diff --git a/distro/README b/distro/README
new file mode 100644
index 0000000..c6a2891
--- /dev/null
+++ b/distro/README
@@ -0,0 +1,33 @@
+The gCube System - The Data transfer URI resolver
+------------------------------------------------------------
+
+
+This work has been partially supported by the following European projects:
+DILIGENT (FP6-2003-IST-2),
+D4Science (FP7-INFRA-2007-1.2.2),
+D4Science-II (FP7-INFRA-2008-1.2.2), i
+Marine (FP7-INFRASTRUCTURES-2011-2), and
+EUBrazilOpenBio (FP7-ICT-2011-EU-Brazil).
+
+Authors
+-------
+
+Andrea Manzi CERN
+
+Version and Release Date
+------------------------
+
+v. 1.0, 04/09/2013
+
+Description
+-----------
+
+Download information
+--------------------
+
+Documentation
+-------------
+Licensing
+---------
+
+This software is licensed under the terms you may find in the file named "LICENSE" in this directory.
diff --git a/distro/changelog.xml b/distro/changelog.xml
new file mode 100644
index 0000000..825d624
--- /dev/null
+++ b/distro/changelog.xml
@@ -0,0 +1,5 @@
+
+
+ first release
+
+
\ No newline at end of file
diff --git a/distro/descriptor.xml b/distro/descriptor.xml
new file mode 100644
index 0000000..6152aa2
--- /dev/null
+++ b/distro/descriptor.xml
@@ -0,0 +1,47 @@
+
+ servicearchive
+
+ tar.gz
+
+ /
+
+
+ ${distroDirectory}
+ /
+ true
+
+ README
+ LICENSE
+ INSTALL
+ MAINTAINERS
+ changelog.xml
+
+ 755
+ true
+
+
+ target/apidocs
+ /${artifactId}/doc/api
+ true
+ 755
+
+
+
+
+
+ ./
+ true
+
+
+
+ /${artifactId}
+
+
+
+ /${artifactId}
+ true
+
+
+
\ No newline at end of file
diff --git a/distro/profile.xml b/distro/profile.xml
new file mode 100644
index 0000000..651f753
--- /dev/null
+++ b/distro/profile.xml
@@ -0,0 +1,34 @@
+
+
+
+ Service
+
+ The gCube Data Trasfer HTTP URI resolver
+ DataTransfer
+ ${artifactId}
+ 1.0.0
+
+
+ The gCube Data Trasfer HTTP URI resolver
+ ${artifactId}
+ ${version}
+
+ ${groupId}
+ ${artifactId}
+ ${version}
+
+
+
+
+
+
+
+ text
+ library
+
+ ${build.finalName}.war
+
+
+
+
+
\ No newline at end of file
diff --git a/distro/svnpath.txt b/distro/svnpath.txt
new file mode 100644
index 0000000..f416f9d
--- /dev/null
+++ b/distro/svnpath.txt
@@ -0,0 +1 @@
+${scm.url}
diff --git a/pom.xml b/pom.xml
index 0be5748..8204ca7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,15 +1,20 @@
-
- 4.0.0
-
- maven-parent
- org.gcube.tools
- 1.0.0
-
- org.gcube.data.transfer
- uri-resolver
- 1.0.0-SNAPSHOT
- war
-
+
+ 4.0.0
+
+ maven-parent
+ org.gcube.tools
+ 1.0.0
+
+ org.gcube.data.transfer
+ uri-resolver
+ 1.0.0-SNAPSHOT
+ war
+
+
+ distro
+
+
junit
junit
@@ -20,12 +25,14 @@
org.gcube.contentmanagement
storage-manager-wrapper
[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)
+ provided
org.gcube.contentmanagement
storage-manager-core
[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)
+ provided
slf4j-nop
@@ -37,6 +44,7 @@
javax.servlet
javax.servlet-api
3.0.1
+
log4j
@@ -53,5 +61,56 @@
commons-io
1.2
-
+
+
+
+
+
+
+ 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
+
+
+
+
+ servicearchive
+ install
+
+ single
+
+
+
+
+
+
+
\ No newline at end of file