From dbae9d31374f7c92954b5d00cc37be46704f5c59 Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Thu, 7 Sep 2017 12:59:00 +0000 Subject: Fix pom for child modules Issue-Id: DCAEGEN2-60 Change-Id: I9be7e10ca53f32f99c116ac730ee3c848bd76489 Signed-off-by: Lusheng Ji --- python-discovery-client/pom.xml | 233 ++++++++++++++++------------------------ 1 file changed, 93 insertions(+), 140 deletions(-) (limited to 'python-discovery-client/pom.xml') diff --git a/python-discovery-client/pom.xml b/python-discovery-client/pom.xml index 2e9699f..bdc9ffd 100644 --- a/python-discovery-client/pom.xml +++ b/python-discovery-client/pom.xml @@ -33,6 +33,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. UTF-8 + true . @@ -48,14 +49,11 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. **/*.js --> - ${project.artifactId}-${project.version} - - org.sonatype.plugins nexus-staging-maven-plugin @@ -73,68 +71,80 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. true - - - - org.apache.maven.plugins - maven-resources-plugin - 2.6 - - true - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - true - - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.4 - - - default-jar - - - - - - - - org.apache.maven.plugins - maven-install-plugin - 2.4 - - true - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.12.4 - - true - - - - + + + org.apache.maven.plugins + maven-resources-plugin + 2.6 + + true + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + true + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + + default-jar + + + + + + + org.apache.maven.plugins + maven-install-plugin + 2.4 + + true + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.12.4 + + true + + + + org.codehaus.mojo + exec-maven-plugin + 1.2.1 + + ${session.executionRootDirectory}/mvn-phase-script.sh + + + ${parent.groupId} + ${parent.artifactId} + ${parent.version} + ${onap.nexus.url} + ${onap.nexus.rawrepo.baseurl.upload} + ${onap.nexus.rawrepo.baseurl.download} + ${onap.nexus.rawrepo.serverid} + ${onap.nexus.dockerregistry.daily} + ${onap.nexus.dockerregistry.release} + + + - - - org.codehaus.mojo @@ -165,147 +173,92 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. clean phase script clean - exec + + exec + - ${session.executionRootDirectory}/mvn-phase-script.sh ${project.artifactId} clean - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - - generate-sources script generate-sources - exec + + exec + - mvn-phase-script.sh ${project.artifactId} generate-sources - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - - compile script compile - exec + + exec + - mvn-phase-script.sh ${project.artifactId} compile - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - - package script package - exec + + exec + - mvn-phase-script.sh ${project.artifactId} package - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - - test script test - exec + + exec + - mvn-phase-script.sh ${project.artifactId} test - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - - install script install - exec + + exec + - mvn-phase-script.sh ${project.artifactId} install - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - - deploy script deploy - exec + + exec + - mvn-phase-script.sh ${project.artifactId} deploy - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - -- cgit 1.2.3-korg