From 58f91b5637921c2ffdc6d426da5e100ed80c6496 Mon Sep 17 00:00:00 2001 From: Andrea Manzi Date: Wed, 17 Apr 2013 12:00:21 +0000 Subject: [PATCH] git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@73533 82a268e6-3cf1-43bd-a215-b396298e98cf --- distro/INSTALL | 1 + distro/LICENSE | 6 +++ distro/MAINTAINERS | 1 + distro/README | 33 +++++++++++++++++ distro/changelog.xml | 5 +++ distro/descriptor.xml | 47 ++++++++++++++++++++++++ distro/profile.xml | 34 +++++++++++++++++ distro/svnpath.txt | 1 + pom.xml | 85 ++++++++++++++++++++++++++++++++++++------- 9 files changed, 200 insertions(+), 13 deletions(-) create mode 100644 distro/INSTALL create mode 100644 distro/LICENSE create mode 100644 distro/MAINTAINERS create mode 100644 distro/README create mode 100644 distro/changelog.xml create mode 100644 distro/descriptor.xml create mode 100644 distro/profile.xml create mode 100644 distro/svnpath.txt 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 + + + + + ${distroDirectory}/profile.xml + ./ + true + + + target/${build.finalName}.jar + /${artifactId} + + + ${distroDirectory}/svnpath.txt + /${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