Use released Honolulu M3 version of CCSDK artifacts
[sdnc/oam.git] / SdncReports / pom.xml
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">
3     <modelVersion>4.0.0</modelVersion>
4
5     <parent>
6         <groupId>org.onap.ccsdk.parent</groupId>
7         <artifactId>spring-boot-1-starter-parent</artifactId>
8         <version>2.1.1</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.sdnc.oam</groupId>
13     <artifactId>SdncReports</artifactId>
14     <version>2.0.1-SNAPSHOT</version>
15     <packaging>pom</packaging>
16
17     <name>sdnc-oam :: SdncReports</name>
18
19     <modules>
20         <module>SdncReportsDao</module>
21         <module>SdncReportsApi</module>
22     </modules>
23
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>
34
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>
42                     <!-- Prepares the property pointing to the JaCoCo runtime agent which
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>
52                             <!-- Sets the name of the property containing the settings for JaCoCo
53                                 runtime agent. -->
54                             <propertyName>surefireArgLine</propertyName>
55                         </configuration>
56                     </execution>
57                     <!-- Ensures that the code coverage report for unit tests is created
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>
76 </project>