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.17-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.0-SNAPSHOT</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 requires changes in how to start Jetty
60 <project.jettyVersion>9.4.26.v20200117</project.jettyVersion>
62 <project.cassVersion>3.6.0</project.cassVersion>
63 <project.jaxbVersion>2.3.1</project.jaxbVersion>
64 <project.glassfishJaxbVersion>3.0-b71</project.glassfishJaxbVersion>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-deploy-plugin</artifactId>
76 <groupId>org.sonarsource.scanner.maven</groupId>
77 <artifactId>sonar-maven-plugin</artifactId>
80 <groupId>org.jacoco</groupId>
81 <artifactId>jacoco-maven-plugin</artifactId>
84 <exclude>**/gen/**</exclude>
85 <exclude>**/generated-sources/**</exclude>
86 <exclude>**/yang-gen/**</exclude>
87 <exclude>**/pax/**</exclude>
92 <id>pre-unit-test</id>
94 <goal>prepare-agent</goal>
97 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
98 <propertyName>surefireArgLine</propertyName>
102 <id>post-unit-test</id>
108 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
109 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
113 <id>pre-integration-test</id>
114 <phase>pre-integration-test</phase>
116 <goal>prepare-agent</goal>
119 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
120 <propertyName>failsafeArgLine</propertyName>
124 <id>post-integration-test</id>
125 <phase>post-integration-test</phase>
130 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
131 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
141 <module>auth-client</module>
142 <module>misc</module>
143 <module>cadi</module>
144 <module>auth</module>
147 <dependencyManagement>
150 <groupId>org.onap.aaf.authz</groupId>
151 <artifactId>aaf-misc-env</artifactId>
152 <version>${project.version}</version>
156 <groupId>org.onap.aaf.authz</groupId>
157 <artifactId>aaf-misc-log4j</artifactId>
158 <version>${project.version}</version>
162 <groupId>org.onap.aaf.authz</groupId>
163 <artifactId>aaf-misc-rosetta</artifactId>
164 <version>${project.version}</version>
168 <groupId>org.onap.aaf.authz</groupId>
169 <artifactId>aaf-misc-xgen</artifactId>
170 <version>${project.version}</version>
174 <groupId>org.onap.aaf.authz</groupId>
175 <artifactId>aaf-auth-client</artifactId>
176 <version>${project.version}</version>
180 <groupId>org.onap.aaf.authz</groupId>
181 <artifactId>aaf-auth-core</artifactId>
182 <version>${project.version}</version>
186 <groupId>org.onap.aaf.authz</groupId>
187 <artifactId>aaf-auth-cass</artifactId>
188 <version>${project.version}</version>
192 <groupId>org.onap.aaf.authz</groupId>
193 <artifactId>aaf-auth-cmd</artifactId>
194 <version>${project.version}</version>
198 <groupId>org.onap.aaf.authz</groupId>
199 <artifactId>aaf-auth-oauth</artifactId>
200 <version>${project.version}</version>
204 <groupId>org.onap.aaf.authz</groupId>
205 <artifactId>aaf-auth-deforg</artifactId>
206 <version>${project.version}</version>
210 <groupId>org.onap.aaf.authz</groupId>
211 <artifactId>aaf-cadi-core</artifactId>
212 <version>${project.version}</version>
216 <groupId>org.onap.aaf.authz</groupId>
217 <artifactId>aaf-cadi-client</artifactId>
218 <version>${project.version}</version>
222 <groupId>org.onap.aaf.authz</groupId>
223 <artifactId>aaf-cadi-aaf</artifactId>
224 <version>${project.version}</version>
227 <groupId>org.apache.cassandra</groupId>
228 <artifactId>cassandra-all</artifactId>
234 <groupId>org.onap.aaf.authz</groupId>
235 <artifactId>aaf-cadi-jetty</artifactId>
236 <version>${project.version}</version>
240 <groupId>org.onap.aaf.authz</groupId>
241 <artifactId>aaf-cadi-cass</artifactId>
242 <version>${project.version}</version>
245 <groupId>javax.servlet</groupId>
246 <artifactId>javax.servlet-api</artifactId>
247 <version>3.0.1</version>
250 <!-- JettyVersion is partly covered in "OParent" dependency> -->
252 <groupId>org.eclipse.jetty</groupId>
253 <artifactId>jetty-servlet</artifactId>
254 <version>${project.jettyVersion}</version>
257 <groupId>org.eclipse.jetty</groupId>
258 <artifactId>jetty-server</artifactId>
259 <version>${project.jettyVersion}</version>
262 <groupId>org.eclipse.jetty</groupId>
263 <artifactId>jetty-http</artifactId>
264 <version>${project.jettyVersion}</version>
267 <groupId>org.eclipse.jetty</groupId>
268 <artifactId>jetty-io</artifactId>
269 <version>${project.jettyVersion}</version>
272 <groupId>org.eclipse.jetty</groupId>
273 <artifactId>jetty-security</artifactId>
274 <version>${project.jettyVersion}</version>
277 <groupId>org.eclipse.jetty</groupId>
278 <artifactId>jetty-util</artifactId>
279 <version>${project.jettyVersion}</version>
283 <groupId>org.slf4j</groupId>
284 <artifactId>slf4j-api</artifactId>
285 <version>1.7.5</version>
289 <groupId>com.datastax.cassandra</groupId>
290 <artifactId>cassandra-all</artifactId>
291 <version>${project.cassVersion}</version>
294 <groupId>org.slf4j</groupId>
295 <artifactId>slf4j-log4j12</artifactId>
298 <groupId>log4j</groupId>
299 <artifactId>log4j</artifactId>
305 <groupId>com.datastax.cassandra</groupId>
306 <artifactId>cassandra-driver-core</artifactId>
307 <version>${project.cassVersion}</version>
310 <groupId>org.slf4j</groupId>
311 <artifactId>slf4j-log4j12</artifactId>
314 <groupId>log4j</groupId>
315 <artifactId>log4j</artifactId>
318 <groupId>com.google.guava</groupId>
319 <artifactId>guava</artifactId>
323 <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
325 <groupId>io.netty</groupId>
326 <artifactId>netty-handler</artifactId>
327 <version>${project.nettyVersion}</version>
331 <groupId>org.slf4j</groupId>
332 <artifactId>slf4j-log4j12</artifactId>
333 <version>1.7.5</version>
337 <groupId>javax.mail</groupId>
338 <artifactId>mail</artifactId>
339 <version>1.4.7</version>
343 <groupId>org.mockito</groupId>
344 <artifactId>mockito-all</artifactId>
345 <version>${mockito.version}</version>
350 <groupId>org.powermock</groupId>
351 <artifactId>powermock-module-junit4</artifactId>
352 <version>${powermock.version}</version>
357 <groupId>org.powermock</groupId>
358 <artifactId>powermock-api-mockito</artifactId>
359 <version>${powermock.version}</version>
364 <groupId>log4j</groupId>
365 <artifactId>log4j</artifactId>
366 <version>1.2.17</version>
370 <groupId>junit</groupId>
371 <artifactId>junit</artifactId>
372 <version>4.10</version>
376 <!-- Javax removed as of JDK 9 -->
377 <!-- Annotation MAY not be needed -->
379 <groupId>javax.annotation</groupId>
380 <artifactId>javax.annotation-api</artifactId>
381 <version>1.3.2</version>
384 <groupId>javax.xml.bind</groupId>
385 <artifactId>jaxb-api</artifactId>
386 <version>${project.jaxbVersion}</version>
389 <groupId>org.glassfish.jaxb</groupId>
390 <artifactId>jaxb-xjc</artifactId>
391 <version>${project.jaxbVersion}</version>
394 <groupId>org.glassfish.jaxb</groupId>
395 <artifactId>jaxb-runtime</artifactId>
396 <version>${project.jaxbVersion}</version>
400 <groupId>com.sun.xml.bind</groupId>
401 <artifactId>jaxb-impl</artifactId>
402 <version>2.2.11</version>
405 <groupId>com.sun.xml.bind</groupId>
406 <artifactId>jaxb-core</artifactId>
407 <version>2.2.11</version>
411 </dependencyManagement>
413 <distributionManagement>
415 <id>ecomp-releases</id>
416 <name>AAF Release Repository</name>
417 <url>${nexusproxy}${releaseNexusPath}</url>
420 <id>ecomp-snapshots</id>
421 <name>AAF Snapshot Repository</name>
422 <url>${nexusproxy}${snapshotNexusPath}</url>
423 </snapshotRepository>
426 <url>dav:${nexusproxy}${sitePath}</url>
428 </distributionManagement>
432 <id>build-docker</id>
436 <groupId>org.codehaus.mojo</groupId>
437 <artifactId>exec-maven-plugin</artifactId>
438 <version>1.6.0</version>
441 <id>Docker Build</id>
449 <executable>bash</executable>
450 <commandlineArgs>echo "No Docker Here"</commandlineArgs>
454 <groupId>org.sonarsource.scanner.maven</groupId>
455 <artifactId>sonar-maven-plugin</artifactId>
464 <module>auth-client</module>
465 <module>misc</module>
466 <module>cadi</module>
467 <module>auth</module>
468 <module>auth/docker</module>