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.miscVersion>2.1.0-SNAPSHOT</project.miscVersion>
42 <project.cadiVersion>2.1.0-SNAPSHOT</project.cadiVersion>
43 <!-- >project.jettyVersion>9.3.22.v20171030</project.jettyVersion -->
44 <project.jettyVersion>9.4.8.v20171121</project.jettyVersion>
45 <powermock.version>1.5.1</powermock.version>
46 <project.ext_root_dir>/opt/app/osaaf</project.ext_root_dir>
48 <jacoco.version>0.7.7.201606060606</jacoco.version>
49 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
50 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
51 <!-- Default Sonar configuration -->
52 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
53 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
54 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
55 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
56 <nexusproxy>https://nexus.onap.org</nexusproxy>
57 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
58 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
59 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
60 <sitePath>/content/sites/site/org/onap/aaf/authz/auth/${project.artifactId}/${project.version}</sitePath>
65 <name>Jonathan Gathman</name>
66 <email>jonathan.gathman@att.com</email>
67 <organization>ATT</organization>
69 <role>Architect</role>
70 <role>Lead Developer</role>
74 <name>Gabe Maurer</name>
75 <email>gabe.maurer@att.com</email>
76 <organization>ATT</organization>
78 <role>Developer</role>
82 <name>Ian Howell</name>
83 <email>ian.howell@att.com</email>
84 <organization>ATT</organization>
86 <role>Developer</role>
90 <name>Sai Gandham</name>
91 <email>sai.gandham@att.com</email>
92 <organization>ATT</organization>
94 <role>Developer</role>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-compiler-plugin</artifactId>
105 <version>2.3.2</version>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-deploy-plugin</artifactId>
114 <version>2.6</version>
121 <groupId>org.apache.maven.plugins</groupId>
122 <artifactId>maven-surefire-plugin</artifactId>
123 <version>2.17</version>
125 <skipTests>false</skipTests>
128 <include>**/JU*.java</include>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-failsafe-plugin</artifactId>
139 <version>2.17</version>
141 <skipTests>false</skipTests>
145 <id>integration-test</id>
147 <goal>integration-test</goal>
154 <!-- Builds O/S Command line ready jars and scripts, ready to run/zip -->
156 <groupId>org.codehaus.mojo</groupId>
157 <artifactId>appassembler-maven-plugin</artifactId>
158 <version>1.10</version>
162 <goal>assemble</goal>
164 <phase>install</phase>
168 <programs/> <!-- this set in projects that have programs -->
169 <assembleDirectory>../aaf_${project.version}</assembleDirectory>
170 <copyConfigurationDirectory>true</copyConfigurationDirectory>
171 <configurationDirectory>etc</configurationDirectory>
172 <repositoryName>lib</repositoryName>
173 <includeConfigurationDirectoryInClasspath>false</includeConfigurationDirectoryInClasspath>
174 <repositoryLayout>flat</repositoryLayout>
178 <!-- Build Docker Image -->
180 <groupId>com.spotify</groupId>
181 <artifactId>docker-maven-plugin</artifactId>
182 <version>1.0.0</version>
184 <imageName>onap/osaaf/${project.artifactId}</imageName>
185 <!-- <dockerDirectory>${dockerLocation}</dockerDirectory> -->
186 <dockerDirectory>${basedir}/src/main/resources/docker</dockerDirectory>
188 <imageTag>latest</imageTag>
189 <imageTag>${project.docker.latesttagtimestamp.version}</imageTag>
190 <imageTag>${project.docker.latesttag.version}</imageTag>
192 <forceTags>true</forceTags>
193 <!-- <resources> <resource> <targetPath>/</targetPath> <directory>${project.build.directory}/opt</directory>
194 <filtering>true</filtering> <includes> <include>**/**</include> </includes>
195 </resource> </resources> -->
198 <targetPath>/</targetPath>
199 <directory>${project.build.directory}/opt</directory>
200 <include>${project.build.finalName}.jar</include>
203 <targetPath>/</targetPath>
204 <directory>${project.build.directory}</directory>
205 <include>**/**</include>
212 <phase>package</phase>
217 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
222 <id>tag-image-project-version</id>
223 <phase>package</phase>
228 <image>onap/osaaf/${project.artifactId}</image>
229 <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</newName>
230 <skipDockerTag>${skip.docker.push}</skipDockerTag>
235 <id>tag-image-latest</id>
236 <phase>package</phase>
241 <image>onap/aaf/authz-service</image>
242 <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</newName>
243 <skipDockerTag>${skip.docker.push}</skipDockerTag>
248 <id>push-image-latest</id>
249 <phase>deploy</phase>
254 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</imageName>
255 <skipDockerPush>${skip.docker.push}</skipDockerPush>
261 <phase>deploy</phase>
266 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</imageName>
267 <skipDockerPush>${skip.docker.push}</skipDockerPush>
273 <groupId>org.sonatype.plugins</groupId>
274 <artifactId>nexus-staging-maven-plugin</artifactId>
275 <version>1.6.7</version>
276 <extensions>true</extensions>
278 <nexusUrl>${nexusproxy}</nexusUrl>
279 <stagingProfileId>176c31dfe190a</stagingProfileId>
280 <serverId>ecomp-staging</serverId>
284 <groupId>org.jacoco</groupId>
285 <artifactId>jacoco-maven-plugin</artifactId>
286 <version>0.7.7.201606060606</version>
288 <dumpOnExit>true</dumpOnExit>
290 <include>org.onap.aaf.*</include>
295 <id>pre-unit-test</id>
297 <goal>prepare-agent</goal>
300 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
301 <!-- <append>true</append> -->
305 <id>pre-integration-test</id>
306 <phase>pre-integration-test</phase>
308 <goal>prepare-agent</goal>
311 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
312 <!-- <append>true</append> -->
319 <phase>post-integration-test</phase>
322 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
323 <directory>${project.build.directory}/coverage-reports</directory>
325 <include>*.exec</include>
329 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
340 <groupId>org.mockito</groupId>
341 <artifactId>mockito-all</artifactId>
342 <version>1.9.5</version>
346 <groupId>org.powermock</groupId>
347 <artifactId>powermock-module-junit4</artifactId>
348 <version>${powermock.version}</version>
352 <groupId>org.powermock</groupId>
353 <artifactId>powermock-api-mockito</artifactId>
354 <version>${powermock.version}</version>
358 <groupId>junit</groupId>
359 <artifactId>junit</artifactId>
360 <version>4.10</version>
367 <!-- <module>auth-client</module> complile manually with mvn -N independently -->
368 <module>auth-core</module>
369 <module>auth-cass</module>
370 <module>auth-deforg</module>
372 <module>auth-service</module>
373 <module>auth-cmd</module>
374 <module>auth-batch</module>
376 <module>auth-gui</module>
377 <module>auth-locate</module>
378 <module>auth-oauth</module>
379 <module>auth-certman</module>
380 <module>auth-fs</module>
381 <module>auth-hello</module>
384 <dependencyManagement>
387 <groupId>org.onap.aaf.authz.misc</groupId>
388 <artifactId>aaf-misc-env</artifactId>
389 <version>${project.miscVersion}</version>
393 <groupId>org.onap.aaf.authz.misc</groupId>
394 <artifactId>aaf-misc-log4j</artifactId>
395 <version>${project.miscVersion}</version>
399 <groupId>org.onap.aaf.authz.misc</groupId>
400 <artifactId>aaf-misc-rosetta</artifactId>
401 <version>${project.miscVersion}</version>
405 <groupId>org.onap.aaf.authz.misc</groupId>
406 <artifactId>aaf-misc-xgen</artifactId>
407 <version>${project.miscVersion}</version>
411 <groupId>org.onap.aaf.authz.cadi</groupId>
412 <artifactId>aaf-cadi-core</artifactId>
413 <version>${project.cadiVersion}</version>
417 <groupId>org.onap.aaf.authz.cadi</groupId>
418 <artifactId>aaf-cadi-client</artifactId>
419 <version>${project.cadiVersion}</version>
423 <groupId>org.onap.aaf.authz.cadi</groupId>
424 <artifactId>aaf-cadi-aaf</artifactId>
425 <version>${project.cadiVersion}</version>
428 <groupId>org.apache.cassandra</groupId>
429 <artifactId>cassandra-all</artifactId>
435 <groupId>org.onap.aaf.authz.auth</groupId>
436 <artifactId>aaf-auth-client</artifactId>
437 <version>${project.interfaceVersion}</version>
441 <groupId>org.onap.aaf.authz.auth</groupId>
442 <artifactId>aaf-auth-core</artifactId>
443 <version>${project.version}</version>
447 <groupId>org.onap.aaf.authz.auth</groupId>
448 <artifactId>aaf-auth-cass</artifactId>
449 <version>${project.version}</version>
453 <groupId>org.onap.aaf.authz.auth</groupId>
454 <artifactId>aaf-auth-cmd</artifactId>
455 <version>${project.version}</version>
459 <groupId>org.onap.aaf.authz.auth</groupId>
460 <artifactId>aaf-auth-oauth</artifactId>
461 <version>${project.version}</version>
465 <groupId>org.onap.aaf.authz.auth</groupId>
466 <artifactId>aaf-auth-deforg</artifactId>
467 <version>${project.version}</version>
471 <groupId>javax.servlet</groupId>
472 <artifactId>javax.servlet-api</artifactId>
473 <version>3.0.1</version>
477 <groupId>org.eclipse.jetty</groupId>
478 <artifactId>jetty-servlet</artifactId>
479 <version>${project.jettyVersion}</version>
483 <groupId>org.eclipse.jetty</groupId>
484 <artifactId>jetty-server</artifactId>
485 <version>${project.jettyVersion}</version>
489 <groupId>com.datastax.cassandra</groupId>
490 <artifactId>cassandra-all</artifactId>
491 <version>3.3.0</version>
494 <groupId>org.slf4j</groupId>
495 <artifactId>slf4j-log4j12</artifactId>
498 <groupId>log4j</groupId>
499 <artifactId>log4j</artifactId>
505 <groupId>com.datastax.cassandra</groupId>
506 <artifactId>cassandra-driver-core</artifactId>
507 <version>3.3.0</version>
510 <groupId>org.slf4j</groupId>
511 <artifactId>slf4j-log4j12</artifactId>
514 <groupId>log4j</groupId>
515 <artifactId>log4j</artifactId>
521 <groupId>org.slf4j</groupId>
522 <artifactId>slf4j-log4j12</artifactId>
523 <version>1.7.5</version>
527 <groupId>javax.mail</groupId>
528 <artifactId>mail</artifactId>
529 <version>1.4.5</version>
532 </dependencyManagement>