blob: f3ee5c18c80edb2e5534d0922790038490db04ce [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. Franey62168142020-04-23 16:09:38 -040025 <version>2.1.20-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>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-deploy-plugin</artifactId>
74 <configuration>
Instrumentale9ae0482019-08-02 14:46:27 -050075 <skip>true</skip>
Instrumental7e97d0c2018-10-03 08:59:30 -050076 </configuration>
77 </plugin>
78 <plugin>
Instrumental7e97d0c2018-10-03 08:59:30 -050079 <groupId>org.sonarsource.scanner.maven</groupId>
80 <artifactId>sonar-maven-plugin</artifactId>
81 </plugin>
82 <plugin>
83 <groupId>org.jacoco</groupId>
84 <artifactId>jacoco-maven-plugin</artifactId>
85 <configuration>
86 <excludes>
87 <exclude>**/gen/**</exclude>
88 <exclude>**/generated-sources/**</exclude>
89 <exclude>**/yang-gen/**</exclude>
90 <exclude>**/pax/**</exclude>
91 </excludes>
92 </configuration>
93 <executions>
94 <execution>
95 <id>pre-unit-test</id>
96 <goals>
97 <goal>prepare-agent</goal>
98 </goals>
99 <configuration>
100 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
101 <propertyName>surefireArgLine</propertyName>
102 </configuration>
103 </execution>
104 <execution>
105 <id>post-unit-test</id>
106 <phase>test</phase>
107 <goals>
108 <goal>report</goal>
109 </goals>
110 <configuration>
111 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
112 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
113 </configuration>
114 </execution>
115 <execution>
116 <id>pre-integration-test</id>
117 <phase>pre-integration-test</phase>
118 <goals>
119 <goal>prepare-agent</goal>
120 </goals>
121 <configuration>
122 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
123 <propertyName>failsafeArgLine</propertyName>
124 </configuration>
125 </execution>
126 <execution>
127 <id>post-integration-test</id>
128 <phase>post-integration-test</phase>
129 <goals>
130 <goal>report</goal>
131 </goals>
132 <configuration>
133 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
134 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
135 </configuration>
136 </execution>
137 </executions>
138 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500139
Instrumentale9ae0482019-08-02 14:46:27 -0500140
Instrumental7e97d0c2018-10-03 08:59:30 -0500141 </plugins>
142 </build>
143 <modules>
144 <module>auth-client</module>
145 <module>misc</module>
146 <module>cadi</module>
147 <module>auth</module>
148 </modules>
Sai Gandhame01703c2018-03-26 22:57:09 +0000149
Instrumental7e97d0c2018-10-03 08:59:30 -0500150 <dependencyManagement>
151 <dependencies>
152 <dependency>
153 <groupId>org.onap.aaf.authz</groupId>
154 <artifactId>aaf-misc-env</artifactId>
155 <version>${project.version}</version>
156 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500157
Instrumental7e97d0c2018-10-03 08:59:30 -0500158 <dependency>
159 <groupId>org.onap.aaf.authz</groupId>
160 <artifactId>aaf-misc-log4j</artifactId>
161 <version>${project.version}</version>
162 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500163
Instrumental7e97d0c2018-10-03 08:59:30 -0500164 <dependency>
165 <groupId>org.onap.aaf.authz</groupId>
166 <artifactId>aaf-misc-rosetta</artifactId>
167 <version>${project.version}</version>
168 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500169
Instrumental7e97d0c2018-10-03 08:59:30 -0500170 <dependency>
171 <groupId>org.onap.aaf.authz</groupId>
172 <artifactId>aaf-misc-xgen</artifactId>
173 <version>${project.version}</version>
174 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500175
Instrumental7e97d0c2018-10-03 08:59:30 -0500176 <dependency>
177 <groupId>org.onap.aaf.authz</groupId>
178 <artifactId>aaf-auth-client</artifactId>
179 <version>${project.version}</version>
180 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500181
Instrumental7e97d0c2018-10-03 08:59:30 -0500182 <dependency>
183 <groupId>org.onap.aaf.authz</groupId>
184 <artifactId>aaf-auth-core</artifactId>
185 <version>${project.version}</version>
186 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500187
Instrumental7e97d0c2018-10-03 08:59:30 -0500188 <dependency>
189 <groupId>org.onap.aaf.authz</groupId>
190 <artifactId>aaf-auth-cass</artifactId>
191 <version>${project.version}</version>
192 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500193
Instrumental7e97d0c2018-10-03 08:59:30 -0500194 <dependency>
195 <groupId>org.onap.aaf.authz</groupId>
196 <artifactId>aaf-auth-cmd</artifactId>
197 <version>${project.version}</version>
198 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500199
Instrumental7e97d0c2018-10-03 08:59:30 -0500200 <dependency>
201 <groupId>org.onap.aaf.authz</groupId>
202 <artifactId>aaf-auth-oauth</artifactId>
203 <version>${project.version}</version>
204 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500205
Instrumental7e97d0c2018-10-03 08:59:30 -0500206 <dependency>
207 <groupId>org.onap.aaf.authz</groupId>
208 <artifactId>aaf-auth-deforg</artifactId>
209 <version>${project.version}</version>
210 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500211
Instrumental7e97d0c2018-10-03 08:59:30 -0500212 <dependency>
213 <groupId>org.onap.aaf.authz</groupId>
214 <artifactId>aaf-cadi-core</artifactId>
215 <version>${project.version}</version>
216 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500217
Instrumental7e97d0c2018-10-03 08:59:30 -0500218 <dependency>
219 <groupId>org.onap.aaf.authz</groupId>
220 <artifactId>aaf-cadi-client</artifactId>
221 <version>${project.version}</version>
222 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500223
Instrumental7e97d0c2018-10-03 08:59:30 -0500224 <dependency>
225 <groupId>org.onap.aaf.authz</groupId>
226 <artifactId>aaf-cadi-aaf</artifactId>
227 <version>${project.version}</version>
228 <exclusions>
229 <exclusion>
230 <groupId>org.apache.cassandra</groupId>
231 <artifactId>cassandra-all</artifactId>
232 </exclusion>
233 </exclusions>
234 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500235
Instrumental7e97d0c2018-10-03 08:59:30 -0500236 <dependency>
237 <groupId>org.onap.aaf.authz</groupId>
238 <artifactId>aaf-cadi-jetty</artifactId>
239 <version>${project.version}</version>
240 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500241
Instrumental7e97d0c2018-10-03 08:59:30 -0500242 <dependency>
243 <groupId>org.onap.aaf.authz</groupId>
244 <artifactId>aaf-cadi-cass</artifactId>
245 <version>${project.version}</version>
Instrumentale9ae0482019-08-02 14:46:27 -0500246 </dependency>
247 <dependency>
Instrumental7e97d0c2018-10-03 08:59:30 -0500248 <groupId>javax.servlet</groupId>
249 <artifactId>javax.servlet-api</artifactId>
250 <version>3.0.1</version>
251 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500252
Instrumental0a15ed82020-01-28 15:54:01 -0600253 <!-- JettyVersion is partly covered in "OParent" dependency> -->
254 <dependency>
255 <groupId>org.eclipse.jetty</groupId>
256 <artifactId>jetty-servlet</artifactId>
257 <version>${project.jettyVersion}</version>
258 </dependency>
259 <dependency>
260 <groupId>org.eclipse.jetty</groupId>
261 <artifactId>jetty-server</artifactId>
262 <version>${project.jettyVersion}</version>
263 </dependency>
264 <dependency>
265 <groupId>org.eclipse.jetty</groupId>
266 <artifactId>jetty-http</artifactId>
267 <version>${project.jettyVersion}</version>
268 </dependency>
269 <dependency>
270 <groupId>org.eclipse.jetty</groupId>
271 <artifactId>jetty-io</artifactId>
272 <version>${project.jettyVersion}</version>
273 </dependency>
274 <dependency>
275 <groupId>org.eclipse.jetty</groupId>
276 <artifactId>jetty-security</artifactId>
277 <version>${project.jettyVersion}</version>
278 </dependency>
279 <dependency>
280 <groupId>org.eclipse.jetty</groupId>
281 <artifactId>jetty-util</artifactId>
282 <version>${project.jettyVersion}</version>
283 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500284
Instrumental7e97d0c2018-10-03 08:59:30 -0500285 <dependency>
286 <groupId>org.slf4j</groupId>
287 <artifactId>slf4j-api</artifactId>
288 <version>1.7.5</version>
289 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500290
Instrumental7e97d0c2018-10-03 08:59:30 -0500291 <dependency>
292 <groupId>com.datastax.cassandra</groupId>
293 <artifactId>cassandra-all</artifactId>
294 <version>${project.cassVersion}</version>
295 <exclusions>
296 <exclusion>
297 <groupId>org.slf4j</groupId>
298 <artifactId>slf4j-log4j12</artifactId>
299 </exclusion>
300 <exclusion>
301 <groupId>log4j</groupId>
302 <artifactId>log4j</artifactId>
303 </exclusion>
304 </exclusions>
305 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500306
Instrumental7e97d0c2018-10-03 08:59:30 -0500307 <dependency>
308 <groupId>com.datastax.cassandra</groupId>
309 <artifactId>cassandra-driver-core</artifactId>
310 <version>${project.cassVersion}</version>
311 <exclusions>
312 <exclusion>
313 <groupId>org.slf4j</groupId>
314 <artifactId>slf4j-log4j12</artifactId>
315 </exclusion>
316 <exclusion>
317 <groupId>log4j</groupId>
318 <artifactId>log4j</artifactId>
319 </exclusion>
320 <exclusion>
321 <groupId>com.google.guava</groupId>
322 <artifactId>guava</artifactId>
323 </exclusion>
324 </exclusions>
325 </dependency>
326 <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
327 <dependency>
328 <groupId>io.netty</groupId>
329 <artifactId>netty-handler</artifactId>
330 <version>${project.nettyVersion}</version>
331 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500332
Instrumental7e97d0c2018-10-03 08:59:30 -0500333 <dependency>
334 <groupId>org.slf4j</groupId>
335 <artifactId>slf4j-log4j12</artifactId>
336 <version>1.7.5</version>
337 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500338
Instrumental7e97d0c2018-10-03 08:59:30 -0500339 <dependency>
340 <groupId>javax.mail</groupId>
341 <artifactId>mail</artifactId>
342 <version>1.4.7</version>
343 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500344
Instrumental7e97d0c2018-10-03 08:59:30 -0500345 <dependency>
346 <groupId>org.mockito</groupId>
347 <artifactId>mockito-all</artifactId>
348 <version>${mockito.version}</version>
349 <scope>test</scope>
350 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500351
Instrumental7e97d0c2018-10-03 08:59:30 -0500352 <dependency>
353 <groupId>org.powermock</groupId>
354 <artifactId>powermock-module-junit4</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>org.powermock</groupId>
361 <artifactId>powermock-api-mockito</artifactId>
362 <version>${powermock.version}</version>
363 <scope>test</scope>
364 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500365
Instrumental7e97d0c2018-10-03 08:59:30 -0500366 <dependency>
367 <groupId>log4j</groupId>
368 <artifactId>log4j</artifactId>
369 <version>1.2.17</version>
370 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500371
Instrumental7e97d0c2018-10-03 08:59:30 -0500372 <dependency>
373 <groupId>junit</groupId>
374 <artifactId>junit</artifactId>
375 <version>4.10</version>
376 <scope>test</scope>
377 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500378
Instrumental4d0a0452019-11-14 12:14:16 -0600379 <!-- Javax removed as of JDK 9 -->
Instrumental0a15ed82020-01-28 15:54:01 -0600380 <!-- Annotation MAY not be needed -->
381 <dependency>
382 <groupId>javax.annotation</groupId>
383 <artifactId>javax.annotation-api</artifactId>
384 <version>1.3.2</version>
385 </dependency>
Instrumental4d0a0452019-11-14 12:14:16 -0600386 <dependency>
387 <groupId>javax.xml.bind</groupId>
388 <artifactId>jaxb-api</artifactId>
389 <version>${project.jaxbVersion}</version>
390 </dependency>
391 <dependency>
392 <groupId>org.glassfish.jaxb</groupId>
393 <artifactId>jaxb-xjc</artifactId>
394 <version>${project.jaxbVersion}</version>
395 </dependency>
396 <dependency>
397 <groupId>org.glassfish.jaxb</groupId>
398 <artifactId>jaxb-runtime</artifactId>
399 <version>${project.jaxbVersion}</version>
400 </dependency>
Instrumental0a15ed82020-01-28 15:54:01 -0600401 <!--
402 <dependency>
403 <groupId>com.sun.xml.bind</groupId>
404 <artifactId>jaxb-impl</artifactId>
405 <version>2.2.11</version>
406 </dependency>
407 <dependency>
408 <groupId>com.sun.xml.bind</groupId>
409 <artifactId>jaxb-core</artifactId>
410 <version>2.2.11</version>
411 </dependency>
412 -->
Instrumental7e97d0c2018-10-03 08:59:30 -0500413 </dependencies>
414 </dependencyManagement>
Instrumental9f52db12018-08-31 09:53:21 -0500415
Instrumental7e97d0c2018-10-03 08:59:30 -0500416 <distributionManagement>
417 <repository>
418 <id>ecomp-releases</id>
419 <name>AAF Release Repository</name>
420 <url>${nexusproxy}${releaseNexusPath}</url>
421 </repository>
422 <snapshotRepository>
423 <id>ecomp-snapshots</id>
424 <name>AAF Snapshot Repository</name>
425 <url>${nexusproxy}${snapshotNexusPath}</url>
426 </snapshotRepository>
427 <site>
428 <id>ecomp-site</id>
429 <url>dav:${nexusproxy}${sitePath}</url>
430 </site>
431 </distributionManagement>
Instrumental2e84bc92019-08-02 15:54:29 -0500432
433 <profiles>
434 <profile>
435 <id>build-docker</id>
436 <build>
437 <plugins>
438 <plugin>
439 <groupId>org.codehaus.mojo</groupId>
440 <artifactId>exec-maven-plugin</artifactId>
441 <version>1.6.0</version>
442 <executions>
443 <execution>
444 <id>Docker Build</id>
445 <goals>
446 <goal>exec</goal>
447 </goals>
448 </execution>
449 </executions>
450 <configuration>
451 <skip>true</skip>
452 <executable>bash</executable>
453 <commandlineArgs>echo "No Docker Here"</commandlineArgs>
454 </configuration>
455 </plugin>
456 <plugin>
457 <groupId>org.sonarsource.scanner.maven</groupId>
458 <artifactId>sonar-maven-plugin</artifactId>
459 <configuration>
460 <skip>true</skip>
461 </configuration>
462 </plugin>
463 </plugins>
464 </build>
465
466 <modules>
Instrumental69549ce2019-08-05 14:28:17 -0500467 <module>auth-client</module>
468 <module>misc</module>
469 <module>cadi</module>
470 <module>auth</module>
Instrumental2e84bc92019-08-02 15:54:29 -0500471 <module>auth/docker</module>
472 </modules>
473 </profile>
474 </profiles>
IanHowell3901cf82018-04-03 11:24:27 -0500475</project>