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>
26 <groupId>org.onap.aaf.authz.auth</groupId>
27 <artifactId>parent</artifactId>
28 <version>2.1.0-SNAPSHOT</version>
29 <name>AAF Auth Parent</name>
30 <packaging>pom</packaging>
32 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33 <skipTests>true</skipTests>
34 <project.interfaceVersion>2.10-SNAPSHOT</project.interfaceVersion>
35 <project.miscVersion>1.3.0-SNAPSHOT</project.miscVersion>
36 <project.cadiVersion>1.5.0-SNAPSHOT</project.cadiVersion>
37 <!-- >project.jettyVersion>9.3.22.v20171030</project.jettyVersion -->
38 <project.jettyVersion>9.4.8.v20171121</project.jettyVersion>
39 <powermock.version>1.5.1</powermock.version>
40 <project.conf_dir>/opt/app/osaaf/etc</project.conf_dir>
42 <jacoco.version>0.7.7.201606060606</jacoco.version>
43 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
44 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
45 <!-- Default Sonar configuration -->
46 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
47 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
48 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
49 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
50 <nexusproxy>https://nexus.onap.org</nexusproxy>
51 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
52 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
53 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
54 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
59 <name>Jonathan Gathman</name>
60 <email>jonathan.gathman@att.com</email>
61 <organization>ATT</organization>
63 <role>Architect</role>
64 <role>Lead Developer</role>
68 <name>Gabe Maurer</name>
69 <email>gabe.maurer@att.com</email>
70 <organization>ATT</organization>
72 <role>Developer</role>
76 <name>Ian Howell</name>
77 <email>ian.howell@att.com</email>
78 <organization>ATT</organization>
80 <role>Developer</role>
84 <name>Sai Gandham</name>
85 <email>sai.gandham@att.com</email>
86 <organization>ATT</organization>
88 <role>Developer</role>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-compiler-plugin</artifactId>
99 <version>2.3.2</version>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-deploy-plugin</artifactId>
108 <version>2.6</version>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-surefire-plugin</artifactId>
117 <version>2.17</version>
119 <skipTests>true</skipTests>
122 <include>**/JU*.java</include>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-failsafe-plugin</artifactId>
133 <version>2.17</version>
135 <skipTests>true</skipTests>
139 <id>integration-test</id>
141 <goal>integration-test</goal>
148 <!-- Builds O/S Command line ready jars and scripts, ready to run/zip -->
150 <groupId>org.codehaus.mojo</groupId>
151 <artifactId>appassembler-maven-plugin</artifactId>
152 <version>1.10</version>
156 <goal>assemble</goal>
158 <phase>install</phase>
162 <programs/> <!-- this set in projects that have programs -->
163 <assembleDirectory>../aaf_${project.version}</assembleDirectory>
164 <copyConfigurationDirectory>false</copyConfigurationDirectory>
165 <configurationDirectory>etc</configurationDirectory>
166 <repositoryName>lib</repositoryName>
167 <repositoryLayout>flat</repositoryLayout>
171 <!-- Build Docker Image -->
173 <groupId>com.spotify</groupId>
174 <artifactId>docker-maven-plugin</artifactId>
175 <version>1.0.0</version>
177 <imageName>onap/osaaf/${project.artifactId}</imageName>
178 <!-- <dockerDirectory>${dockerLocation}</dockerDirectory> -->
179 <dockerDirectory>${basedir}/src/main/resources/docker</dockerDirectory>
181 <imageTag>latest</imageTag>
182 <imageTag>${project.docker.latesttagtimestamp.version}</imageTag>
183 <imageTag>${project.docker.latesttag.version}</imageTag>
185 <forceTags>true</forceTags>
186 <!-- <resources> <resource> <targetPath>/</targetPath> <directory>${project.build.directory}/opt</directory>
187 <filtering>true</filtering> <includes> <include>**/**</include> </includes>
188 </resource> </resources> -->
191 <targetPath>/</targetPath>
192 <directory>${project.build.directory}/opt</directory>
193 <include>${project.build.finalName}.jar</include>
196 <targetPath>/</targetPath>
197 <directory>${project.build.directory}</directory>
198 <include>**/**</include>
205 <phase>package</phase>
210 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
215 <id>tag-image-project-version</id>
216 <phase>package</phase>
221 <image>onap/osaaf/${project.artifactId}</image>
222 <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</newName>
223 <skipDockerTag>${skip.docker.push}</skipDockerTag>
228 <id>tag-image-latest</id>
229 <phase>package</phase>
234 <image>onap/aaf/authz-service</image>
235 <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</newName>
236 <skipDockerTag>${skip.docker.push}</skipDockerTag>
241 <id>push-image-latest</id>
242 <phase>deploy</phase>
247 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</imageName>
248 <skipDockerPush>${skip.docker.push}</skipDockerPush>
254 <phase>deploy</phase>
259 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</imageName>
260 <skipDockerPush>${skip.docker.push}</skipDockerPush>
266 <groupId>org.sonatype.plugins</groupId>
267 <artifactId>nexus-staging-maven-plugin</artifactId>
268 <version>1.6.7</version>
269 <extensions>true</extensions>
271 <nexusUrl>${nexusproxy}</nexusUrl>
272 <stagingProfileId>176c31dfe190a</stagingProfileId>
273 <serverId>ecomp-staging</serverId>
277 <groupId>org.jacoco</groupId>
278 <artifactId>jacoco-maven-plugin</artifactId>
279 <version>0.7.7.201606060606</version>
281 <dumpOnExit>true</dumpOnExit>
283 <include>org.onap.aaf.*</include>
288 <id>pre-unit-test</id>
290 <goal>prepare-agent</goal>
293 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
294 <!-- <append>true</append> -->
298 <id>pre-integration-test</id>
299 <phase>pre-integration-test</phase>
301 <goal>prepare-agent</goal>
304 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
305 <!-- <append>true</append> -->
312 <phase>post-integration-test</phase>
315 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
316 <directory>${project.build.directory}/coverage-reports</directory>
318 <include>*.exec</include>
322 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
333 <groupId>org.mockito</groupId>
334 <artifactId>mockito-all</artifactId>
335 <version>1.9.5</version>
339 <groupId>org.powermock</groupId>
340 <artifactId>powermock-module-junit4</artifactId>
341 <version>${powermock.version}</version>
345 <groupId>org.powermock</groupId>
346 <artifactId>powermock-api-mockito</artifactId>
347 <version>${powermock.version}</version>
351 <groupId>junit</groupId>
352 <artifactId>junit</artifactId>
353 <version>4.10</version>
360 <!-- <module>auth-client</module> complile manually with mvn -N independently -->
361 <module>auth-core</module>
362 <module>auth-cass</module>
363 <module>auth-deforg</module>
365 <module>auth-service</module>
366 <module>auth-cmd</module>
367 <module>auth-batch</module>
369 <module>auth-gui</module>
370 <module>auth-locate</module>
371 <module>auth-oauth</module>
372 <module>auth-certman</module>
373 <module>auth-fs</module>
374 <module>auth-hello</module>
377 <dependencyManagement>
380 <groupId>org.onap.aaf.authz.misc</groupId>
381 <artifactId>aaf-misc-env</artifactId>
382 <version>${project.miscVersion}</version>
386 <groupId>org.onap.aaf.authz.misc</groupId>
387 <artifactId>aaf-misc-log4j</artifactId>
388 <version>${project.miscVersion}</version>
392 <groupId>org.onap.aaf.authz.misc</groupId>
393 <artifactId>aaf-misc-rosetta</artifactId>
394 <version>${project.miscVersion}</version>
398 <groupId>org.onap.aaf.authz.misc</groupId>
399 <artifactId>aaf-misc-xgen</artifactId>
400 <version>${project.miscVersion}</version>
404 <groupId>org.onap.aaf.authz.cadi</groupId>
405 <artifactId>aaf-cadi-core</artifactId>
406 <version>${project.cadiVersion}</version>
410 <groupId>org.onap.aaf.authz.cadi</groupId>
411 <artifactId>aaf-cadi-client</artifactId>
412 <version>${project.cadiVersion}</version>
416 <groupId>org.onap.aaf.authz.cadi</groupId>
417 <artifactId>aaf-cadi-aaf</artifactId>
418 <version>${project.cadiVersion}</version>
421 <groupId>org.apache.cassandra</groupId>
422 <artifactId>cassandra-all</artifactId>
428 <groupId>org.onap.aaf.authz.auth</groupId>
429 <artifactId>aaf-auth-client</artifactId>
430 <version>${project.interfaceVersion}</version>
434 <groupId>org.onap.aaf.authz.auth</groupId>
435 <artifactId>aaf-auth-core</artifactId>
436 <version>${project.version}</version>
440 <groupId>org.onap.aaf.authz.auth</groupId>
441 <artifactId>aaf-auth-cass</artifactId>
442 <version>${project.version}</version>
446 <groupId>org.onap.aaf.authz.auth</groupId>
447 <artifactId>aaf-auth-cmd</artifactId>
448 <version>${project.version}</version>
452 <groupId>org.onap.aaf.authz.auth</groupId>
453 <artifactId>aaf-auth-oauth</artifactId>
454 <version>${project.version}</version>
458 <groupId>org.onap.aaf.authz.auth</groupId>
459 <artifactId>aaf-auth-deforg</artifactId>
460 <version>${project.version}</version>
464 <groupId>javax.servlet</groupId>
465 <artifactId>servlet-api</artifactId>
466 <version>2.5</version>
470 <groupId>org.eclipse.jetty</groupId>
471 <artifactId>jetty-servlet</artifactId>
472 <version>${project.jettyVersion}</version>
476 <groupId>org.eclipse.jetty</groupId>
477 <artifactId>jetty-server</artifactId>
478 <version>${project.jettyVersion}</version>
482 <groupId>org.eclipse.jetty</groupId>
483 <artifactId>jetty-jmx</artifactId>
484 <version>${project.jettyVersion}</version>
488 <groupId>com.datastax.cassandra</groupId>
489 <artifactId>cassandra-all</artifactId>
490 <version>3.3.0</version>
493 <groupId>org.slf4j</groupId>
494 <artifactId>slf4j-log4j12</artifactId>
497 <groupId>log4j</groupId>
498 <artifactId>log4j</artifactId>
503 <groupId>com.datastax.cassandra</groupId>
504 <artifactId>cassandra-driver-core</artifactId>
505 <!-- version>1.0.3</version -->
506 <!-- version>1.0.5</version -->
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>