1 <!--* ============LICENSE_START====================================================
2 * ===========================================================================
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
10 * http://www.apache.org/licenses/LICENSE-2.0
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====================================================
19 <project xmlns="http://maven.apache.org/POM/4.0.0"
20 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>
25 <version>2.1.22-SNAPSHOT</version>
26 <name>aaf-authz</name>
27 <packaging>pom</packaging>
30 <groupId>org.onap.oparent</groupId>
31 <artifactId>oparent</artifactId>
32 <!-- Official Released Version
33 <version>2.1.0</version>
35 Frankfurt working Version
37 <version>3.0.1</version>
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>
48 <maven.test.failure.ignore>false</maven.test.failure.ignore>
49 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
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>
57 <project.jettyVersion>9.4.12.v20180830</project.jettyVersion>
59 This version needs work.
60 <project.jettyVersion>9.4.17.v20190418</project.jettyVersion>
61 This version requires changes in how to start Jetty
62 <project.jettyVersion>9.4.26.v20200117</project.jettyVersion>
65 <project.cassVersion>3.6.0</project.cassVersion>
66 <project.jaxbVersion>2.3.1</project.jaxbVersion>
67 <project.glassfishJaxbVersion>3.0-b71</project.glassfishJaxbVersion>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-deploy-plugin</artifactId>
79 <groupId>org.sonarsource.scanner.maven</groupId>
80 <artifactId>sonar-maven-plugin</artifactId>
83 <groupId>org.jacoco</groupId>
84 <artifactId>jacoco-maven-plugin</artifactId>
87 <exclude>**/gen/**</exclude>
88 <exclude>**/generated-sources/**</exclude>
89 <exclude>**/yang-gen/**</exclude>
90 <exclude>**/pax/**</exclude>
95 <id>pre-unit-test</id>
97 <goal>prepare-agent</goal>
100 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
101 <propertyName>surefireArgLine</propertyName>
105 <id>post-unit-test</id>
111 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
112 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
116 <id>pre-integration-test</id>
117 <phase>pre-integration-test</phase>
119 <goal>prepare-agent</goal>
122 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
123 <propertyName>failsafeArgLine</propertyName>
127 <id>post-integration-test</id>
128 <phase>post-integration-test</phase>
133 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
134 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
144 <module>auth-client</module>
145 <module>misc</module>
146 <module>cadi</module>
147 <module>auth</module>
150 <dependencyManagement>
153 <groupId>org.onap.aaf.authz</groupId>
154 <artifactId>aaf-misc-env</artifactId>
155 <version>${project.version}</version>
159 <groupId>org.onap.aaf.authz</groupId>
160 <artifactId>aaf-misc-log4j</artifactId>
161 <version>${project.version}</version>
165 <groupId>org.onap.aaf.authz</groupId>
166 <artifactId>aaf-misc-rosetta</artifactId>
167 <version>${project.version}</version>
171 <groupId>org.onap.aaf.authz</groupId>
172 <artifactId>aaf-misc-xgen</artifactId>
173 <version>${project.version}</version>
177 <groupId>org.onap.aaf.authz</groupId>
178 <artifactId>aaf-auth-client</artifactId>
179 <version>${project.version}</version>
183 <groupId>org.onap.aaf.authz</groupId>
184 <artifactId>aaf-auth-core</artifactId>
185 <version>${project.version}</version>
189 <groupId>org.onap.aaf.authz</groupId>
190 <artifactId>aaf-auth-cass</artifactId>
191 <version>${project.version}</version>
195 <groupId>org.onap.aaf.authz</groupId>
196 <artifactId>aaf-auth-cmd</artifactId>
197 <version>${project.version}</version>
201 <groupId>org.onap.aaf.authz</groupId>
202 <artifactId>aaf-auth-oauth</artifactId>
203 <version>${project.version}</version>
207 <groupId>org.onap.aaf.authz</groupId>
208 <artifactId>aaf-auth-deforg</artifactId>
209 <version>${project.version}</version>
213 <groupId>org.onap.aaf.authz</groupId>
214 <artifactId>aaf-cadi-core</artifactId>
215 <version>${project.version}</version>
219 <groupId>org.onap.aaf.authz</groupId>
220 <artifactId>aaf-cadi-client</artifactId>
221 <version>${project.version}</version>
225 <groupId>org.onap.aaf.authz</groupId>
226 <artifactId>aaf-cadi-aaf</artifactId>
227 <version>${project.version}</version>
230 <groupId>org.apache.cassandra</groupId>
231 <artifactId>cassandra-all</artifactId>
237 <groupId>org.onap.aaf.authz</groupId>
238 <artifactId>aaf-cadi-jetty</artifactId>
239 <version>${project.version}</version>
243 <groupId>org.onap.aaf.authz</groupId>
244 <artifactId>aaf-cadi-cass</artifactId>
245 <version>${project.version}</version>
248 <groupId>javax.servlet</groupId>
249 <artifactId>javax.servlet-api</artifactId>
250 <version>3.0.1</version>
253 <!-- JettyVersion is partly covered in "OParent" dependency> -->
255 <groupId>org.eclipse.jetty</groupId>
256 <artifactId>jetty-servlet</artifactId>
257 <version>${project.jettyVersion}</version>
260 <groupId>org.eclipse.jetty</groupId>
261 <artifactId>jetty-server</artifactId>
262 <version>${project.jettyVersion}</version>
265 <groupId>org.eclipse.jetty</groupId>
266 <artifactId>jetty-http</artifactId>
267 <version>${project.jettyVersion}</version>
270 <groupId>org.eclipse.jetty</groupId>
271 <artifactId>jetty-io</artifactId>
272 <version>${project.jettyVersion}</version>
275 <groupId>org.eclipse.jetty</groupId>
276 <artifactId>jetty-security</artifactId>
277 <version>${project.jettyVersion}</version>
280 <groupId>org.eclipse.jetty</groupId>
281 <artifactId>jetty-util</artifactId>
282 <version>${project.jettyVersion}</version>
286 <groupId>org.slf4j</groupId>
287 <artifactId>slf4j-api</artifactId>
288 <version>1.7.5</version>
292 <groupId>com.datastax.cassandra</groupId>
293 <artifactId>cassandra-all</artifactId>
294 <version>${project.cassVersion}</version>
297 <groupId>org.slf4j</groupId>
298 <artifactId>slf4j-log4j12</artifactId>
301 <groupId>log4j</groupId>
302 <artifactId>log4j</artifactId>
308 <groupId>com.datastax.cassandra</groupId>
309 <artifactId>cassandra-driver-core</artifactId>
310 <version>${project.cassVersion}</version>
313 <groupId>org.slf4j</groupId>
314 <artifactId>slf4j-log4j12</artifactId>
317 <groupId>log4j</groupId>
318 <artifactId>log4j</artifactId>
321 <groupId>com.google.guava</groupId>
322 <artifactId>guava</artifactId>
326 <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
328 <groupId>io.netty</groupId>
329 <artifactId>netty-handler</artifactId>
330 <version>${project.nettyVersion}</version>
334 <groupId>org.slf4j</groupId>
335 <artifactId>slf4j-log4j12</artifactId>
336 <version>1.7.5</version>
340 <groupId>javax.mail</groupId>
341 <artifactId>mail</artifactId>
342 <version>1.4.7</version>
346 <groupId>org.mockito</groupId>
347 <artifactId>mockito-all</artifactId>
348 <version>${mockito.version}</version>
353 <groupId>org.powermock</groupId>
354 <artifactId>powermock-module-junit4</artifactId>
355 <version>${powermock.version}</version>
360 <groupId>org.powermock</groupId>
361 <artifactId>powermock-api-mockito</artifactId>
362 <version>${powermock.version}</version>
367 <groupId>log4j</groupId>
368 <artifactId>log4j</artifactId>
369 <version>1.2.17</version>
373 <groupId>junit</groupId>
374 <artifactId>junit</artifactId>
375 <version>4.10</version>
379 <!-- Javax removed as of JDK 9 -->
380 <!-- Annotation MAY not be needed -->
382 <groupId>javax.annotation</groupId>
383 <artifactId>javax.annotation-api</artifactId>
384 <version>1.3.2</version>
387 <groupId>javax.xml.bind</groupId>
388 <artifactId>jaxb-api</artifactId>
389 <version>${project.jaxbVersion}</version>
392 <groupId>org.glassfish.jaxb</groupId>
393 <artifactId>jaxb-xjc</artifactId>
394 <version>${project.jaxbVersion}</version>
397 <groupId>org.glassfish.jaxb</groupId>
398 <artifactId>jaxb-runtime</artifactId>
399 <version>${project.jaxbVersion}</version>
403 <groupId>com.sun.xml.bind</groupId>
404 <artifactId>jaxb-impl</artifactId>
405 <version>2.2.11</version>
408 <groupId>com.sun.xml.bind</groupId>
409 <artifactId>jaxb-core</artifactId>
410 <version>2.2.11</version>
414 </dependencyManagement>
416 <distributionManagement>
418 <id>ecomp-releases</id>
419 <name>AAF Release Repository</name>
420 <url>${nexusproxy}${releaseNexusPath}</url>
423 <id>ecomp-snapshots</id>
424 <name>AAF Snapshot Repository</name>
425 <url>${nexusproxy}${snapshotNexusPath}</url>
426 </snapshotRepository>
429 <url>dav:${nexusproxy}${sitePath}</url>
431 </distributionManagement>
435 <id>build-docker</id>
439 <groupId>org.codehaus.mojo</groupId>
440 <artifactId>exec-maven-plugin</artifactId>
441 <version>1.6.0</version>
444 <id>Docker Build</id>
452 <executable>bash</executable>
453 <commandlineArgs>echo "No Docker Here"</commandlineArgs>
457 <groupId>org.sonarsource.scanner.maven</groupId>
458 <artifactId>sonar-maven-plugin</artifactId>
467 <module>auth-client</module>
468 <module>misc</module>
469 <module>cadi</module>
470 <module>auth</module>
471 <module>auth/docker</module>