From d022ca8d078e1731435bf3e69a9a1ff85e7e0c63 Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Thu, 11 Aug 2016 15:37:28 +0200 Subject: HONEYCOMB-21 Vpp-integration minimal distribution Change-Id: I1a44028ae38c3ab70aa3a7b173cd0c81c820378a Signed-off-by: Maros Marsalek --- common/minimal-distribution-parent/pom.xml | 200 +++++++++++++++++++++++++++++ 1 file changed, 200 insertions(+) create mode 100644 common/minimal-distribution-parent/pom.xml (limited to 'common/minimal-distribution-parent') diff --git a/common/minimal-distribution-parent/pom.xml b/common/minimal-distribution-parent/pom.xml new file mode 100644 index 000000000..ac67b7921 --- /dev/null +++ b/common/minimal-distribution-parent/pom.xml @@ -0,0 +1,200 @@ + + + + + + http://nexus.fd.io/content + + -Xms128m -Xmx256m + + 4.1.0 + 1.2.0 + 1.3.2-Beryllium-SR2 + 1.0.2-Beryllium-SR2 + 1.19.1 + 9.3.11.v20160721 + 3.1.0 + 2.4.7 + 0.8.2-Beryllium-SR2 + 1.3.2-Beryllium-SR2 + + 5.0.0 + + + 4.0.0 + io.fd.honeycomb.common + minimal-distribution-parent + 1.0.0-SNAPSHOT + pom + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.3 + + + javac-with-errorprone + true + true + 1.8 + 1.8 + + + + org.codehaus.plexus + plexus-compiler-javac-errorprone + 2.5 + + + + com.google.errorprone + error_prone_core + 2.0.9 + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.6 + + + + ${main.class} + true + lib/ + false + true + + + config/ + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.10 + + + copy-dependencies + package + + copy-dependencies + + + ${project.build.directory}/lib + true + true + + + + unpack-configuration + prepare-package + + unpack-dependencies + + + **/honeycomb-minimal-resources/ + ${project.build.outputDirectory}/ + + + + + + + + org.codehaus.gmaven + groovy-maven-plugin + 2.0 + + + package + + execute + + + + + import java.nio.file.Paths + + log.info "Generating shell exec script" + def args = properties.getOrDefault("exec.parameters", "") + log.debug "Additional shell exec script properties: ${args}" + def scriptContent = "java ${args} -jar \$(dirname \$0)/${project.artifactId}-${project.version}.jar" + log.info "Generating shell exec script as ${scriptContent}" + def scriptParent = Paths.get(project.build.outputDirectory, "honeycomb-minimal-resources") + scriptParent.toFile().mkdirs() + def scriptPath = Paths.get(scriptParent.toString(), "honeycomb.sh") + log.info "Writing shell exec script to ${scriptPath}" + scriptPath.toFile().text = scriptContent + + + + + + + + + maven-assembly-plugin + 2.5.3 + + + io.fd.honeycomb.common + minimal-assembly-descriptor + 1.0.0-SNAPSHOT + + + + + create-archive + package + + single + + + + honeycomb-minimal + + + + + + + + + + + + fdio-release + ${nexusproxy}/repositories/fd.io.release/ + + + fdio-snapshot + ${nexusproxy}/repositories/fd.io.snapshot/ + + + -- cgit 1.2.3-korg