Timoney, Dan (dt5972) | fe8d3bc | 2019-01-18 16:51:25 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
Soumendu Sekhar Acharya | 929c1f1 | 2018-08-01 17:21:15 +0530 | [diff] [blame] | 4 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 5 | <parent> |
| 6 | <groupId>org.onap.ccsdk.parent</groupId> |
| 7 | <artifactId>spring-boot-1-starter-parent</artifactId> |
Dan Timoney | 7f5c3b3 | 2021-03-19 11:00:40 -0400 | [diff] [blame] | 8 | <version>2.2.0-SNAPSHOT</version> |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 9 | <relativePath/> |
| 10 | </parent> |
Soumendu Sekhar Acharya | 929c1f1 | 2018-08-01 17:21:15 +0530 | [diff] [blame] | 11 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 12 | <groupId>org.onap.sdnc.oam</groupId> |
| 13 | <artifactId>SdncReports</artifactId> |
Hesam Rahimi | 55378e7 | 2021-06-07 20:02:32 +0000 | [diff] [blame^] | 14 | <version>2.2.0-SNAPSHOT</version> |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 15 | <packaging>pom</packaging> |
Soumendu Sekhar Acharya | 929c1f1 | 2018-08-01 17:21:15 +0530 | [diff] [blame] | 16 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 17 | <name>sdnc-oam :: SdncReports</name> |
Timoney, Dan (dt5972) | 42ef3e4 | 2018-09-13 12:11:35 -0400 | [diff] [blame] | 18 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 19 | <modules> |
| 20 | <module>SdncReportsDao</module> |
| 21 | <module>SdncReportsApi</module> |
| 22 | </modules> |
Timoney, Dan (dt5972) | 42ef3e4 | 2018-09-13 12:11:35 -0400 | [diff] [blame] | 23 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 24 | <distributionManagement> |
| 25 | <repository> |
| 26 | <id>ecomp-releases</id> |
| 27 | <url>http://nexus.onap.org/content/repositories/releases</url> |
| 28 | </repository> |
| 29 | <snapshotRepository> |
| 30 | <id>ecomp-snapshots</id> |
| 31 | <url>http://nexus.onap.org/content/repositories/snapshots</url> |
| 32 | </snapshotRepository> |
| 33 | </distributionManagement> |
Soumendu Sekhar Acharya | 929c1f1 | 2018-08-01 17:21:15 +0530 | [diff] [blame] | 34 | |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 35 | <build> |
| 36 | <plugins> |
| 37 | <plugin> |
| 38 | <groupId>org.jacoco</groupId> |
| 39 | <artifactId>jacoco-maven-plugin</artifactId> |
| 40 | <version>0.7.5.201505241946</version> |
| 41 | <executions> |
Singal, Kapil (ks220y) | eef450e | 2020-08-28 10:18:17 -0400 | [diff] [blame] | 42 | <!-- Prepares the property pointing to the JaCoCo runtime agent which |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 43 | is passed as VM argument when Maven the Surefire plugin is executed. --> |
| 44 | <execution> |
| 45 | <id>pre-unit-test</id> |
| 46 | <goals> |
| 47 | <goal>prepare-agent</goal> |
| 48 | </goals> |
| 49 | <configuration> |
| 50 | <!-- Sets the path to the file which contains the execution data. --> |
| 51 | <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> |
Singal, Kapil (ks220y) | eef450e | 2020-08-28 10:18:17 -0400 | [diff] [blame] | 52 | <!-- Sets the name of the property containing the settings for JaCoCo |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 53 | runtime agent. --> |
| 54 | <propertyName>surefireArgLine</propertyName> |
| 55 | </configuration> |
| 56 | </execution> |
Singal, Kapil (ks220y) | eef450e | 2020-08-28 10:18:17 -0400 | [diff] [blame] | 57 | <!-- Ensures that the code coverage report for unit tests is created |
Dan Timoney | f20174d | 2020-08-10 14:09:14 -0400 | [diff] [blame] | 58 | after unit tests have been run. --> |
| 59 | <execution> |
| 60 | <id>post-unit-test</id> |
| 61 | <phase>test</phase> |
| 62 | <goals> |
| 63 | <goal>report</goal> |
| 64 | </goals> |
| 65 | <configuration> |
| 66 | <!-- Sets the path to the file which contains the execution data. --> |
| 67 | <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile> |
| 68 | <!-- Sets the output directory for the code coverage report. --> |
| 69 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 70 | </configuration> |
| 71 | </execution> |
| 72 | </executions> |
| 73 | </plugin> |
| 74 | </plugins> |
| 75 | </build> |
Timoney, Dan (dt5972) | 5cf8aa8 | 2018-09-13 10:31:18 -0400 | [diff] [blame] | 76 | </project> |