Merge "Allow YANG sub directories"
[sdnc/oam.git] / SdncReports / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4         <modelVersion>4.0.0</modelVersion>
5
6
7         <groupId>org.onap.sdnc.oam</groupId>
8         <artifactId>SdncReports</artifactId>
9         <version>1.4.1-SNAPSHOT</version>
10         <packaging>pom</packaging>
11
12         <name>sdnc-oam :: SdncReports</name>
13
14         <parent>
15                 <groupId>org.onap.ccsdk.parent</groupId>
16                 <artifactId>spring-boot-1-starter-parent</artifactId>
17                 <version>1.1.1-SNAPSHOT</version>
18         </parent>
19         <distributionManagement>
20                 <repository>
21                         <id>ecomp-releases</id>
22                         <url>http://nexus.onap.org/content/repositories/releases</url>
23                 </repository>
24                 <snapshotRepository>
25                         <id>ecomp-snapshots</id>
26                         <url>http://nexus.onap.org/content/repositories/snapshots</url>
27                 </snapshotRepository>
28         </distributionManagement>
29
30         <modules>
31                 <module>SdncReportsDao</module>
32                 <module>SdncReportsApi</module>
33         </modules>
34
35         <build>
36
37                 <plugins>
38                         <plugin>
39                                 <groupId>org.jacoco</groupId>
40                                 <artifactId>jacoco-maven-plugin</artifactId>
41                                 <version>0.7.5.201505241946</version>
42                                 <executions>
43                                         <!-- Prepares the property pointing to the JaCoCo runtime agent which 
44                                                 is passed as VM argument when Maven the Surefire plugin is executed. -->
45                                         <execution>
46                                                 <id>pre-unit-test</id>
47                                                 <goals>
48                                                         <goal>prepare-agent</goal>
49                                                 </goals>
50                                                 <configuration>
51                                                         <!-- Sets the path to the file which contains the execution data. -->
52                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
53                                                         <!-- Sets the name of the property containing the settings for JaCoCo 
54                                                                 runtime agent. -->
55                                                         <propertyName>surefireArgLine</propertyName>
56                                                 </configuration>
57                                         </execution>
58                                         <!-- Ensures that the code coverage report for unit tests is created 
59                                                 after unit tests have been run. -->
60                                         <execution>
61                                                 <id>post-unit-test</id>
62                                                 <phase>test</phase>
63                                                 <goals>
64                                                         <goal>report</goal>
65                                                 </goals>
66                                                 <configuration>
67                                                         <!-- Sets the path to the file which contains the execution data. -->
68                                                         <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
69                                                         <!-- Sets the output directory for the code coverage report. -->
70                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
71                                                 </configuration>
72                                         </execution>
73                                 </executions>
74                         </plugin>
75                 </plugins>
76         </build>
77
78 </project>