diff --git a/distro/LICENSE b/distro/LICENSE index cdf50bd..2d9616a 100644 --- a/distro/LICENSE +++ b/distro/LICENSE @@ -1,4 +1 @@ -gCube System - License ------------------------------------------------------------- - ${gcube.license} \ No newline at end of file diff --git a/distro/descriptor.xml b/distro/descriptor.xml index c5e5f83..ba2c192 100644 --- a/distro/descriptor.xml +++ b/distro/descriptor.xml @@ -24,7 +24,7 @@ - target${file.separator}${build.finalName}.jar + target${file.separator}${build.finalName}.${project.packaging} ${file.separator}${artifactId} diff --git a/distro/profile.xml b/distro/profile.xml index 89d379a..3a51bef 100644 --- a/distro/profile.xml +++ b/distro/profile.xml @@ -4,13 +4,13 @@ Plugin - {description} + ${description} ${serviceClass} ${artifactId} 1.0.0 - {description} + ${description} ${artifactId} ${version} diff --git a/pom.xml b/pom.xml index 5667c5f..f986251 100644 --- a/pom.xml +++ b/pom.xml @@ -31,7 +31,7 @@ LATEST pom import - + @@ -58,10 +58,10 @@ provided - org.gcube.core - common-encryption - provided - + org.gcube.core + common-encryption + provided + @@ -96,15 +96,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