From efb2229057ed70b0dd46c1e4fdfb8462727cef03 Mon Sep 17 00:00:00 2001 From: liboNet Date: Wed, 20 Mar 2019 03:10:03 +0800 Subject: add submodule support in framework support multi broker and fix sonar.sh issue . add a new module of artifact broker . update framework pom.xml to support submodules . update the multivim broker to align with the case like subplugins under openstack . remove the duplicated sonar.sh Change-Id: Ie41dc07aed9e015208e79aadff204747269af638 Issue-ID: MULTICLOUD-532 Signed-off-by: liboNet --- multivimbroker/pom.xml | 83 +++++++++++++++++++++++++++++++++++++++---------- multivimbroker/sonar.sh | 2 +- 2 files changed, 68 insertions(+), 17 deletions(-) (limited to 'multivimbroker') diff --git a/multivimbroker/pom.xml b/multivimbroker/pom.xml index ef627af..d9da20a 100644 --- a/multivimbroker/pom.xml +++ b/multivimbroker/pom.xml @@ -34,25 +34,76 @@ https://nexus.onap.org + - maven-assembly-plugin - - false - - assembly.xml - - - - - make-assembly - package - - single - - - + org.codehaus.mojo + exec-maven-plugin + 1.1.1 + + ${project.basedir}/sonar.sh + + + ${project.groupId} + ${project.artifactId} + ${project.version} + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.1.1 + + + clean phase script + clean + + exec + + + + __ + clean + + + + + test script + test + + exec + + + + __ + test + + + + + + + maven-assembly-plugin + + false + + assembly.xml + + + + + make-assembly + package + + single + + + + + diff --git a/multivimbroker/sonar.sh b/multivimbroker/sonar.sh index e173d1f..41cc450 100755 --- a/multivimbroker/sonar.sh +++ b/multivimbroker/sonar.sh @@ -56,7 +56,7 @@ run_tox_test() pip install --upgrade pip pip install --upgrade tox argparse pip freeze - cd multivimbroker + cd ${CURDIR} tox -e cover deactivate cd .. -- cgit 1.2.3-korg