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.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>${skipTests}</skipTests>
121 <include>**/JU*.java</include>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-failsafe-plugin</artifactId>
132 <version>2.17</version>
134 <skipTests>true</skipTests>
138 <id>integration-test</id>
140 <goal>integration-test</goal>
147 <!-- Builds O/S Command line ready jars and scripts, ready to run/zip -->
149 <groupId>org.codehaus.mojo</groupId>
150 <artifactId>appassembler-maven-plugin</artifactId>
151 <version>1.10</version>
155 <goal>assemble</goal>
157 <phase>install</phase>
161 <programs/> <!-- this set in projects that have programs -->
162 <assembleDirectory>../aaf_${project.version}</assembleDirectory>
163 <copyConfigurationDirectory>false</copyConfigurationDirectory>
164 <configurationDirectory>etc</configurationDirectory>
165 <repositoryName>lib</repositoryName>
166 <repositoryLayout>flat</repositoryLayout>
170 <!-- Build Docker Image -->
172 <groupId>com.spotify</groupId>
173 <artifactId>docker-maven-plugin</artifactId>
174 <version>1.0.0</version>
176 <imageName>onap/osaaf/${project.artifactId}</imageName>
177 <!-- <dockerDirectory>${dockerLocation}</dockerDirectory> -->
178 <dockerDirectory>${basedir}/src/main/resources/docker</dockerDirectory>
180 <imageTag>latest</imageTag>
181 <imageTag>${project.docker.latesttagtimestamp.version}</imageTag>
182 <imageTag>${project.docker.latesttag.version}</imageTag>
184 <forceTags>true</forceTags>
185 <!-- <resources> <resource> <targetPath>/</targetPath> <directory>${project.build.directory}/opt</directory>
186 <filtering>true</filtering> <includes> <include>**/**</include> </includes>
187 </resource> </resources> -->
190 <targetPath>/</targetPath>
191 <directory>${project.build.directory}/opt</directory>
192 <include>${project.build.finalName}.jar</include>
195 <targetPath>/</targetPath>
196 <directory>${project.build.directory}</directory>
197 <include>**/**</include>
204 <phase>package</phase>
209 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
214 <id>tag-image-project-version</id>
215 <phase>package</phase>
220 <image>onap/osaaf/${project.artifactId}</image>
221 <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</newName>
222 <skipDockerTag>${skip.docker.push}</skipDockerTag>
227 <id>tag-image-latest</id>
228 <phase>package</phase>
233 <image>onap/aaf/authz-service</image>
234 <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</newName>
235 <skipDockerTag>${skip.docker.push}</skipDockerTag>
240 <id>push-image-latest</id>
241 <phase>deploy</phase>
246 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</imageName>
247 <skipDockerPush>${skip.docker.push}</skipDockerPush>
253 <phase>deploy</phase>
258 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</imageName>
259 <skipDockerPush>${skip.docker.push}</skipDockerPush>
265 <groupId>org.sonatype.plugins</groupId>
266 <artifactId>nexus-staging-maven-plugin</artifactId>
267 <version>1.6.7</version>
268 <extensions>true</extensions>
270 <nexusUrl>${nexusproxy}</nexusUrl>
271 <stagingProfileId>176c31dfe190a</stagingProfileId>
272 <serverId>ecomp-staging</serverId>
276 <groupId>org.jacoco</groupId>
277 <artifactId>jacoco-maven-plugin</artifactId>
278 <version>0.7.7.201606060606</version>
280 <dumpOnExit>true</dumpOnExit>
282 <include>org.onap.aaf.*</include>
287 <id>pre-unit-test</id>
289 <goal>prepare-agent</goal>
292 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
293 <!-- <append>true</append> -->
297 <id>pre-integration-test</id>
298 <phase>pre-integration-test</phase>
300 <goal>prepare-agent</goal>
303 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
304 <!-- <append>true</append> -->
311 <phase>post-integration-test</phase>
314 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
315 <directory>${project.build.directory}/coverage-reports</directory>
317 <include>*.exec</include>
321 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
332 <groupId>org.mockito</groupId>
333 <artifactId>mockito-all</artifactId>
334 <version>1.9.5</version>
338 <groupId>org.powermock</groupId>
339 <artifactId>powermock-module-junit4</artifactId>
340 <version>${powermock.version}</version>
344 <groupId>org.powermock</groupId>
345 <artifactId>powermock-api-mockito</artifactId>
346 <version>${powermock.version}</version>
350 <groupId>junit</groupId>
351 <artifactId>junit</artifactId>
352 <version>4.10</version>
359 <!-- <module>auth-client</module> complile manually with mvn -N independently -->
360 <module>auth-core</module>
361 <module>auth-cass</module>
362 <module>auth-deforg</module>
364 <module>auth-service</module>
365 <module>auth-cmd</module>
366 <module>auth-batch</module>
368 <module>auth-gui</module>
369 <module>auth-locate</module>
370 <module>auth-oauth</module>
371 <module>auth-certman</module>
372 <module>auth-fs</module>
373 <module>auth-hello</module>
376 <dependencyManagement>
379 <groupId>org.onap.aaf.misc</groupId>
380 <artifactId>aaf-misc-env</artifactId>
381 <version>${project.miscVersion}</version>
385 <groupId>org.onap.aaf.misc</groupId>
386 <artifactId>aaf-misc-log4j</artifactId>
387 <version>${project.miscVersion}</version>
391 <groupId>org.onap.aaf.misc</groupId>
392 <artifactId>aaf-misc-rosetta</artifactId>
393 <version>${project.miscVersion}</version>
397 <groupId>org.onap.aaf.misc</groupId>
398 <artifactId>aaf-misc-xgen</artifactId>
399 <version>${project.miscVersion}</version>
403 <groupId>org.onap.aaf.cadi</groupId>
404 <artifactId>aaf-cadi-core</artifactId>
405 <version>${project.cadiVersion}</version>
409 <groupId>org.onap.aaf.cadi</groupId>
410 <artifactId>aaf-cadi-client</artifactId>
411 <version>${project.cadiVersion}</version>
415 <groupId>org.onap.aaf.cadi</groupId>
416 <artifactId>aaf-cadi-aaf</artifactId>
417 <version>${project.cadiVersion}</version>
420 <groupId>org.apache.cassandra</groupId>
421 <artifactId>cassandra-all</artifactId>
427 <groupId>org.onap.aaf.auth</groupId>
428 <artifactId>aaf-auth-client</artifactId>
429 <version>${project.interfaceVersion}</version>
433 <groupId>org.onap.aaf.auth</groupId>
434 <artifactId>aaf-auth-core</artifactId>
435 <version>${project.version}</version>
439 <groupId>org.onap.aaf.auth</groupId>
440 <artifactId>aaf-auth-cass</artifactId>
441 <version>${project.version}</version>
445 <groupId>org.onap.aaf.auth</groupId>
446 <artifactId>aaf-auth-cmd</artifactId>
447 <version>${project.version}</version>
451 <groupId>org.onap.aaf.auth</groupId>
452 <artifactId>aaf-auth-oauth</artifactId>
453 <version>${project.version}</version>
457 <groupId>org.onap.aaf.auth</groupId>
458 <artifactId>aaf-auth-deforg</artifactId>
459 <version>${project.version}</version>
463 <groupId>javax.servlet</groupId>
464 <artifactId>servlet-api</artifactId>
465 <version>2.5</version>
469 <groupId>org.eclipse.jetty</groupId>
470 <artifactId>jetty-servlet</artifactId>
471 <version>${project.jettyVersion}</version>
475 <groupId>org.eclipse.jetty</groupId>
476 <artifactId>jetty-server</artifactId>
477 <version>${project.jettyVersion}</version>
481 <groupId>org.eclipse.jetty</groupId>
482 <artifactId>jetty-jmx</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>
502 <groupId>com.datastax.cassandra</groupId>
503 <artifactId>cassandra-driver-core</artifactId>
504 <!-- version>1.0.3</version -->
505 <!-- version>1.0.5</version -->
506 <version>3.3.0</version>
509 <groupId>org.slf4j</groupId>
510 <artifactId>slf4j-log4j12</artifactId>
513 <groupId>log4j</groupId>
514 <artifactId>log4j</artifactId>
520 <groupId>org.slf4j</groupId>
521 <artifactId>slf4j-log4j12</artifactId>
522 <version>1.7.5</version>
526 <groupId>javax.mail</groupId>
527 <artifactId>mail</artifactId>
528 <version>1.4.5</version>
531 </dependencyManagement>