1 <?xml version="1.0" encoding="UTF-8"?>
3 * ============LICENSE_START====================================================
5 * ===========================================================================
6 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7 * ===========================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END====================================================
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.aaf.authz</groupId>
28 <artifactId>super-pom</artifactId>
29 <version>2.1.0-SNAPSHOT</version>
31 <groupId>org.onap.aaf.authz.auth</groupId>
32 <artifactId>parent</artifactId>
33 <version>2.1.0-SNAPSHOT</version>
34 <name>AAF Auth Parent</name>
35 <packaging>pom</packaging>
39 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <project.interfaceVersion>2.10-SNAPSHOT</project.interfaceVersion>
41 <!-- >project.jettyVersion>9.3.22.v20171030</project.jettyVersion -->
42 <project.jettyVersion>9.4.8.v20171121</project.jettyVersion>
43 <powermock.version>1.5.1</powermock.version>
44 <project.ext_root_dir>/opt/app/osaaf</project.ext_root_dir>
46 <jacoco.version>0.7.7.201606060606</jacoco.version>
47 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
48 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
49 <!-- Default Sonar configuration -->
50 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
51 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
52 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
53 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
54 <nexusproxy>https://nexus.onap.org</nexusproxy>
55 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
56 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
57 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
58 <sitePath>/content/sites/site/org/onap/aaf/authz/auth/${project.artifactId}/${project.version}</sitePath>
63 <name>Jonathan Gathman</name>
64 <email>jonathan.gathman@att.com</email>
65 <organization>ATT</organization>
67 <role>Architect</role>
68 <role>Lead Developer</role>
72 <name>Gabe Maurer</name>
73 <email>gabe.maurer@att.com</email>
74 <organization>ATT</organization>
76 <role>Developer</role>
80 <name>Ian Howell</name>
81 <email>ian.howell@att.com</email>
82 <organization>ATT</organization>
84 <role>Developer</role>
88 <name>Sai Gandham</name>
89 <email>sai.gandham@att.com</email>
90 <organization>ATT</organization>
92 <role>Developer</role>
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-compiler-plugin</artifactId>
103 <version>2.3.2</version>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-deploy-plugin</artifactId>
112 <version>2.6</version>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-surefire-plugin</artifactId>
121 <version>2.17</version>
123 <skipTests>false</skipTests>
126 <include>**/JU*.java</include>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-failsafe-plugin</artifactId>
137 <version>2.17</version>
139 <skipTests>false</skipTests>
143 <id>integration-test</id>
145 <goal>integration-test</goal>
152 <!-- Builds O/S Command line ready jars and scripts, ready to run/zip -->
154 <groupId>org.codehaus.mojo</groupId>
155 <artifactId>appassembler-maven-plugin</artifactId>
156 <version>1.10</version>
160 <goal>assemble</goal>
162 <phase>install</phase>
166 <programs/> <!-- this set in projects that have programs -->
167 <assembleDirectory>../aaf_${project.version}</assembleDirectory>
168 <copyConfigurationDirectory>true</copyConfigurationDirectory>
169 <configurationDirectory>etc</configurationDirectory>
170 <repositoryName>lib</repositoryName>
171 <includeConfigurationDirectoryInClasspath>false</includeConfigurationDirectoryInClasspath>
172 <repositoryLayout>flat</repositoryLayout>
176 <!-- Build Docker Image -->
178 <groupId>com.spotify</groupId>
179 <artifactId>docker-maven-plugin</artifactId>
180 <version>1.0.0</version>
182 <imageName>onap/osaaf/${project.artifactId}</imageName>
183 <!-- <dockerDirectory>${dockerLocation}</dockerDirectory> -->
184 <dockerDirectory>${basedir}/src/main/resources/docker</dockerDirectory>
186 <imageTag>latest</imageTag>
187 <imageTag>${project.docker.latesttagtimestamp.version}</imageTag>
188 <imageTag>${project.docker.latesttag.version}</imageTag>
190 <forceTags>true</forceTags>
191 <!-- <resources> <resource> <targetPath>/</targetPath> <directory>${project.build.directory}/opt</directory>
192 <filtering>true</filtering> <includes> <include>**/**</include> </includes>
193 </resource> </resources> -->
196 <targetPath>/</targetPath>
197 <directory>${project.build.directory}/opt</directory>
198 <include>${project.build.finalName}.jar</include>
201 <targetPath>/</targetPath>
202 <directory>${project.build.directory}</directory>
203 <include>**/**</include>
210 <phase>package</phase>
215 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
220 <id>tag-image-project-version</id>
221 <phase>package</phase>
226 <image>onap/osaaf/${project.artifactId}</image>
227 <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</newName>
228 <skipDockerTag>${skip.docker.push}</skipDockerTag>
233 <id>tag-image-latest</id>
234 <phase>package</phase>
239 <image>onap/aaf/authz-service</image>
240 <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</newName>
241 <skipDockerTag>${skip.docker.push}</skipDockerTag>
246 <id>push-image-latest</id>
247 <phase>deploy</phase>
252 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</imageName>
253 <skipDockerPush>${skip.docker.push}</skipDockerPush>
259 <phase>deploy</phase>
264 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</imageName>
265 <skipDockerPush>${skip.docker.push}</skipDockerPush>
271 <groupId>org.sonatype.plugins</groupId>
272 <artifactId>nexus-staging-maven-plugin</artifactId>
273 <version>1.6.7</version>
274 <extensions>true</extensions>
276 <nexusUrl>${nexusproxy}</nexusUrl>
277 <stagingProfileId>176c31dfe190a</stagingProfileId>
278 <serverId>ecomp-staging</serverId>
282 <groupId>org.jacoco</groupId>
283 <artifactId>jacoco-maven-plugin</artifactId>
284 <version>0.7.7.201606060606</version>
286 <dumpOnExit>true</dumpOnExit>
288 <include>org.onap.aaf.*</include>
293 <id>pre-unit-test</id>
295 <goal>prepare-agent</goal>
298 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
299 <!-- <append>true</append> -->
303 <id>pre-integration-test</id>
304 <phase>pre-integration-test</phase>
306 <goal>prepare-agent</goal>
309 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
310 <!-- <append>true</append> -->
317 <phase>post-integration-test</phase>
320 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
321 <directory>${project.build.directory}/coverage-reports</directory>
323 <include>*.exec</include>
327 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
338 <groupId>org.mockito</groupId>
339 <artifactId>mockito-all</artifactId>
340 <version>1.9.5</version>
344 <groupId>org.powermock</groupId>
345 <artifactId>powermock-module-junit4</artifactId>
346 <version>${powermock.version}</version>
350 <groupId>org.powermock</groupId>
351 <artifactId>powermock-api-mockito</artifactId>
352 <version>${powermock.version}</version>
356 <groupId>junit</groupId>
357 <artifactId>junit</artifactId>
358 <version>4.10</version>
365 <!-- <module>auth-client</module> complile manually with mvn -N independently -->
366 <module>auth-core</module>
367 <module>auth-cass</module>
368 <module>auth-deforg</module>
370 <module>auth-service</module>
371 <module>auth-cmd</module>
372 <module>auth-batch</module>
374 <module>auth-gui</module>
375 <module>auth-locate</module>
376 <module>auth-oauth</module>
377 <module>auth-certman</module>
378 <module>auth-fs</module>
379 <module>auth-hello</module>
382 <dependencyManagement>
385 <groupId>org.onap.aaf.authz.misc</groupId>
386 <artifactId>aaf-misc-env</artifactId>
387 <version>${project.version}</version>
391 <groupId>org.onap.aaf.authz.misc</groupId>
392 <artifactId>aaf-misc-log4j</artifactId>
393 <version>${project.version}</version>
397 <groupId>org.onap.aaf.authz.misc</groupId>
398 <artifactId>aaf-misc-rosetta</artifactId>
399 <version>${project.version}</version>
403 <groupId>org.onap.aaf.authz.misc</groupId>
404 <artifactId>aaf-misc-xgen</artifactId>
405 <version>${project.version}</version>
409 <groupId>org.onap.aaf.authz.cadi</groupId>
410 <artifactId>aaf-cadi-core</artifactId>
411 <version>${project.version}</version>
415 <groupId>org.onap.aaf.authz.cadi</groupId>
416 <artifactId>aaf-cadi-client</artifactId>
417 <version>${project.version}</version>
421 <groupId>org.onap.aaf.authz.cadi</groupId>
422 <artifactId>aaf-cadi-aaf</artifactId>
423 <version>${project.version}</version>
426 <groupId>org.apache.cassandra</groupId>
427 <artifactId>cassandra-all</artifactId>
433 <groupId>org.onap.aaf.authz.auth</groupId>
434 <artifactId>aaf-auth-client</artifactId>
435 <version>${project.version}</version>
439 <groupId>org.onap.aaf.authz.auth</groupId>
440 <artifactId>aaf-auth-core</artifactId>
441 <version>${project.version}</version>
445 <groupId>org.onap.aaf.authz.auth</groupId>
446 <artifactId>aaf-auth-cass</artifactId>
447 <version>${project.version}</version>
451 <groupId>org.onap.aaf.authz.auth</groupId>
452 <artifactId>aaf-auth-cmd</artifactId>
453 <version>${project.version}</version>
457 <groupId>org.onap.aaf.authz.auth</groupId>
458 <artifactId>aaf-auth-oauth</artifactId>
459 <version>${project.version}</version>
463 <groupId>org.onap.aaf.authz.auth</groupId>
464 <artifactId>aaf-auth-deforg</artifactId>
465 <version>${project.version}</version>
469 <groupId>javax.servlet</groupId>
470 <artifactId>javax.servlet-api</artifactId>
471 <version>3.0.1</version>
475 <groupId>org.eclipse.jetty</groupId>
476 <artifactId>jetty-servlet</artifactId>
477 <version>${project.jettyVersion}</version>
481 <groupId>org.eclipse.jetty</groupId>
482 <artifactId>jetty-server</artifactId>
483 <version>${project.jettyVersion}</version>
487 <groupId>com.datastax.cassandra</groupId>
488 <artifactId>cassandra-all</artifactId>
489 <version>3.3.0</version>
492 <groupId>org.slf4j</groupId>
493 <artifactId>slf4j-log4j12</artifactId>
496 <groupId>log4j</groupId>
497 <artifactId>log4j</artifactId>
503 <groupId>com.datastax.cassandra</groupId>
504 <artifactId>cassandra-driver-core</artifactId>
505 <version>3.3.0</version>
508 <groupId>org.slf4j</groupId>
509 <artifactId>slf4j-log4j12</artifactId>
512 <groupId>log4j</groupId>
513 <artifactId>log4j</artifactId>
519 <groupId>org.slf4j</groupId>
520 <artifactId>slf4j-log4j12</artifactId>
521 <version>1.7.5</version>
525 <groupId>javax.mail</groupId>
526 <artifactId>mail</artifactId>
527 <version>1.4.5</version>
530 </dependencyManagement>