blob: 317de3109fa936fda2013b397c62c1ce5ef80d3b [file] [log] [blame]
Instrumentala20accc2018-03-26 13:49:56 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * ============LICENSE_START====================================================
4 * org.onap.aaf
5 * ===========================================================================
6 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7 * ===========================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END====================================================
20 *
21-->
22<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">
Instrumentale9ae0482019-08-02 14:46:27 -050023 <modelVersion>4.0.0</modelVersion>
24 <parent>
25 <groupId>org.onap.aaf.authz</groupId>
26 <artifactId>parent</artifactId>
John J. Franeydf9bf072020-04-20 16:30:20 -040027 <version>2.1.20</version>
Sai Gandham3a70e912018-04-12 22:16:21 +000028 </parent>
Instrumentale9ae0482019-08-02 14:46:27 -050029 <artifactId>cadiparent</artifactId>
30 <name>AAF CADI Parent (Code, Access, Data, Identity)</name>
31 <inceptionYear>2015-07-20</inceptionYear>
32 <organization>
33 <name>ONAP</name>
34 </organization>
35 <packaging>pom</packaging>
36
37 <properties>
38 <!-- SONAR -->
39 <!-- <sonar.skip>true</sonar.skip> -->
40 <jacoco.version>0.7.7.201606060606</jacoco.version>
41 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
42 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
43 <!-- Default Sonar configuration -->
44 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
45 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
46 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
47 below -->
48 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
49 <nexusproxy>https://nexus.onap.org</nexusproxy>
50 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
51 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
52 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
53 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
54 </properties>
55
Instrumentala20accc2018-03-26 13:49:56 -070056
Instrumentale9ae0482019-08-02 14:46:27 -050057 <!-- ============================================================== -->
58 <!-- Define the major contributors and developers of CADI -->
59 <!-- ============================================================== -->
60 <developers>
61 <developer>
62 <name>Jonathan Gathman</name>
63 <email>jonathan.gathman@att.com</email>
64 <organization>ATT</organization>
65 <roles>
66 <role>Architect</role>
67 <role>Lead Developer</role>
68 </roles>
69 </developer>
70 <developer>
Instrumentale9ae0482019-08-02 14:46:27 -050071 <name>Sai Gandham</name>
72 <email>sai.gandham@att.com</email>
73 <organization>ATT</organization>
74 <roles>
75 <role>Developer</role>
76 </roles>
77 </developer>
78 </developers>
Instrumentala20accc2018-03-26 13:49:56 -070079
80
Instrumentale9ae0482019-08-02 14:46:27 -050081 <dependencies>
82 <dependency>
83 <groupId>org.mockito</groupId>
84 <artifactId>mockito-all</artifactId>
85 <scope>test</scope>
86 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -050087
Instrumentale9ae0482019-08-02 14:46:27 -050088 <dependency>
89 <groupId>org.powermock</groupId>
90 <artifactId>powermock-module-junit4</artifactId>
91 <scope>test</scope>
92 </dependency>
93 <dependency>
94 <groupId>org.powermock</groupId>
95 <artifactId>powermock-api-mockito</artifactId>
96 <scope>test</scope>
97 </dependency>
Instrumentala20accc2018-03-26 13:49:56 -070098
Instrumentale9ae0482019-08-02 14:46:27 -050099 <dependency>
100 <groupId>junit</groupId>
101 <artifactId>junit</artifactId>
102 <scope>test</scope>
103 </dependency>
104 </dependencies>
Instrumentala20accc2018-03-26 13:49:56 -0700105
Instrumentale9ae0482019-08-02 14:46:27 -0500106 <!-- ============================================================== -->
107 <!-- Define sub-projects (modules) -->
108 <!-- ============================================================== -->
109 <modules>
110 <module>core</module>
111 <module>client</module>
112 <module>aaf</module>
113 <module>oauth-enduser</module>
114 <module>servlet-sample</module>
115 </modules>
Instrumentala20accc2018-03-26 13:49:56 -0700116
Instrumentala20accc2018-03-26 13:49:56 -0700117
Instrumentale9ae0482019-08-02 14:46:27 -0500118 <!-- ============================================================== -->
119 <!-- Define common plugins and make them available for all modules -->
120 <!-- ============================================================== -->
121 <build>
122 <testSourceDirectory>src/test/java</testSourceDirectory>
123 <plugins>
124 </plugins>
125 <pluginManagement>
126 <plugins>
127 <plugin>
128 <inherited>true</inherited>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-compiler-plugin</artifactId>
131 <version>2.3.2</version>
132 <configuration>
133 <source>1.7</source>
134 <target>1.7</target>
135 </configuration>
136 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500137
Instrumentale9ae0482019-08-02 14:46:27 -0500138 <plugin>
139 <groupId>org.apache.maven.plugins</groupId>
140 <version>2.4</version>
141 <artifactId>maven-jar-plugin</artifactId>
142 <configuration>
143 <outputDirectory>target</outputDirectory>
144 <archive>
145 <manifestEntries>
146 <Sealed>true</Sealed>
147 </manifestEntries>
148 </archive>
149 </configuration>
150 </plugin>
Instrumentala20accc2018-03-26 13:49:56 -0700151
Instrumentale9ae0482019-08-02 14:46:27 -0500152 <!-- Define the javadoc plugin -->
153 <plugin>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-javadoc-plugin</artifactId>
156 <version>2.10</version>
157 <configuration>
158 <excludePackageNames>org.opendaylight.*</excludePackageNames>
159 </configuration>
160 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500161
Instrumentale9ae0482019-08-02 14:46:27 -0500162 <plugin>
163 <artifactId>maven-release-plugin</artifactId>
164 <version>2.5.2</version>
165 <configuration>
166 <goals>-s ${mvn.settings} deploy</goals>
167 </configuration>
168 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500169
Instrumentale9ae0482019-08-02 14:46:27 -0500170 <plugin>
171 <artifactId>maven-assembly-plugin</artifactId>
172 <version>2.5.5</version>
173 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500174
Instrumentale9ae0482019-08-02 14:46:27 -0500175 <plugin>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-deploy-plugin</artifactId>
178 <version>2.8.1</version>
179 <configuration>
180 <skip>false</skip>
181 </configuration>
IanHowell3901cf82018-04-03 11:24:27 -0500182
Instrumentale9ae0482019-08-02 14:46:27 -0500183 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500184
Instrumentale9ae0482019-08-02 14:46:27 -0500185 <plugin>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-dependency-plugin</artifactId>
188 <version>2.10</version>
189 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500190
Instrumentale9ae0482019-08-02 14:46:27 -0500191 <!-- Maven surefire plugin for testing -->
192 <plugin>
193 <artifactId>maven-surefire-plugin</artifactId>
194 <version>2.17</version>
195 <configuration>
196 <skipTests>false</skipTests>
197 <includes>
198 <include>**/JU*.java</include>
199 </includes>
200 <excludes>
201 </excludes>
202 <useSystemClassLoader>false</useSystemClassLoader>
203 </configuration>
204 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500205
Instrumentale9ae0482019-08-02 14:46:27 -0500206 <!--This plugin's configuration is used to store Eclipse m2e settings
207 only. It has no influence on the Maven build itself. -->
208 <plugin>
209 <groupId>org.eclipse.m2e</groupId>
210 <artifactId>lifecycle-mapping</artifactId>
211 <version>1.0.0</version>
212 <configuration>
213 <lifecycleMappingMetadata>
214 <pluginExecutions>
215 <pluginExecution>
216 <pluginExecutionFilter>
217 <groupId>
218 org.codehaus.mojo
219 </groupId>
220 <artifactId>
221 jaxb2-maven-plugin
222 </artifactId>
223 <versionRange>
224 [1.3,)
225 </versionRange>
226 <goals>
227 <goal>xjc</goal>
228 </goals>
229 </pluginExecutionFilter>
230 <action>
231 <ignore />
232 </action>
233 </pluginExecution>
234 </pluginExecutions>
235 </lifecycleMappingMetadata>
236 </configuration>
237 </plugin>
238 <plugin>
239 <groupId>org.jacoco</groupId>
240 <artifactId>jacoco-maven-plugin</artifactId>
241 <version>${jacoco.version}</version>
242 <configuration>
243 <excludes>
244 <exclude>**/gen/**</exclude>
245 <exclude>**/generated-sources/**</exclude>
246 <exclude>**/yang-gen/**</exclude>
247 <exclude>**/pax/**</exclude>
248 </excludes>
249 </configuration>
250 <executions>
251 <execution>
252 <id>pre-unit-test</id>
253 <goals>
254 <goal>prepare-agent</goal>
255 </goals>
256 <configuration>
257 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
258 <propertyName>surefireArgLine</propertyName>
259 </configuration>
260 </execution>
261 <execution>
262 <id>post-unit-test</id>
263 <phase>test</phase>
264 <goals>
265 <goal>report</goal>
266 </goals>
267 <configuration>
268 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
269 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
270 </configuration>
271 </execution>
272 <execution>
273 <id>pre-integration-test</id>
274 <phase>pre-integration-test</phase>
275 <goals>
276 <goal>prepare-agent</goal>
277 </goals>
278 <configuration>
279 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
280 <propertyName>failsafeArgLine</propertyName>
281 </configuration>
282 </execution>
283 <execution>
284 <id>post-integration-test</id>
285 <phase>post-integration-test</phase>
286 <goals>
287 <goal>report</goal>
288 </goals>
289 <configuration>
290 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
291 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
292 </configuration>
293 </execution>
294 </executions>
295 </plugin>
296 </plugins>
297 </pluginManagement>
298 </build>
Instrumentala20accc2018-03-26 13:49:56 -0700299
Instrumentale9ae0482019-08-02 14:46:27 -0500300 <distributionManagement>
301 <repository>
302 <id>ecomp-releases</id>
303 <name>AAF Release Repository</name>
304 <url>${nexusproxy}${releaseNexusPath}</url>
305 </repository>
306 <snapshotRepository>
307 <id>ecomp-snapshots</id>
308 <name>AAF Snapshot Repository</name>
309 <url>${nexusproxy}${snapshotNexusPath}</url>
310 </snapshotRepository>
311 <site>
312 <id>ecomp-site</id>
313 <url>dav:${nexusproxy}${sitePath}</url>
314 </site>
315 </distributionManagement>
IanHowell3901cf82018-04-03 11:24:27 -0500316
Instrumentala20accc2018-03-26 13:49:56 -0700317</project>