diff options
-rw-r--r-- | ResmanagementService/deployment/pom.xml | 29 | ||||
-rw-r--r-- | pom.xml | 32 |
2 files changed, 32 insertions, 29 deletions
diff --git a/ResmanagementService/deployment/pom.xml b/ResmanagementService/deployment/pom.xml index a7c69b4..25bc52f 100644 --- a/ResmanagementService/deployment/pom.xml +++ b/ResmanagementService/deployment/pom.xml @@ -28,12 +28,6 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <sonar.language>java</sonar.language> - <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> - <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> - <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> - <sonar.projectVersion>${project.version}</sonar.projectVersion> - <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> </properties> <build> @@ -120,29 +114,6 @@ </execution> </executions> </plugin> - <plugin> - <groupId>org.jacoco</groupId> - <artifactId>jacoco-maven-plugin</artifactId> - <executions> - <execution> - <id>prepare-agent</id> - <goals> - <goal>prepare-agent</goal> - </goals> - </execution> - <execution> - <id>report</id> - <goals> - <goal>report</goal> - </goals> - <configuration> - <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile> - <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - </plugins> @@ -26,6 +26,15 @@ <version>1.3.0-SNAPSHOT</version> <packaging>pom</packaging> <name>vfc-nfvo-resmanagement</name> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <sonar.language>java</sonar.language> + <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> + <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> + <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> + <sonar.projectVersion>${project.version}</sonar.projectVersion> + <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> + </properties> <description>vfc nfvo resmanagement</description> <modules> <module>ResmanagementService</module> @@ -67,6 +76,29 @@ </instrumentation> </configuration> </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <executions> + <execution> + <id>prepare-agent</id> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>report</id> + <goals> + <goal>report</goal> + </goals> + <configuration> + <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile> + <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + </plugins> </build> |