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.16-SNAPSHOT</version>
26 <name>aaf-authz</name>
27 <packaging>pom</packaging>
30 <groupId>org.onap.oparent</groupId>
31 <artifactId>oparent</artifactId>
32 <version>2.0.0</version>
36 <nexusproxy>https://nexus.onap.org</nexusproxy>
37 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
38 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
39 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
40 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
41 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
43 <maven.test.failure.ignore>false</maven.test.failure.ignore>
45 <jacoco.version>0.7.7.201606060606</jacoco.version>
46 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
47 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
48 <!-- Default Sonar configuration -->
49 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
50 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
51 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
53 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
54 <nexusproxy>https://nexus.onap.org</nexusproxy>
55 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
56 <powermock.version>1.5.1</powermock.version>
57 <mockito.version>1.9.5</mockito.version>
58 <project.interfaceVersion>${project.version}</project.interfaceVersion>
59 <project.jettyVersion>9.4.12.v20180830</project.jettyVersion>
60 <project.cassVersion>3.6.0</project.cassVersion>
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-deploy-plugin</artifactId>
73 <groupId>org.sonarsource.scanner.maven</groupId>
74 <artifactId>sonar-maven-plugin</artifactId>
77 <groupId>org.jacoco</groupId>
78 <artifactId>jacoco-maven-plugin</artifactId>
81 <exclude>**/gen/**</exclude>
82 <exclude>**/generated-sources/**</exclude>
83 <exclude>**/yang-gen/**</exclude>
84 <exclude>**/pax/**</exclude>
89 <id>pre-unit-test</id>
91 <goal>prepare-agent</goal>
94 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
95 <propertyName>surefireArgLine</propertyName>
99 <id>post-unit-test</id>
105 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
106 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
110 <id>pre-integration-test</id>
111 <phase>pre-integration-test</phase>
113 <goal>prepare-agent</goal>
116 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
117 <propertyName>failsafeArgLine</propertyName>
121 <id>post-integration-test</id>
122 <phase>post-integration-test</phase>
127 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
128 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
138 <module>auth-client</module>
139 <module>misc</module>
140 <module>cadi</module>
141 <module>auth</module>
144 <dependencyManagement>
147 <groupId>org.onap.aaf.authz</groupId>
148 <artifactId>aaf-misc-env</artifactId>
149 <version>${project.version}</version>
153 <groupId>org.onap.aaf.authz</groupId>
154 <artifactId>aaf-misc-log4j</artifactId>
155 <version>${project.version}</version>
159 <groupId>org.onap.aaf.authz</groupId>
160 <artifactId>aaf-misc-rosetta</artifactId>
161 <version>${project.version}</version>
165 <groupId>org.onap.aaf.authz</groupId>
166 <artifactId>aaf-misc-xgen</artifactId>
167 <version>${project.version}</version>
171 <groupId>org.onap.aaf.authz</groupId>
172 <artifactId>aaf-auth-client</artifactId>
173 <version>${project.version}</version>
177 <groupId>org.onap.aaf.authz</groupId>
178 <artifactId>aaf-auth-core</artifactId>
179 <version>${project.version}</version>
183 <groupId>org.onap.aaf.authz</groupId>
184 <artifactId>aaf-auth-cass</artifactId>
185 <version>${project.version}</version>
189 <groupId>org.onap.aaf.authz</groupId>
190 <artifactId>aaf-auth-cmd</artifactId>
191 <version>${project.version}</version>
195 <groupId>org.onap.aaf.authz</groupId>
196 <artifactId>aaf-auth-oauth</artifactId>
197 <version>${project.version}</version>
201 <groupId>org.onap.aaf.authz</groupId>
202 <artifactId>aaf-auth-deforg</artifactId>
203 <version>${project.version}</version>
207 <groupId>org.onap.aaf.authz</groupId>
208 <artifactId>aaf-cadi-core</artifactId>
209 <version>${project.version}</version>
213 <groupId>org.onap.aaf.authz</groupId>
214 <artifactId>aaf-cadi-client</artifactId>
215 <version>${project.version}</version>
219 <groupId>org.onap.aaf.authz</groupId>
220 <artifactId>aaf-cadi-aaf</artifactId>
221 <version>${project.version}</version>
224 <groupId>org.apache.cassandra</groupId>
225 <artifactId>cassandra-all</artifactId>
231 <groupId>org.onap.aaf.authz</groupId>
232 <artifactId>aaf-cadi-jetty</artifactId>
233 <version>${project.version}</version>
237 <groupId>org.onap.aaf.authz</groupId>
238 <artifactId>aaf-cadi-cass</artifactId>
239 <version>${project.version}</version>
242 <groupId>javax.servlet</groupId>
243 <artifactId>javax.servlet-api</artifactId>
244 <version>3.0.1</version>
247 <!-- JettyVersion is partly covered in "OParent" dependency> <groupId>org.eclipse.jetty</groupId>
248 <artifactId>jetty-servlet</artifactId> <version>${project.jettyVersion}</version>
249 </dependency><dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId>
250 <version>${project.jettyVersion}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId>
251 <artifactId>jetty-http</artifactId> <version>${project.jettyVersion}</version>
252 </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-io</artifactId>
253 <version>${project.jettyVersion}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId>
254 <artifactId>jetty-security</artifactId> <version>${project.jettyVersion}</version>
255 </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-util</artifactId>
256 <version>${project.jettyVersion}</version> </dependency> -->
259 <groupId>org.slf4j</groupId>
260 <artifactId>slf4j-api</artifactId>
261 <version>1.7.5</version>
265 <groupId>com.datastax.cassandra</groupId>
266 <artifactId>cassandra-all</artifactId>
267 <version>${project.cassVersion}</version>
270 <groupId>org.slf4j</groupId>
271 <artifactId>slf4j-log4j12</artifactId>
274 <groupId>log4j</groupId>
275 <artifactId>log4j</artifactId>
281 <groupId>com.datastax.cassandra</groupId>
282 <artifactId>cassandra-driver-core</artifactId>
283 <version>${project.cassVersion}</version>
286 <groupId>org.slf4j</groupId>
287 <artifactId>slf4j-log4j12</artifactId>
290 <groupId>log4j</groupId>
291 <artifactId>log4j</artifactId>
294 <groupId>com.google.guava</groupId>
295 <artifactId>guava</artifactId>
299 <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
301 <groupId>io.netty</groupId>
302 <artifactId>netty-handler</artifactId>
303 <version>${project.nettyVersion}</version>
307 <groupId>org.slf4j</groupId>
308 <artifactId>slf4j-log4j12</artifactId>
309 <version>1.7.5</version>
313 <groupId>javax.mail</groupId>
314 <artifactId>mail</artifactId>
315 <version>1.4.7</version>
319 <groupId>org.mockito</groupId>
320 <artifactId>mockito-all</artifactId>
321 <version>${mockito.version}</version>
326 <groupId>org.powermock</groupId>
327 <artifactId>powermock-module-junit4</artifactId>
328 <version>${powermock.version}</version>
333 <groupId>org.powermock</groupId>
334 <artifactId>powermock-api-mockito</artifactId>
335 <version>${powermock.version}</version>
340 <groupId>log4j</groupId>
341 <artifactId>log4j</artifactId>
342 <version>1.2.17</version>
346 <groupId>junit</groupId>
347 <artifactId>junit</artifactId>
348 <version>4.10</version>
353 </dependencyManagement>
355 <distributionManagement>
357 <id>ecomp-releases</id>
358 <name>AAF Release Repository</name>
359 <url>${nexusproxy}${releaseNexusPath}</url>
362 <id>ecomp-snapshots</id>
363 <name>AAF Snapshot Repository</name>
364 <url>${nexusproxy}${snapshotNexusPath}</url>
365 </snapshotRepository>
368 <url>dav:${nexusproxy}${sitePath}</url>
370 </distributionManagement>
374 <id>build-docker</id>
378 <groupId>org.codehaus.mojo</groupId>
379 <artifactId>exec-maven-plugin</artifactId>
380 <version>1.6.0</version>
383 <id>Docker Build</id>
391 <executable>bash</executable>
392 <commandlineArgs>echo "No Docker Here"</commandlineArgs>
396 <groupId>org.sonarsource.scanner.maven</groupId>
397 <artifactId>sonar-maven-plugin</artifactId>
406 <module>auth-client</module>
407 <module>misc</module>
408 <module>cadi</module>
409 <module>auth</module>
410 <module>auth/docker</module>