blob: bd4f3a2be8081eccf7996f7d4e86e6247ef1cfcd [file] [log] [blame]
Instrumental7e97d0c2018-10-03 08:59:30 -05001<!--* ============LICENSE_START====================================================
2 * ===========================================================================
3 * org.onap.aaf
4 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
5 * ===========================================================================
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 * ============LICENSE_END====================================================
18 * -->
Instrumental9f52db12018-08-31 09:53:21 -050019<project xmlns="http://maven.apache.org/POM/4.0.0"
Instrumental7e97d0c2018-10-03 08:59:30 -050020 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22 <modelVersion>4.0.0</modelVersion>
23 <groupId>org.onap.aaf.authz</groupId>
24 <artifactId>parent</artifactId>
John J. Franey9f2d11a2020-05-07 13:37:41 -040025 <version>2.7.0-SNAPSHOT</version>
Instrumental7e97d0c2018-10-03 08:59:30 -050026 <name>aaf-authz</name>
27 <packaging>pom</packaging>
IanHowell3901cf82018-04-03 11:24:27 -050028
Instrumental7e97d0c2018-10-03 08:59:30 -050029 <parent>
30 <groupId>org.onap.oparent</groupId>
31 <artifactId>oparent</artifactId>
Instrumentalbe1edcb2020-01-24 14:47:48 -060032 <!-- Official Released Version
Instrumental0a15ed82020-01-28 15:54:01 -060033 <version>2.1.0</version>
Instrumental4d0a0452019-11-14 12:14:16 -060034
35 Frankfurt working Version
Instrumentalbe1edcb2020-01-24 14:47:48 -060036 -->
John J. Franey1e8a6d72020-03-12 14:02:20 -040037 <version>3.0.1</version>
Instrumental7e97d0c2018-10-03 08:59:30 -050038 </parent>
IanHowell3901cf82018-04-03 11:24:27 -050039
Instrumental7e97d0c2018-10-03 08:59:30 -050040 <properties>
41 <nexusproxy>https://nexus.onap.org</nexusproxy>
42 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
43 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
44 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
45 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
46 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
IanHowell3901cf82018-04-03 11:24:27 -050047
Instrumental7e97d0c2018-10-03 08:59:30 -050048 <maven.test.failure.ignore>false</maven.test.failure.ignore>
Instrumental7e97d0c2018-10-03 08:59:30 -050049 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
50 below -->
51 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
52 <nexusproxy>https://nexus.onap.org</nexusproxy>
53 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
54 <powermock.version>1.5.1</powermock.version>
55 <mockito.version>1.9.5</mockito.version>
56 <project.interfaceVersion>${project.version}</project.interfaceVersion>
Instrumental83d5e012020-02-18 09:27:31 -060057 <project.jettyVersion>9.4.12.v20180830</project.jettyVersion>
Instrumental0a15ed82020-01-28 15:54:01 -060058 <!--
Instrumental83d5e012020-02-18 09:27:31 -060059 This version needs work.
60 <project.jettyVersion>9.4.17.v20190418</project.jettyVersion>
Instrumental0a15ed82020-01-28 15:54:01 -060061 This version requires changes in how to start Jetty
62 <project.jettyVersion>9.4.26.v20200117</project.jettyVersion>
63 -->
Instrumental83d5e012020-02-18 09:27:31 -060064
Instrumental7e97d0c2018-10-03 08:59:30 -050065 <project.cassVersion>3.6.0</project.cassVersion>
Instrumental4d0a0452019-11-14 12:14:16 -060066 <project.jaxbVersion>2.3.1</project.jaxbVersion>
67 <project.glassfishJaxbVersion>3.0-b71</project.glassfishJaxbVersion>
Instrumental7e97d0c2018-10-03 08:59:30 -050068 </properties>
69 <build>
70 <plugins>
71 <plugin>
Instrumental7e97d0c2018-10-03 08:59:30 -050072 <groupId>org.sonarsource.scanner.maven</groupId>
73 <artifactId>sonar-maven-plugin</artifactId>
74 </plugin>
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>
IanHowell3901cf82018-04-03 11:24:27 -0500132
Instrumentale9ae0482019-08-02 14:46:27 -0500133
Instrumental7e97d0c2018-10-03 08:59:30 -0500134 </plugins>
135 </build>
136 <modules>
137 <module>auth-client</module>
138 <module>misc</module>
139 <module>cadi</module>
140 <module>auth</module>
141 </modules>
Sai Gandhame01703c2018-03-26 22:57:09 +0000142
Instrumental7e97d0c2018-10-03 08:59:30 -0500143 <dependencyManagement>
144 <dependencies>
145 <dependency>
146 <groupId>org.onap.aaf.authz</groupId>
147 <artifactId>aaf-misc-env</artifactId>
148 <version>${project.version}</version>
149 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500150
Instrumental7e97d0c2018-10-03 08:59:30 -0500151 <dependency>
152 <groupId>org.onap.aaf.authz</groupId>
153 <artifactId>aaf-misc-log4j</artifactId>
154 <version>${project.version}</version>
155 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500156
Instrumental7e97d0c2018-10-03 08:59:30 -0500157 <dependency>
158 <groupId>org.onap.aaf.authz</groupId>
159 <artifactId>aaf-misc-rosetta</artifactId>
160 <version>${project.version}</version>
161 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500162
Instrumental7e97d0c2018-10-03 08:59:30 -0500163 <dependency>
164 <groupId>org.onap.aaf.authz</groupId>
165 <artifactId>aaf-misc-xgen</artifactId>
166 <version>${project.version}</version>
167 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500168
Instrumental7e97d0c2018-10-03 08:59:30 -0500169 <dependency>
170 <groupId>org.onap.aaf.authz</groupId>
171 <artifactId>aaf-auth-client</artifactId>
172 <version>${project.version}</version>
173 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500174
Instrumental7e97d0c2018-10-03 08:59:30 -0500175 <dependency>
176 <groupId>org.onap.aaf.authz</groupId>
177 <artifactId>aaf-auth-core</artifactId>
178 <version>${project.version}</version>
179 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500180
Instrumental7e97d0c2018-10-03 08:59:30 -0500181 <dependency>
182 <groupId>org.onap.aaf.authz</groupId>
183 <artifactId>aaf-auth-cass</artifactId>
184 <version>${project.version}</version>
185 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500186
Instrumental7e97d0c2018-10-03 08:59:30 -0500187 <dependency>
188 <groupId>org.onap.aaf.authz</groupId>
189 <artifactId>aaf-auth-cmd</artifactId>
190 <version>${project.version}</version>
191 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500192
Instrumental7e97d0c2018-10-03 08:59:30 -0500193 <dependency>
194 <groupId>org.onap.aaf.authz</groupId>
195 <artifactId>aaf-auth-oauth</artifactId>
196 <version>${project.version}</version>
197 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500198
Instrumental7e97d0c2018-10-03 08:59:30 -0500199 <dependency>
200 <groupId>org.onap.aaf.authz</groupId>
201 <artifactId>aaf-auth-deforg</artifactId>
202 <version>${project.version}</version>
203 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500204
Instrumental7e97d0c2018-10-03 08:59:30 -0500205 <dependency>
206 <groupId>org.onap.aaf.authz</groupId>
207 <artifactId>aaf-cadi-core</artifactId>
208 <version>${project.version}</version>
209 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500210
Instrumental7e97d0c2018-10-03 08:59:30 -0500211 <dependency>
212 <groupId>org.onap.aaf.authz</groupId>
213 <artifactId>aaf-cadi-client</artifactId>
214 <version>${project.version}</version>
215 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500216
Instrumental7e97d0c2018-10-03 08:59:30 -0500217 <dependency>
218 <groupId>org.onap.aaf.authz</groupId>
219 <artifactId>aaf-cadi-aaf</artifactId>
220 <version>${project.version}</version>
221 <exclusions>
222 <exclusion>
223 <groupId>org.apache.cassandra</groupId>
224 <artifactId>cassandra-all</artifactId>
225 </exclusion>
226 </exclusions>
227 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500228
Instrumental7e97d0c2018-10-03 08:59:30 -0500229 <dependency>
230 <groupId>org.onap.aaf.authz</groupId>
231 <artifactId>aaf-cadi-jetty</artifactId>
232 <version>${project.version}</version>
233 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500234
Instrumental7e97d0c2018-10-03 08:59:30 -0500235 <dependency>
236 <groupId>org.onap.aaf.authz</groupId>
237 <artifactId>aaf-cadi-cass</artifactId>
238 <version>${project.version}</version>
Instrumentale9ae0482019-08-02 14:46:27 -0500239 </dependency>
240 <dependency>
Instrumental7e97d0c2018-10-03 08:59:30 -0500241 <groupId>javax.servlet</groupId>
242 <artifactId>javax.servlet-api</artifactId>
243 <version>3.0.1</version>
244 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500245
Instrumental0a15ed82020-01-28 15:54:01 -0600246 <!-- JettyVersion is partly covered in "OParent" dependency> -->
247 <dependency>
248 <groupId>org.eclipse.jetty</groupId>
249 <artifactId>jetty-servlet</artifactId>
250 <version>${project.jettyVersion}</version>
251 </dependency>
252 <dependency>
253 <groupId>org.eclipse.jetty</groupId>
254 <artifactId>jetty-server</artifactId>
255 <version>${project.jettyVersion}</version>
256 </dependency>
257 <dependency>
258 <groupId>org.eclipse.jetty</groupId>
259 <artifactId>jetty-http</artifactId>
260 <version>${project.jettyVersion}</version>
261 </dependency>
262 <dependency>
263 <groupId>org.eclipse.jetty</groupId>
264 <artifactId>jetty-io</artifactId>
265 <version>${project.jettyVersion}</version>
266 </dependency>
267 <dependency>
268 <groupId>org.eclipse.jetty</groupId>
269 <artifactId>jetty-security</artifactId>
270 <version>${project.jettyVersion}</version>
271 </dependency>
272 <dependency>
273 <groupId>org.eclipse.jetty</groupId>
274 <artifactId>jetty-util</artifactId>
275 <version>${project.jettyVersion}</version>
276 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500277
Instrumental7e97d0c2018-10-03 08:59:30 -0500278 <dependency>
279 <groupId>org.slf4j</groupId>
280 <artifactId>slf4j-api</artifactId>
281 <version>1.7.5</version>
282 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500283
Instrumental7e97d0c2018-10-03 08:59:30 -0500284 <dependency>
285 <groupId>com.datastax.cassandra</groupId>
286 <artifactId>cassandra-all</artifactId>
287 <version>${project.cassVersion}</version>
288 <exclusions>
289 <exclusion>
290 <groupId>org.slf4j</groupId>
291 <artifactId>slf4j-log4j12</artifactId>
292 </exclusion>
293 <exclusion>
294 <groupId>log4j</groupId>
295 <artifactId>log4j</artifactId>
296 </exclusion>
297 </exclusions>
298 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500299
Instrumental7e97d0c2018-10-03 08:59:30 -0500300 <dependency>
301 <groupId>com.datastax.cassandra</groupId>
302 <artifactId>cassandra-driver-core</artifactId>
303 <version>${project.cassVersion}</version>
304 <exclusions>
305 <exclusion>
306 <groupId>org.slf4j</groupId>
307 <artifactId>slf4j-log4j12</artifactId>
308 </exclusion>
309 <exclusion>
310 <groupId>log4j</groupId>
311 <artifactId>log4j</artifactId>
312 </exclusion>
313 <exclusion>
314 <groupId>com.google.guava</groupId>
315 <artifactId>guava</artifactId>
316 </exclusion>
317 </exclusions>
318 </dependency>
319 <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
320 <dependency>
321 <groupId>io.netty</groupId>
322 <artifactId>netty-handler</artifactId>
323 <version>${project.nettyVersion}</version>
324 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500325
Instrumental7e97d0c2018-10-03 08:59:30 -0500326 <dependency>
327 <groupId>org.slf4j</groupId>
328 <artifactId>slf4j-log4j12</artifactId>
329 <version>1.7.5</version>
330 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500331
Instrumental7e97d0c2018-10-03 08:59:30 -0500332 <dependency>
333 <groupId>javax.mail</groupId>
334 <artifactId>mail</artifactId>
335 <version>1.4.7</version>
336 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500337
Instrumental7e97d0c2018-10-03 08:59:30 -0500338 <dependency>
339 <groupId>org.mockito</groupId>
340 <artifactId>mockito-all</artifactId>
341 <version>${mockito.version}</version>
342 <scope>test</scope>
343 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500344
Instrumental7e97d0c2018-10-03 08:59:30 -0500345 <dependency>
346 <groupId>org.powermock</groupId>
347 <artifactId>powermock-module-junit4</artifactId>
348 <version>${powermock.version}</version>
349 <scope>test</scope>
350 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500351
Instrumental7e97d0c2018-10-03 08:59:30 -0500352 <dependency>
353 <groupId>org.powermock</groupId>
354 <artifactId>powermock-api-mockito</artifactId>
355 <version>${powermock.version}</version>
356 <scope>test</scope>
357 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500358
Instrumental7e97d0c2018-10-03 08:59:30 -0500359 <dependency>
360 <groupId>log4j</groupId>
361 <artifactId>log4j</artifactId>
362 <version>1.2.17</version>
363 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500364
Instrumental7e97d0c2018-10-03 08:59:30 -0500365 <dependency>
366 <groupId>junit</groupId>
367 <artifactId>junit</artifactId>
368 <version>4.10</version>
369 <scope>test</scope>
370 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500371
Instrumental4d0a0452019-11-14 12:14:16 -0600372 <!-- Javax removed as of JDK 9 -->
Instrumental0a15ed82020-01-28 15:54:01 -0600373 <!-- Annotation MAY not be needed -->
374 <dependency>
375 <groupId>javax.annotation</groupId>
376 <artifactId>javax.annotation-api</artifactId>
377 <version>1.3.2</version>
378 </dependency>
Instrumental4d0a0452019-11-14 12:14:16 -0600379 <dependency>
380 <groupId>javax.xml.bind</groupId>
381 <artifactId>jaxb-api</artifactId>
382 <version>${project.jaxbVersion}</version>
383 </dependency>
384 <dependency>
385 <groupId>org.glassfish.jaxb</groupId>
386 <artifactId>jaxb-xjc</artifactId>
387 <version>${project.jaxbVersion}</version>
388 </dependency>
389 <dependency>
390 <groupId>org.glassfish.jaxb</groupId>
391 <artifactId>jaxb-runtime</artifactId>
392 <version>${project.jaxbVersion}</version>
393 </dependency>
Instrumental0a15ed82020-01-28 15:54:01 -0600394 <!--
395 <dependency>
396 <groupId>com.sun.xml.bind</groupId>
397 <artifactId>jaxb-impl</artifactId>
398 <version>2.2.11</version>
399 </dependency>
400 <dependency>
401 <groupId>com.sun.xml.bind</groupId>
402 <artifactId>jaxb-core</artifactId>
403 <version>2.2.11</version>
404 </dependency>
405 -->
Instrumental7e97d0c2018-10-03 08:59:30 -0500406 </dependencies>
407 </dependencyManagement>
Instrumental9f52db12018-08-31 09:53:21 -0500408
Instrumental7e97d0c2018-10-03 08:59:30 -0500409 <distributionManagement>
410 <repository>
411 <id>ecomp-releases</id>
412 <name>AAF Release Repository</name>
413 <url>${nexusproxy}${releaseNexusPath}</url>
414 </repository>
415 <snapshotRepository>
416 <id>ecomp-snapshots</id>
417 <name>AAF Snapshot Repository</name>
418 <url>${nexusproxy}${snapshotNexusPath}</url>
419 </snapshotRepository>
420 <site>
421 <id>ecomp-site</id>
422 <url>dav:${nexusproxy}${sitePath}</url>
423 </site>
424 </distributionManagement>
Instrumental2e84bc92019-08-02 15:54:29 -0500425
426 <profiles>
427 <profile>
428 <id>build-docker</id>
429 <build>
430 <plugins>
431 <plugin>
432 <groupId>org.codehaus.mojo</groupId>
433 <artifactId>exec-maven-plugin</artifactId>
434 <version>1.6.0</version>
435 <executions>
436 <execution>
437 <id>Docker Build</id>
438 <goals>
439 <goal>exec</goal>
440 </goals>
441 </execution>
442 </executions>
443 <configuration>
444 <skip>true</skip>
445 <executable>bash</executable>
446 <commandlineArgs>echo "No Docker Here"</commandlineArgs>
447 </configuration>
448 </plugin>
449 <plugin>
450 <groupId>org.sonarsource.scanner.maven</groupId>
451 <artifactId>sonar-maven-plugin</artifactId>
452 <configuration>
453 <skip>true</skip>
454 </configuration>
455 </plugin>
456 </plugins>
457 </build>
458
459 <modules>
Instrumental69549ce2019-08-05 14:28:17 -0500460 <module>auth-client</module>
461 <module>misc</module>
462 <module>cadi</module>
463 <module>auth</module>
Instrumental2e84bc92019-08-02 15:54:29 -0500464 <module>auth/docker</module>
465 </modules>
466 </profile>
467 </profiles>
IanHowell3901cf82018-04-03 11:24:27 -0500468</project>