From 5decf255d6f23abfdfe783657dd56900f5758c64 Mon Sep 17 00:00:00 2001 From: Alexis de Talhouët Date: Thu, 3 Jan 2019 16:53:40 -0500 Subject: Add Sonar Kotlin support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rework parent pom so configuration can be inherited for all modules from root ccsdk-apps/pom.xml. Also updated some pom description so it is better presented within Sonar. These commands can be used locally to publish report to Sonar: mvn clean install -e -Dsonar mvn sonar:sonar -e -Dsonar -Dsonar.host.url=https://sonar.onap.org Note: kotlin code coverage is not fully functional due to https://github.com/jacoco/jacoco/issues/763 That issue has been fixed in jacoco master branch, but hasn't been released. Once released, in version 0.8.3, we can override version of jacoco plugin for ccsdk-apps. Change-Id: Ic382a4d0df9d14a82536993d2dfa55d7f105f951 Issue-ID: CCSDK-725 Signed-off-by: Alexis de Talhouët --- components/parent/pom.xml | 2 +- components/pom.xml | 3 +-- ms/blueprintsprocessor/functions/pom.xml | 4 ++-- ms/blueprintsprocessor/modules/pom.xml | 2 +- ms/blueprintsprocessor/pom.xml | 6 +++--- ms/controllerblueprints/pom.xml | 1 - ms/neng/pom.xml | 1 + ms/pom.xml | 10 ++++------ ms/vlantag-api/pom.xml | 2 +- pom.xml | 30 +++++++++++++++++++++++++++++- 10 files changed, 43 insertions(+), 18 deletions(-) diff --git a/components/parent/pom.xml b/components/parent/pom.xml index 1330279e..2307a0dc 100644 --- a/components/parent/pom.xml +++ b/components/parent/pom.xml @@ -26,7 +26,7 @@ org.onap.ccsdk.apps.components parent - App Components Parent + Components Parent pom 2.1.1.RELEASE diff --git a/components/pom.xml b/components/pom.xml index 181a7810..6a2aa31d 100644 --- a/components/pom.xml +++ b/components/pom.xml @@ -23,9 +23,8 @@ 0.4.0-SNAPSHOT 4.0.0 - org.onap.ccsdk.apps components - App Components Root + Components Root pom UTF-8 diff --git a/ms/blueprintsprocessor/functions/pom.xml b/ms/blueprintsprocessor/functions/pom.xml index e4f8c844..6a560be2 100644 --- a/ms/blueprintsprocessor/functions/pom.xml +++ b/ms/blueprintsprocessor/functions/pom.xml @@ -27,8 +27,8 @@ 4.0.0 pom functions - Blueprints Processor Functions POM - Blueprints Processor Functions POM + Blueprints Processor Functions + Blueprints Processor Functions resource-resolution python-executor diff --git a/ms/blueprintsprocessor/modules/pom.xml b/ms/blueprintsprocessor/modules/pom.xml index 0230cd7e..f0de54f5 100644 --- a/ms/blueprintsprocessor/modules/pom.xml +++ b/ms/blueprintsprocessor/modules/pom.xml @@ -28,7 +28,7 @@ modules pom - Blueprints Processor Modules POM + Blueprints Processor Modules Blueprints Processor Modules diff --git a/ms/blueprintsprocessor/pom.xml b/ms/blueprintsprocessor/pom.xml index 4e119b77..c6840b4a 100644 --- a/ms/blueprintsprocessor/pom.xml +++ b/ms/blueprintsprocessor/pom.xml @@ -20,13 +20,13 @@ 4.0.0 org.onap.ccsdk.apps - ccsdk-apps + ccsdk-apps-ms 0.4.0-SNAPSHOT blueprintsprocessor pom - Blueprints Processor POM - Blueprints Processor POM + Blueprints Processor Root + Blueprints Processor Root BlueprintsProcessor diff --git a/ms/controllerblueprints/pom.xml b/ms/controllerblueprints/pom.xml index 4517f3f3..aeff4db9 100644 --- a/ms/controllerblueprints/pom.xml +++ b/ms/controllerblueprints/pom.xml @@ -23,7 +23,6 @@ 0.4.0-SNAPSHOT 4.0.0 - org.onap.ccsdk.apps controllerblueprints Controller Blueprints Root 0.4.0-SNAPSHOT diff --git a/ms/neng/pom.xml b/ms/neng/pom.xml index b212ebeb..16681591 100644 --- a/ms/neng/pom.xml +++ b/ms/neng/pom.xml @@ -25,6 +25,7 @@ org.onap.ccsdk.apps ccsdk-apps-ms-neng 0.4.0-SNAPSHOT + Naming Generation ${basedir}/target/classes/META-INF/resources/swagger diff --git a/ms/pom.xml b/ms/pom.xml index 9a80e6f5..368e91e8 100644 --- a/ms/pom.xml +++ b/ms/pom.xml @@ -24,18 +24,16 @@ 4.0.0 - org.onap.ccsdk.parent - odlparent-lite - 1.2.0-SNAPSHOT - + org.onap.ccsdk.apps + ccsdk-apps + 0.4.0-SNAPSHOT - org.onap.ccsdk.apps ccsdk-apps-ms 0.4.0-SNAPSHOT pom - ccsdk-apps-ms + Micro-services Root Micro-services diff --git a/ms/vlantag-api/pom.xml b/ms/vlantag-api/pom.xml index de5e97a7..402772ac 100644 --- a/ms/vlantag-api/pom.xml +++ b/ms/vlantag-api/pom.xml @@ -9,7 +9,7 @@ 0.4.0-SNAPSHOT jar - vlantag-api + Vlantag API Vlantag Api Service for Vlantag management of VNFs diff --git a/pom.xml b/pom.xml index 911d8410..d6dc5c03 100755 --- a/pom.xml +++ b/pom.xml @@ -21,18 +21,45 @@ ONAP + + + + + src/main + + src/test + + **/*.java,**/*.kt + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml + + components ms + + + + org.jacoco + jacoco-maven-plugin + + ${jacoco.version} + + + + scm:git:ssh://git@${onap.git.host}/apps.git scm:git:ssh://${onap.git.host}:${onap.git.port}/${onap.git.project}/apps.git ${onap.git.protocol}://${onap.git.host}/projects/${onap.git.project}/repos/apps/browse - blackduck @@ -71,4 +98,5 @@ + -- cgit 1.2.3-korg