X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=pom.xml;h=02fcc8cb7127aeaaa3e51f8bbc7386bef6859bac;hb=23634dba70b166ad3c79b5eadfbd32b5375d44be;hp=06af5a436613fe0bd182ba074cec62f9011447ac;hpb=4ba6a0f20a190030700917a6065a6779ca9d308f;p=portal.git diff --git a/pom.xml b/pom.xml index 06af5a43..02fcc8cb 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,22 @@ ecompportal-parent-project 0 pom - portal + portal + + java + jacoco + true + ${project.build.directory}/surefire-reports + ${project.basedir}/target/jacoco.exec + ${project.basedir}/target/it-jacoco.exec + true + ${project.version} + true + ${project.basedir} + **/scripts/**/*,**.js + **/test/**/*,**/tests/**/* + . + @@ -15,22 +30,103 @@ ecomp-portal-BE-common ecomp-portal-BE-os - ecomp-portal-BE-common-test + ecomp-portal-FE-os ecomp-portal-widget-ms + + + + maven-compiler-plugin + 3.1 + + 1.8 + 1.8 + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.0.2 + + + - - - org.apache.maven.plugins - maven-deploy-plugin - 2.8 - - true - - - - - + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8 + + true + + + + org.jacoco + jacoco-maven-plugin + 0.7.6.201602180812 + True + + + + prepare-agent + + prepare-agent + + + ${sonar.jacoco.reportPath} + + + + report + + report + + + ${sonar.jacoco.reportPath} + ${project.basedir}/target/site/jacoco + + + + + report-integration + + report-integration + + + ${sonar.jacoco.itReportPath} + ${project.basedir}/target/site/it-jacoco + + + + default-instrument + + instrument + + + ${skipTests} + + + + default-restore-instrumented-classes + + restore-instrumented-classes + + + ${skipTests} + + + + + + + + + org.jacoco + jacoco-maven-plugin + 0.7.6.201602180812 + + + \ No newline at end of file