From 08e110471b550e64dca66ef46745949a98d982a4 Mon Sep 17 00:00:00 2001 From: sg481n Date: Fri, 29 Sep 2017 12:33:53 +0000 Subject: Improve aaf sonar code coverage Issue-id: AAF-79 Change-Id: I36081744a2b97942f41517502d12256e2ed44312 Signed-off-by: sg481n --- authz-batch/pom.xml | 6 +++++- authz-cass/pom.xml | 5 ++++- authz-certman/pom.xml | 5 ++++- authz-client/pom.xml | 6 +++++- authz-cmd/pom.xml | 6 +++++- authz-core/pom.xml | 5 ++++- authz-defOrg/pom.xml | 6 +++++- authz-fs/pom.xml | 6 +++++- authz-gui/pom.xml | 6 +++++- authz-gw/pom.xml | 6 +++++- authz-service/pom.xml | 8 ++++++-- authz-test/pom.xml | 8 ++++++-- pom.xml | 7 ++++++- 13 files changed, 65 insertions(+), 15 deletions(-) diff --git a/authz-batch/pom.xml b/authz-batch/pom.xml index 89af59bd..af456a33 100644 --- a/authz-batch/pom.xml +++ b/authz-batch/pom.xml @@ -34,6 +34,7 @@ + false 1 1.0.0-SNAPSHOT 1.0.0-SNAPSHOT @@ -46,7 +47,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - false + true ${project.version} https://nexus.onap.org /content/repositories/snapshots/ @@ -219,6 +220,9 @@ 0.7.7.201606060606 true + + org.onap.aaf.* + diff --git a/authz-cass/pom.xml b/authz-cass/pom.xml index 0a2494d2..7c99385e 100644 --- a/authz-cass/pom.xml +++ b/authz-cass/pom.xml @@ -58,7 +58,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - false + true ${project.version} https://nexus.onap.org /content/repositories/snapshots/ @@ -167,6 +167,9 @@ 0.7.7.201606060606 true + + org.onap.aaf.* + diff --git a/authz-certman/pom.xml b/authz-certman/pom.xml index 9443cb12..1473a1c8 100644 --- a/authz-certman/pom.xml +++ b/authz-certman/pom.xml @@ -60,7 +60,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - false + true ${project.version} https://nexus.onap.org /content/repositories/snapshots/ @@ -165,6 +165,9 @@ 0.7.7.201606060606 true + + org.onap.aaf.* + diff --git a/authz-client/pom.xml b/authz-client/pom.xml index ae69cb63..6e822e00 100644 --- a/authz-client/pom.xml +++ b/authz-client/pom.xml @@ -60,13 +60,14 @@ UTF-8 /opt/app/aft/${project.artifactId}/${project.version} + true 1.0.0-SNAPSHOT java jacoco ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - false + true ${project.version} https://nexus.onap.org /content/repositories/snapshots/ @@ -195,6 +196,9 @@ 0.7.7.201606060606 true + + org.onap.aaf.* + diff --git a/authz-cmd/pom.xml b/authz-cmd/pom.xml index a9d5812a..23066374 100644 --- a/authz-cmd/pom.xml +++ b/authz-cmd/pom.xml @@ -52,6 +52,7 @@ + false 21 1.0.0-SNAPSHOT java @@ -59,7 +60,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - false + true ${project.version} https://nexus.onap.org /content/repositories/snapshots/ @@ -171,6 +172,9 @@ 0.7.7.201606060606 true + + org.onap.aaf.* + diff --git a/authz-core/pom.xml b/authz-core/pom.xml index 9d55163b..ef361b48 100644 --- a/authz-core/pom.xml +++ b/authz-core/pom.xml @@ -58,7 +58,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - false + true ${project.version} https://nexus.onap.org /content/repositories/snapshots/ @@ -156,6 +156,9 @@ 0.7.7.201606060606 true + + org.onap.aaf.* + diff --git a/authz-defOrg/pom.xml b/authz-defOrg/pom.xml index 7d5c92b5..86bd4b25 100644 --- a/authz-defOrg/pom.xml +++ b/authz-defOrg/pom.xml @@ -52,6 +52,7 @@ + false 0 1.0.0-SNAPSHOT 1.0.0-SNAPSHOT @@ -60,7 +61,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - false + true ${project.version} https://nexus.onap.org /content/repositories/snapshots/ @@ -125,6 +126,9 @@ 0.7.7.201606060606 true + + org.onap.aaf.* + diff --git a/authz-fs/pom.xml b/authz-fs/pom.xml index 3486b4be..14d0997b 100644 --- a/authz-fs/pom.xml +++ b/authz-fs/pom.xml @@ -51,6 +51,7 @@ + true 9 1.0.0-SNAPSHOT 1.0.0-SNAPSHOT @@ -59,7 +60,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - false + true ${project.version} https://nexus.onap.org /content/repositories/snapshots/ @@ -147,6 +148,9 @@ 0.7.7.201606060606 true + + org.onap.aaf.* + diff --git a/authz-gui/pom.xml b/authz-gui/pom.xml index 6e15c179..0aee3c60 100644 --- a/authz-gui/pom.xml +++ b/authz-gui/pom.xml @@ -34,6 +34,7 @@ + true 28 UTF-8 false @@ -46,7 +47,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - false + true ${project.version} https://nexus.onap.org /content/repositories/snapshots/ @@ -213,6 +214,9 @@ 0.7.7.201606060606 true + + org.onap.aaf.* + diff --git a/authz-gw/pom.xml b/authz-gw/pom.xml index 7d74359c..64f9ab5e 100644 --- a/authz-gw/pom.xml +++ b/authz-gw/pom.xml @@ -51,6 +51,7 @@ + true 30 1.0.0-SNAPSHOT 1.0.0-SNAPSHOT @@ -59,7 +60,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - false + true ${project.version} https://nexus.onap.org /content/repositories/snapshots/ @@ -157,6 +158,9 @@ 0.7.7.201606060606 true + + org.onap.aaf.* + diff --git a/authz-service/pom.xml b/authz-service/pom.xml index c389525f..507f2b4f 100644 --- a/authz-service/pom.xml +++ b/authz-service/pom.xml @@ -52,7 +52,8 @@ yyyy.MM.dd'T'hh.mm.ss'Z' - 1 + true + 1 1.0.0-SNAPSHOT 1.0.0-SNAPSHOT ${basedir}/target/ @@ -62,7 +63,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - false + true ${project.version} https://nexus.onap.org localhost:5000 @@ -495,6 +496,9 @@ 0.7.7.201606060606 true + + org.onap.aaf.* + diff --git a/authz-test/pom.xml b/authz-test/pom.xml index e73cb341..17cb314f 100644 --- a/authz-test/pom.xml +++ b/authz-test/pom.xml @@ -53,6 +53,7 @@ + false 0 1.0.0-SNAPSHOT 1.0.0-SNAPSHOT @@ -61,7 +62,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - false + true ${project.version} https://nexus.onap.org /content/repositories/snapshots/ @@ -133,7 +134,7 @@ org.apache.maven.plugins maven-surefire-plugin - + **/AAFJUnitTest.java @@ -187,6 +188,9 @@ 0.7.7.201606060606 true + + org.onap.aaf.* + diff --git a/pom.xml b/pom.xml index 6aa23537..33d432e7 100644 --- a/pom.xml +++ b/pom.xml @@ -58,6 +58,7 @@ UTF-8 + false 1.0.0-SNAPSHOT 1.0.0-SNAPSHOT 1.0.0-SNAPSHOT @@ -67,7 +68,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - false + true ${project.version} https://nexus.onap.org /content/repositories/snapshots/ @@ -94,6 +95,7 @@ maven-surefire-plugin 2.17 + ${skipTests} **/JU*.java @@ -263,6 +265,9 @@ 0.7.7.201606060606 true + + org.onap.aaf.* + -- cgit 1.2.3-korg