From 77a1397a4d07b70ab9dd35a6ef12f55231fd77d8 Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Thu, 7 Sep 2017 04:06:32 +0000 Subject: Fix pom and mvn script Issue-Id: DCAEGEN2-60 Change-Id: I18134f2e2b2af7a40789ebec0379c4ee8e58370f Signed-off-by: Lusheng Ji --- relationships/pom.xml | 84 +++++++++++++-------------------------------------- relationships/tox.ini | 20 ++++++++++++ 2 files changed, 41 insertions(+), 63 deletions(-) create mode 100644 relationships/tox.ini (limited to 'relationships') diff --git a/relationships/pom.xml b/relationships/pom.xml index e289ab5..2cfbec5 100644 --- a/relationships/pom.xml +++ b/relationships/pom.xml @@ -32,6 +32,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. http://maven.apache.org UTF-8 + true . @@ -121,6 +122,26 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. 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} + + + @@ -155,19 +176,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - ${session.executionRootDirectory}/mvn-phase-script.sh ${project.artifactId} clean - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - @@ -177,19 +189,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - mvn-phase-script.sh ${project.artifactId} generate-sources - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - @@ -199,19 +202,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - mvn-phase-script.sh ${project.artifactId} compile - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - @@ -221,19 +215,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - mvn-phase-script.sh ${project.artifactId} package - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - @@ -243,19 +228,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - mvn-phase-script.sh ${project.artifactId} test - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - @@ -265,19 +241,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - mvn-phase-script.sh ${project.artifactId} install - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - @@ -287,19 +254,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - mvn-phase-script.sh ${project.artifactId} deploy - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - diff --git a/relationships/tox.ini b/relationships/tox.ini new file mode 100644 index 0000000..2e31087 --- /dev/null +++ b/relationships/tox.ini @@ -0,0 +1,20 @@ +[tox] +envlist = py27 +[testenv] +deps= + pytest + uuid==1.30 + cloudify==3.4 + bottle==0.12.7 + cloudify-plugins-common==3.4 + cloudify-rest-client==3.4 + Jinja2==2.7.2 + MarkupSafe==0.23 + networkx==1.8.1 + pika==0.9.14 + proxy-tools==0.1.0 + python-consul==0.6.1 + requests==2.7.0 + requests-toolbelt==0.7.0 + six==1.10.0 +commands=pytest -- cgit 1.2.3-korg