org.onap.demo.vnf demo-aggregator 1.5.0-SNAPSHOT ../../../pom.xml http://nexus.fd.io/content #!/bin/sh - STATUS=100 while [ $STATUS -eq 100 ] do %s STATUS=$? echo "Honeycomb exited with status: $STATUS" if [ $STATUS -eq 100 ] then echo "Restarting..." fi done -Xms32m -Xmx128m -XX:MetaspaceSize=32m -XX:MaxMetaspaceSize=128m -client -Xms20m -Xmx32m -XX:MetaspaceSize=5m -XX:MaxMetaspaceSize=32m -XX:MaxMetaspaceExpansion=1m -Xss512k -XX:+UseSerialGC -Djava.compiler=NONE -Xverify:none -noverify -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 4.1.0 1.2.0 1.19.1 9.3.11.v20160721 3.1.0 4.0.0 hc-onap pom ../stream-count/stream-count-api ../stream-count/stream-count-impl ../stream-count/stream-count-distribution ../../vLBMS/apis/vlb-business-vnf-onap-plugin/vlb-business-vnf-onap-plugin-api ../../vLBMS/apis/vlb-business-vnf-onap-plugin/vlb-business-vnf-onap-plugin-impl ../../vLBMS/apis/health-vnf-onap-plugin/health-vnf-onap-plugin-api ../../vLBMS/apis/health-vnf-onap-plugin/health-vnf-onap-plugin-impl ../../vLBMS/apis/vlb-vnf-onap-distribution 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/ cert/ org.apache.maven.plugins maven-dependency-plugin 2.10 copy-dependencies package copy-dependencies ${project.build.directory}/lib true true yang-jmx-generator 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 scriptTemplate = properties.getOrDefault("start.script.template", "") def args = properties.getOrDefault("exec.parameters", "") log.debug "Additional shell exec script properties: ${args}" def javaArgs = "${args} -jar \$(dirname \$0)/${project.artifactId}-${project.version}.jar" def scriptParent = Paths.get(project.build.outputDirectory, "honeycomb-minimal-resources") scriptParent.toFile().mkdirs() def scriptContent = "java " + javaArgs log.info "Generating shell exec script as ${scriptContent}" def scriptPath = Paths.get(scriptParent.toString(), "honeycomb") log.info "Writing shell exec script to ${scriptPath}" scriptPath.toFile().text = String.format(scriptTemplate, scriptContent) scriptPath.toFile().setExecutable(true) scriptPath = Paths.get(scriptParent.toString(), "honeycomb-start") log.info "Writing shell exec script to ${scriptPath}" scriptPath.toFile().text = "\$(dirname \$0)/honeycomb &" scriptPath.toFile().setExecutable(true) def debug_args = properties.getOrDefault("debug.parameters", "") def debugScriptContent = "java" + " ${debug_args} " + javaArgs log.info "Generating shell debug script as ${debugScriptContent}" scriptPath = Paths.get(scriptParent.toString(), "honeycomb-debug") log.info "Writing shell debug script to ${scriptPath}" scriptPath.toFile().text = String.format(scriptTemplate, debugScriptContent) scriptPath.toFile().setExecutable(true) maven-assembly-plugin 2.5.3 io.fd.honeycomb.common minimal-assembly-descriptor 1.18.10 create-archive package single honeycomb-minimal org.codehaus.mojo exec-maven-plugin none true