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>
45 <name>Jonathan Gathman</name>
46 <email>jonathan.gathman@att.com</email>
47 <organization>ATT</organization>
49 <role>Architect</role>
50 <role>Lead Developer</role>
54 <name>Gabe Maurer</name>
55 <email>gabe.maurer@att.com</email>
56 <organization>ATT</organization>
58 <role>Developer</role>
62 <name>Ian Howell</name>
63 <email>ian.howell@att.com</email>
64 <organization>ATT</organization>
66 <role>Developer</role>
70 <name>Sai Gandham</name>
71 <email>sai.gandham@att.com</email>
72 <organization>ATT</organization>
74 <role>Developer</role>
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-compiler-plugin</artifactId>
85 <version>2.3.2</version>
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-deploy-plugin</artifactId>
94 <version>2.6</version>
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-surefire-plugin</artifactId>
103 <version>2.17</version>
105 <skipTests>${skipTests}</skipTests>
107 <include>**/JU*.java</include>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-failsafe-plugin</artifactId>
118 <version>2.17</version>
120 <skipTests>true</skipTests>
124 <id>integration-test</id>
126 <goal>integration-test</goal>
133 <!-- Builds O/S Command line ready jars and scripts, ready to run/zip -->
135 <groupId>org.codehaus.mojo</groupId>
136 <artifactId>appassembler-maven-plugin</artifactId>
137 <version>1.10</version>
141 <goal>assemble</goal>
143 <phase>install</phase>
147 <programs/> <!-- this set in projects that have programs -->
148 <assembleDirectory>../aaf_${project.version}</assembleDirectory>
149 <copyConfigurationDirectory>false</copyConfigurationDirectory>
150 <configurationDirectory>etc</configurationDirectory>
151 <repositoryName>lib</repositoryName>
152 <repositoryLayout>flat</repositoryLayout>
156 <!-- Build Docker Image -->
158 <groupId>com.spotify</groupId>
159 <artifactId>docker-maven-plugin</artifactId>
160 <version>1.0.0</version>
162 <imageName>onap/osaaf/${project.artifactId}</imageName>
163 <!-- <dockerDirectory>${dockerLocation}</dockerDirectory> -->
164 <dockerDirectory>${basedir}/src/main/resources/docker</dockerDirectory>
166 <imageTag>latest</imageTag>
167 <imageTag>${project.docker.latesttagtimestamp.version}</imageTag>
168 <imageTag>${project.docker.latesttag.version}</imageTag>
170 <forceTags>true</forceTags>
171 <!-- <resources> <resource> <targetPath>/</targetPath> <directory>${project.build.directory}/opt</directory>
172 <filtering>true</filtering> <includes> <include>**/**</include> </includes>
173 </resource> </resources> -->
176 <targetPath>/</targetPath>
177 <directory>${project.build.directory}/opt</directory>
178 <include>${project.build.finalName}.jar</include>
181 <targetPath>/</targetPath>
182 <directory>${project.build.directory}</directory>
183 <include>**/**</include>
190 <phase>package</phase>
195 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
200 <id>tag-image-project-version</id>
201 <phase>package</phase>
206 <image>onap/osaaf/${project.artifactId}</image>
207 <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</newName>
208 <skipDockerTag>${skip.docker.push}</skipDockerTag>
213 <id>tag-image-latest</id>
214 <phase>package</phase>
219 <image>onap/aaf/authz-service</image>
220 <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</newName>
221 <skipDockerTag>${skip.docker.push}</skipDockerTag>
226 <id>push-image-latest</id>
227 <phase>deploy</phase>
232 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</imageName>
233 <skipDockerPush>${skip.docker.push}</skipDockerPush>
239 <phase>deploy</phase>
244 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</imageName>
245 <skipDockerPush>${skip.docker.push}</skipDockerPush>
256 <groupId>org.mockito</groupId>
257 <artifactId>mockito-all</artifactId>
258 <version>1.9.5</version>
262 <groupId>org.powermock</groupId>
263 <artifactId>powermock-module-junit4</artifactId>
264 <version>${powermock.version}</version>
268 <groupId>org.powermock</groupId>
269 <artifactId>powermock-api-mockito</artifactId>
270 <version>${powermock.version}</version>
274 <groupId>junit</groupId>
275 <artifactId>junit</artifactId>
276 <version>4.10</version>
283 <!-- <module>auth-client</module> complile manually with mvn -N independently -->
284 <module>auth-core</module>
285 <module>auth-cass</module>
286 <module>auth-deforg</module>
288 <module>auth-service</module>
289 <module>auth-cmd</module>
290 <module>auth-batch</module>
292 <module>auth-gui</module>
293 <module>auth-locate</module>
294 <module>auth-oauth</module>
295 <module>auth-certman</module>
296 <module>auth-fs</module>
297 <module>auth-hello</module>
300 <dependencyManagement>
303 <groupId>org.onap.aaf.misc</groupId>
304 <artifactId>aaf-misc-env</artifactId>
305 <version>${project.miscVersion}</version>
309 <groupId>org.onap.aaf.misc</groupId>
310 <artifactId>aaf-misc-log4j</artifactId>
311 <version>${project.miscVersion}</version>
315 <groupId>org.onap.aaf.misc</groupId>
316 <artifactId>aaf-misc-rosetta</artifactId>
317 <version>${project.miscVersion}</version>
321 <groupId>org.onap.aaf.misc</groupId>
322 <artifactId>aaf-misc-xgen</artifactId>
323 <version>${project.miscVersion}</version>
327 <groupId>org.onap.aaf.cadi</groupId>
328 <artifactId>aaf-cadi-core</artifactId>
329 <version>${project.cadiVersion}</version>
333 <groupId>org.onap.aaf.cadi</groupId>
334 <artifactId>aaf-cadi-client</artifactId>
335 <version>${project.cadiVersion}</version>
339 <groupId>org.onap.aaf.cadi</groupId>
340 <artifactId>aaf-cadi-aaf</artifactId>
341 <version>${project.cadiVersion}</version>
344 <groupId>org.apache.cassandra</groupId>
345 <artifactId>cassandra-all</artifactId>
351 <groupId>org.onap.aaf.auth</groupId>
352 <artifactId>aaf-auth-client</artifactId>
353 <version>${project.interfaceVersion}</version>
357 <groupId>org.onap.aaf.auth</groupId>
358 <artifactId>aaf-auth-core</artifactId>
359 <version>${project.version}</version>
363 <groupId>org.onap.aaf.auth</groupId>
364 <artifactId>aaf-auth-cass</artifactId>
365 <version>${project.version}</version>
369 <groupId>org.onap.aaf.auth</groupId>
370 <artifactId>aaf-auth-cmd</artifactId>
371 <version>${project.version}</version>
375 <groupId>org.onap.aaf.auth</groupId>
376 <artifactId>aaf-auth-oauth</artifactId>
377 <version>${project.version}</version>
381 <groupId>org.onap.aaf.auth</groupId>
382 <artifactId>aaf-auth-deforg</artifactId>
383 <version>${project.version}</version>
387 <groupId>javax.servlet</groupId>
388 <artifactId>servlet-api</artifactId>
389 <version>2.5</version>
393 <groupId>org.eclipse.jetty</groupId>
394 <artifactId>jetty-servlet</artifactId>
395 <version>${project.jettyVersion}</version>
399 <groupId>org.eclipse.jetty</groupId>
400 <artifactId>jetty-server</artifactId>
401 <version>${project.jettyVersion}</version>
405 <groupId>org.eclipse.jetty</groupId>
406 <artifactId>jetty-jmx</artifactId>
407 <version>${project.jettyVersion}</version>
411 <groupId>com.datastax.cassandra</groupId>
412 <artifactId>cassandra-all</artifactId>
413 <version>3.3.0</version>
416 <groupId>org.slf4j</groupId>
417 <artifactId>slf4j-log4j12</artifactId>
420 <groupId>log4j</groupId>
421 <artifactId>log4j</artifactId>
426 <groupId>com.datastax.cassandra</groupId>
427 <artifactId>cassandra-driver-core</artifactId>
428 <!-- version>1.0.3</version -->
429 <!-- version>1.0.5</version -->
430 <version>3.3.0</version>
433 <groupId>org.slf4j</groupId>
434 <artifactId>slf4j-log4j12</artifactId>
437 <groupId>log4j</groupId>
438 <artifactId>log4j</artifactId>
444 <groupId>org.slf4j</groupId>
445 <artifactId>slf4j-log4j12</artifactId>
446 <version>1.7.5</version>
450 <groupId>javax.mail</groupId>
451 <artifactId>mail</artifactId>
452 <version>1.4.5</version>
455 </dependencyManagement>