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>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-compiler-plugin</artifactId>
77 <version>2.3.2</version>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-deploy-plugin</artifactId>
86 <version>2.6</version>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-surefire-plugin</artifactId>
95 <version>2.17</version>
97 <skipTests>${skipTests}</skipTests>
99 <include>**/JU*.java</include>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-failsafe-plugin</artifactId>
110 <version>2.17</version>
112 <skipTests>true</skipTests>
116 <id>integration-test</id>
118 <goal>integration-test</goal>
125 <!-- Builds O/S Command line ready jars and scripts, ready to run/zip -->
127 <groupId>org.codehaus.mojo</groupId>
128 <artifactId>appassembler-maven-plugin</artifactId>
129 <version>1.10</version>
133 <goal>assemble</goal>
135 <phase>install</phase>
139 <programs/> <!-- this set in projects that have programs -->
140 <assembleDirectory>../aaf_${project.version}</assembleDirectory>
141 <copyConfigurationDirectory>false</copyConfigurationDirectory>
142 <configurationDirectory>etc</configurationDirectory>
143 <repositoryName>lib</repositoryName>
144 <repositoryLayout>flat</repositoryLayout>
148 <!-- Build Docker Image -->
150 <groupId>com.spotify</groupId>
151 <artifactId>docker-maven-plugin</artifactId>
152 <version>1.0.0</version>
154 <imageName>onap/osaaf/${project.artifactId}</imageName>
155 <!-- <dockerDirectory>${dockerLocation}</dockerDirectory> -->
156 <dockerDirectory>${basedir}/src/main/resources/docker</dockerDirectory>
158 <imageTag>latest</imageTag>
159 <imageTag>${project.docker.latesttagtimestamp.version}</imageTag>
160 <imageTag>${project.docker.latesttag.version}</imageTag>
162 <forceTags>true</forceTags>
163 <!-- <resources> <resource> <targetPath>/</targetPath> <directory>${project.build.directory}/opt</directory>
164 <filtering>true</filtering> <includes> <include>**/**</include> </includes>
165 </resource> </resources> -->
168 <targetPath>/</targetPath>
169 <directory>${project.build.directory}/opt</directory>
170 <include>${project.build.finalName}.jar</include>
173 <targetPath>/</targetPath>
174 <directory>${project.build.directory}</directory>
175 <include>**/**</include>
182 <phase>package</phase>
187 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
192 <id>tag-image-project-version</id>
193 <phase>package</phase>
198 <image>onap/osaaf/${project.artifactId}</image>
199 <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</newName>
200 <skipDockerTag>${skip.docker.push}</skipDockerTag>
205 <id>tag-image-latest</id>
206 <phase>package</phase>
211 <image>onap/aaf/authz-service</image>
212 <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</newName>
213 <skipDockerTag>${skip.docker.push}</skipDockerTag>
218 <id>push-image-latest</id>
219 <phase>deploy</phase>
224 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</imageName>
225 <skipDockerPush>${skip.docker.push}</skipDockerPush>
231 <phase>deploy</phase>
236 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</imageName>
237 <skipDockerPush>${skip.docker.push}</skipDockerPush>
248 <groupId>org.mockito</groupId>
249 <artifactId>mockito-all</artifactId>
250 <version>1.9.5</version>
254 <groupId>org.powermock</groupId>
255 <artifactId>powermock-module-junit4</artifactId>
256 <version>${powermock.version}</version>
260 <groupId>org.powermock</groupId>
261 <artifactId>powermock-api-mockito</artifactId>
262 <version>${powermock.version}</version>
266 <groupId>junit</groupId>
267 <artifactId>junit</artifactId>
268 <version>4.10</version>
275 <!-- <module>auth-client</module> complile manually with mvn -N independently -->
276 <module>auth-core</module>
277 <module>auth-cass</module>
278 <module>auth-deforg</module>
280 <module>auth-service</module>
281 <module>auth-cmd</module>
282 <module>auth-batch</module>
284 <module>auth-gui</module>
285 <module>auth-locate</module>
286 <module>auth-oauth</module>
287 <module>auth-certman</module>
288 <module>auth-fs</module>
289 <module>auth-hello</module>
292 <dependencyManagement>
295 <groupId>org.onap.aaf.misc</groupId>
296 <artifactId>aaf-misc-env</artifactId>
297 <version>${project.miscVersion}</version>
301 <groupId>org.onap.aaf.misc</groupId>
302 <artifactId>aaf-misc-log4j</artifactId>
303 <version>${project.miscVersion}</version>
307 <groupId>org.onap.aaf.misc</groupId>
308 <artifactId>aaf-misc-rosetta</artifactId>
309 <version>${project.miscVersion}</version>
313 <groupId>org.onap.aaf.misc</groupId>
314 <artifactId>aaf-misc-xgen</artifactId>
315 <version>${project.miscVersion}</version>
319 <groupId>org.onap.aaf.cadi</groupId>
320 <artifactId>aaf-cadi-core</artifactId>
321 <version>${project.cadiVersion}</version>
325 <groupId>org.onap.aaf.cadi</groupId>
326 <artifactId>aaf-cadi-client</artifactId>
327 <version>${project.cadiVersion}</version>
331 <groupId>org.onap.aaf.cadi</groupId>
332 <artifactId>aaf-cadi-aaf</artifactId>
333 <version>${project.cadiVersion}</version>
336 <groupId>org.apache.cassandra</groupId>
337 <artifactId>cassandra-all</artifactId>
343 <groupId>org.onap.aaf.auth</groupId>
344 <artifactId>aaf-auth-client</artifactId>
345 <version>${project.interfaceVersion}</version>
349 <groupId>org.onap.aaf.auth</groupId>
350 <artifactId>aaf-auth-core</artifactId>
351 <version>${project.version}</version>
355 <groupId>org.onap.aaf.auth</groupId>
356 <artifactId>aaf-auth-cass</artifactId>
357 <version>${project.version}</version>
361 <groupId>org.onap.aaf.auth</groupId>
362 <artifactId>aaf-auth-cmd</artifactId>
363 <version>${project.version}</version>
367 <groupId>org.onap.aaf.auth</groupId>
368 <artifactId>aaf-auth-oauth</artifactId>
369 <version>${project.version}</version>
373 <groupId>org.onap.aaf.auth</groupId>
374 <artifactId>aaf-auth-deforg</artifactId>
375 <version>${project.version}</version>
379 <groupId>javax.servlet</groupId>
380 <artifactId>servlet-api</artifactId>
381 <version>2.5</version>
385 <groupId>org.eclipse.jetty</groupId>
386 <artifactId>jetty-servlet</artifactId>
387 <version>${project.jettyVersion}</version>
391 <groupId>org.eclipse.jetty</groupId>
392 <artifactId>jetty-server</artifactId>
393 <version>${project.jettyVersion}</version>
397 <groupId>org.eclipse.jetty</groupId>
398 <artifactId>jetty-jmx</artifactId>
399 <version>${project.jettyVersion}</version>
403 <groupId>com.datastax.cassandra</groupId>
404 <artifactId>cassandra-all</artifactId>
405 <version>3.3.0</version>
408 <groupId>org.slf4j</groupId>
409 <artifactId>slf4j-log4j12</artifactId>
412 <groupId>log4j</groupId>
413 <artifactId>log4j</artifactId>
418 <groupId>com.datastax.cassandra</groupId>
419 <artifactId>cassandra-driver-core</artifactId>
420 <!-- version>1.0.3</version -->
421 <!-- version>1.0.5</version -->
422 <version>3.3.0</version>
425 <groupId>org.slf4j</groupId>
426 <artifactId>slf4j-log4j12</artifactId>
429 <groupId>log4j</groupId>
430 <artifactId>log4j</artifactId>
436 <groupId>org.slf4j</groupId>
437 <artifactId>slf4j-log4j12</artifactId>
438 <version>1.7.5</version>
442 <groupId>javax.mail</groupId>
443 <artifactId>mail</artifactId>
444 <version>1.4.5</version>
447 </dependencyManagement>
450 <distributionManagement>
453 <name>attarch-releases</name>
454 <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/attarch-releases</url>
458 <name>attarch-snapshots</name>
459 <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/attarch-snapshots</url>
460 </snapshotRepository>
461 </distributionManagement>