blob: 7ee4c22302cf607e70b84987eb4216ec3f056ef6 [file] [log] [blame]
Dan Timoney6a7f13f2023-06-19 16:05:33 -04001<?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 <parent>
4 <groupId>org.onap.ccsdk.apps</groupId>
5 <artifactId>ccsdk-apps-cadi</artifactId>
6 <version>1.6.0-SNAPSHOT</version>
7 </parent>
8
9 <modelVersion>4.0.0</modelVersion>
10 <name>CCSDK port of CADI Core Framework</name>
11 <artifactId>ccsdk-apps-cadi-core</artifactId>
12 <packaging>jar</packaging>
13
14 <properties>
15 <!-- SONAR -->
16 <jacoco.version>0.7.7.201606060606</jacoco.version>
17 <powermock.version>1.7.4</powermock.version>
18 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
19 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
20 <!-- Default Sonar configuration -->
21 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
22 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
23 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
24 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
25 <nexusproxy>https://nexus.onap.org</nexusproxy>
26 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
27 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
28 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
29 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
30 </properties>
31
32 <dependencies>
33 <dependency>
34 <groupId>jakarta.servlet</groupId>
35 <artifactId>jakarta.servlet-api</artifactId>
36 <scope>provided</scope>
37 </dependency>
38
39 <dependency>
40 <groupId>org.hamcrest</groupId>
41 <artifactId>hamcrest-all</artifactId>
42 <version>1.3</version>
43 <scope>test</scope>
44 </dependency>
45
46 <dependency>
47 <groupId>org.mockito</groupId>
48 <artifactId>mockito-core</artifactId>
49 <scope>test</scope>
50 </dependency>
51
52 <dependency>
53 <groupId>org.powermock</groupId>
54 <artifactId>powermock-module-junit4</artifactId>
55 <version>${powermock.version}</version>
56 <scope>test</scope>
57 </dependency>
58
59 <dependency>
60 <groupId>org.powermock</groupId>
61 <artifactId>powermock-api-mockito</artifactId>
62 <version>${powermock.version}</version>
63 <scope>test</scope>
64 </dependency>
65
66 <dependency>
67 <groupId>junit</groupId>
68 <artifactId>junit</artifactId>
69 <scope>test</scope>
70 </dependency>
71
72 </dependencies>
73 <build>
74 <plugins>
75 <plugin>
76 <groupId>org.jacoco</groupId>
77 <artifactId>jacoco-maven-plugin</artifactId>
78 <configuration>
79 <excludes>
80 <exclude>**/gen/**</exclude>
81 <exclude>**/generated-sources/**</exclude>
82 <exclude>**/yang-gen/**</exclude>
83 <exclude>**/pax/**</exclude>
84 </excludes>
85 </configuration>
86 <executions>
87 <execution>
88 <id>pre-unit-test</id>
89 <goals>
90 <goal>prepare-agent</goal>
91 </goals>
92 <configuration>
93 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
94 <propertyName>surefireArgLine</propertyName>
95 </configuration>
96 </execution>
97 <execution>
98 <id>post-unit-test</id>
99 <phase>test</phase>
100 <goals>
101 <goal>report</goal>
102 </goals>
103 <configuration>
104 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
105 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
106 </configuration>
107 </execution>
108 <execution>
109 <id>pre-integration-test</id>
110 <phase>pre-integration-test</phase>
111 <goals>
112 <goal>prepare-agent</goal>
113 </goals>
114 <configuration>
115 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
116 <propertyName>failsafeArgLine</propertyName>
117 </configuration>
118 </execution>
119 <execution>
120 <id>post-integration-test</id>
121 <phase>post-integration-test</phase>
122 <goals>
123 <goal>report</goal>
124 </goals>
125 <configuration>
126 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
127 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
128 </configuration>
129 </execution>
130 </executions>
131 </plugin>
132 </plugins>
133 </build>
134
135</project>