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>
33 <groupId>org.onap.oparent</groupId>
34 <artifactId>oparent</artifactId>
35 <version>1.1.0</version>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39 <project.interfaceVersion>2.10-SNAPSHOT</project.interfaceVersion>
40 <project.miscVersion>2.1.0-SNAPSHOT</project.miscVersion>
41 <project.cadiVersion>2.1.0-SNAPSHOT</project.cadiVersion>
42 <!-- >project.jettyVersion>9.3.22.v20171030</project.jettyVersion -->
43 <project.jettyVersion>9.4.8.v20171121</project.jettyVersion>
44 <powermock.version>1.5.1</powermock.version>
45 <project.conf_dir>/opt/app/osaaf/etc</project.conf_dir>
47 <jacoco.version>0.7.7.201606060606</jacoco.version>
48 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
49 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
50 <!-- Default Sonar configuration -->
51 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
52 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
53 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
54 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
55 <nexusproxy>https://nexus.onap.org</nexusproxy>
56 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
57 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
58 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
59 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
64 <name>Jonathan Gathman</name>
65 <email>jonathan.gathman@att.com</email>
66 <organization>ATT</organization>
68 <role>Architect</role>
69 <role>Lead Developer</role>
73 <name>Gabe Maurer</name>
74 <email>gabe.maurer@att.com</email>
75 <organization>ATT</organization>
77 <role>Developer</role>
81 <name>Ian Howell</name>
82 <email>ian.howell@att.com</email>
83 <organization>ATT</organization>
85 <role>Developer</role>
89 <name>Sai Gandham</name>
90 <email>sai.gandham@att.com</email>
91 <organization>ATT</organization>
93 <role>Developer</role>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-compiler-plugin</artifactId>
104 <version>2.3.2</version>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-deploy-plugin</artifactId>
113 <version>2.6</version>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-surefire-plugin</artifactId>
122 <version>2.17</version>
124 <skipTests>false</skipTests>
127 <include>**/JU*.java</include>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-failsafe-plugin</artifactId>
138 <version>2.17</version>
140 <skipTests>flase</skipTests>
144 <id>integration-test</id>
146 <goal>integration-test</goal>
153 <!-- Builds O/S Command line ready jars and scripts, ready to run/zip -->
155 <groupId>org.codehaus.mojo</groupId>
156 <artifactId>appassembler-maven-plugin</artifactId>
157 <version>1.10</version>
161 <goal>assemble</goal>
163 <phase>install</phase>
167 <programs/> <!-- this set in projects that have programs -->
168 <assembleDirectory>../aaf_${project.version}</assembleDirectory>
169 <copyConfigurationDirectory>false</copyConfigurationDirectory>
170 <configurationDirectory>etc</configurationDirectory>
171 <repositoryName>lib</repositoryName>
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.miscVersion}</version>
391 <groupId>org.onap.aaf.authz.misc</groupId>
392 <artifactId>aaf-misc-log4j</artifactId>
393 <version>${project.miscVersion}</version>
397 <groupId>org.onap.aaf.authz.misc</groupId>
398 <artifactId>aaf-misc-rosetta</artifactId>
399 <version>${project.miscVersion}</version>
403 <groupId>org.onap.aaf.authz.misc</groupId>
404 <artifactId>aaf-misc-xgen</artifactId>
405 <version>${project.miscVersion}</version>
409 <groupId>org.onap.aaf.authz.cadi</groupId>
410 <artifactId>aaf-cadi-core</artifactId>
411 <version>${project.cadiVersion}</version>
415 <groupId>org.onap.aaf.authz.cadi</groupId>
416 <artifactId>aaf-cadi-client</artifactId>
417 <version>${project.cadiVersion}</version>
421 <groupId>org.onap.aaf.authz.cadi</groupId>
422 <artifactId>aaf-cadi-aaf</artifactId>
423 <version>${project.cadiVersion}</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.interfaceVersion}</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>servlet-api</artifactId>
471 <version>2.5</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>