blob: 1889379aedfc3737ddb1e52a31b2279be314034f [file] [log] [blame]
Instrumental71037c32018-03-26 13:51:48 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * ============LICENSE_START====================================================
4 * org.onap.aaf
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
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
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====================================================
20 *
21-->
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">
24
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>
31 <properties>
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>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000041 <!-- SONAR -->
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>
Instrumental71037c32018-03-26 13:51:48 -070055 </properties>
56
57 <developers>
58 <developer>
59 <name>Jonathan Gathman</name>
60 <email>jonathan.gathman@att.com</email>
61 <organization>ATT</organization>
62 <roles>
63 <role>Architect</role>
64 <role>Lead Developer</role>
65 </roles>
66 </developer>
67 <developer>
68 <name>Gabe Maurer</name>
69 <email>gabe.maurer@att.com</email>
70 <organization>ATT</organization>
71 <roles>
72 <role>Developer</role>
73 </roles>
74 </developer>
75 <developer>
76 <name>Ian Howell</name>
77 <email>ian.howell@att.com</email>
78 <organization>ATT</organization>
79 <roles>
80 <role>Developer</role>
81 </roles>
82 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000083 <developer>
84 <name>Sai Gandham</name>
85 <email>sai.gandham@att.com</email>
86 <organization>ATT</organization>
87 <roles>
88 <role>Developer</role>
89 </roles>
90 </developer>
Instrumental71037c32018-03-26 13:51:48 -070091 </developers>
92
93 <build>
94 <pluginManagement>
95 <plugins>
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-compiler-plugin</artifactId>
99 <version>2.3.2</version>
100 <configuration>
101 <source>1.8</source>
102 <target>1.8</target>
103 </configuration>
104 </plugin>
105 <plugin>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-deploy-plugin</artifactId>
108 <version>2.6</version>
109 <configuration>
110 <skip>false</skip>
111 </configuration>
112 </plugin>
113
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-surefire-plugin</artifactId>
117 <version>2.17</version>
118 <configuration>
119 <skipTests>${skipTests}</skipTests>
120 <includes>
121 <include>**/JU*.java</include>
122 </includes>
123 <excludes>
124 </excludes>
125
126 </configuration>
127 </plugin>
128
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-failsafe-plugin</artifactId>
132 <version>2.17</version>
133 <configuration>
134 <skipTests>true</skipTests>
135 </configuration>
136 <executions>
137 <execution>
138 <id>integration-test</id>
139 <goals>
140 <goal>integration-test</goal>
141 <goal>verify</goal>
142 </goals>
143 </execution>
144 </executions>
145 </plugin>
146
147 <!-- Builds O/S Command line ready jars and scripts, ready to run/zip -->
148 <plugin>
149 <groupId>org.codehaus.mojo</groupId>
150 <artifactId>appassembler-maven-plugin</artifactId>
151 <version>1.10</version>
152 <executions>
153 <execution>
154 <goals>
155 <goal>assemble</goal>
156 </goals>
157 <phase>install</phase>
158 </execution>
159 </executions>
160 <configuration>
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>
167 </configuration>
168 </plugin>
169
170 <!-- Build Docker Image -->
171 <plugin>
172 <groupId>com.spotify</groupId>
173 <artifactId>docker-maven-plugin</artifactId>
174 <version>1.0.0</version>
175 <configuration>
176 <imageName>onap/osaaf/${project.artifactId}</imageName>
177 <!-- <dockerDirectory>${dockerLocation}</dockerDirectory> -->
178 <dockerDirectory>${basedir}/src/main/resources/docker</dockerDirectory>
179 <imageTags>
180 <imageTag>latest</imageTag>
181 <imageTag>${project.docker.latesttagtimestamp.version}</imageTag>
182 <imageTag>${project.docker.latesttag.version}</imageTag>
183 </imageTags>
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> -->
188 <resources>
189 <resource>
190 <targetPath>/</targetPath>
191 <directory>${project.build.directory}/opt</directory>
192 <include>${project.build.finalName}.jar</include>
193 </resource>
194 <resource>
195 <targetPath>/</targetPath>
196 <directory>${project.build.directory}</directory>
197 <include>**/**</include>
198 </resource>
199 </resources>
200 </configuration>
201 <executions>
202 <execution>
203 <id>build-image</id>
204 <phase>package</phase>
205 <goals>
206 <goal>build</goal>
207 </goals>
208 <configuration>
209 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
210 </configuration>
211 </execution>
212
213 <execution>
214 <id>tag-image-project-version</id>
215 <phase>package</phase>
216 <goals>
217 <goal>tag</goal>
218 </goals>
219 <configuration>
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>
223 </configuration>
224 </execution>
225
226 <execution>
227 <id>tag-image-latest</id>
228 <phase>package</phase>
229 <goals>
230 <goal>tag</goal>
231 </goals>
232 <configuration>
233 <image>onap/aaf/authz-service</image>
234 <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</newName>
235 <skipDockerTag>${skip.docker.push}</skipDockerTag>
236 </configuration>
237 </execution>
238
239 <execution>
240 <id>push-image-latest</id>
241 <phase>deploy</phase>
242 <goals>
243 <goal>push</goal>
244 </goals>
245 <configuration>
246 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</imageName>
247 <skipDockerPush>${skip.docker.push}</skipDockerPush>
248 </configuration>
249 </execution>
250
251 <execution>
252 <id>push-image</id>
253 <phase>deploy</phase>
254 <goals>
255 <goal>push</goal>
256 </goals>
257 <configuration>
258 <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</imageName>
259 <skipDockerPush>${skip.docker.push}</skipDockerPush>
260 </configuration>
261 </execution>
262 </executions>
263 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000264 <plugin>
265 <groupId>org.sonatype.plugins</groupId>
266 <artifactId>nexus-staging-maven-plugin</artifactId>
267 <version>1.6.7</version>
268 <extensions>true</extensions>
269 <configuration>
270 <nexusUrl>${nexusproxy}</nexusUrl>
271 <stagingProfileId>176c31dfe190a</stagingProfileId>
272 <serverId>ecomp-staging</serverId>
273 </configuration>
274 </plugin>
275 <plugin>
276 <groupId>org.jacoco</groupId>
277 <artifactId>jacoco-maven-plugin</artifactId>
278 <version>0.7.7.201606060606</version>
279 <configuration>
280 <dumpOnExit>true</dumpOnExit>
281 <includes>
282 <include>org.onap.aaf.*</include>
283 </includes>
284 </configuration>
285 <executions>
286 <execution>
287 <id>pre-unit-test</id>
288 <goals>
289 <goal>prepare-agent</goal>
290 </goals>
291 <configuration>
292 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
293 <!-- <append>true</append> -->
294 </configuration>
295 </execution>
296 <execution>
297 <id>pre-integration-test</id>
298 <phase>pre-integration-test</phase>
299 <goals>
300 <goal>prepare-agent</goal>
301 </goals>
302 <configuration>
303 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
304 <!-- <append>true</append> -->
305 </configuration>
306 </execution>
307 <execution>
308 <goals>
309 <goal>merge</goal>
310 </goals>
311 <phase>post-integration-test</phase>
312 <configuration>
313 <fileSets>
314 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
315 <directory>${project.build.directory}/coverage-reports</directory>
316 <includes>
317 <include>*.exec</include>
318 </includes>
319 </fileSet>
320 </fileSets>
321 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
322 </configuration>
323 </execution>
324 </executions>
325 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700326 </plugins>
327 </pluginManagement>
328 </build>
329
330 <dependencies>
331 <dependency>
332 <groupId>org.mockito</groupId>
333 <artifactId>mockito-all</artifactId>
334 <version>1.9.5</version>
335 <scope>test</scope>
336 </dependency>
337 <dependency>
338 <groupId>org.powermock</groupId>
339 <artifactId>powermock-module-junit4</artifactId>
340 <version>${powermock.version}</version>
341 <scope>test</scope>
342 </dependency>
343 <dependency>
344 <groupId>org.powermock</groupId>
345 <artifactId>powermock-api-mockito</artifactId>
346 <version>${powermock.version}</version>
347 <scope>test</scope>
348 </dependency>
349 <dependency>
350 <groupId>junit</groupId>
351 <artifactId>junit</artifactId>
352 <version>4.10</version>
353 <scope>test</scope>
354 </dependency>
355
356 </dependencies>
357
358 <modules>
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>
363
364 <module>auth-service</module>
365 <module>auth-cmd</module>
366 <module>auth-batch</module>
367
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>
374 </modules>
375
376 <dependencyManagement>
377 <dependencies>
378 <dependency>
379 <groupId>org.onap.aaf.misc</groupId>
380 <artifactId>aaf-misc-env</artifactId>
381 <version>${project.miscVersion}</version>
382 </dependency>
383
384 <dependency>
385 <groupId>org.onap.aaf.misc</groupId>
386 <artifactId>aaf-misc-log4j</artifactId>
387 <version>${project.miscVersion}</version>
388 </dependency>
389
390 <dependency>
391 <groupId>org.onap.aaf.misc</groupId>
392 <artifactId>aaf-misc-rosetta</artifactId>
393 <version>${project.miscVersion}</version>
394 </dependency>
395
396 <dependency>
397 <groupId>org.onap.aaf.misc</groupId>
398 <artifactId>aaf-misc-xgen</artifactId>
399 <version>${project.miscVersion}</version>
400 </dependency>
401
402 <dependency>
403 <groupId>org.onap.aaf.cadi</groupId>
404 <artifactId>aaf-cadi-core</artifactId>
405 <version>${project.cadiVersion}</version>
406 </dependency>
407
408 <dependency>
409 <groupId>org.onap.aaf.cadi</groupId>
410 <artifactId>aaf-cadi-client</artifactId>
411 <version>${project.cadiVersion}</version>
412 </dependency>
413
414 <dependency>
415 <groupId>org.onap.aaf.cadi</groupId>
416 <artifactId>aaf-cadi-aaf</artifactId>
417 <version>${project.cadiVersion}</version>
418 <exclusions>
419 <exclusion>
420 <groupId>org.apache.cassandra</groupId>
421 <artifactId>cassandra-all</artifactId>
422 </exclusion>
423 </exclusions>
424 </dependency>
425
426 <dependency>
427 <groupId>org.onap.aaf.auth</groupId>
428 <artifactId>aaf-auth-client</artifactId>
429 <version>${project.interfaceVersion}</version>
430 </dependency>
431
432 <dependency>
433 <groupId>org.onap.aaf.auth</groupId>
434 <artifactId>aaf-auth-core</artifactId>
435 <version>${project.version}</version>
436 </dependency>
437
438 <dependency>
439 <groupId>org.onap.aaf.auth</groupId>
440 <artifactId>aaf-auth-cass</artifactId>
441 <version>${project.version}</version>
442 </dependency>
443
444 <dependency>
445 <groupId>org.onap.aaf.auth</groupId>
446 <artifactId>aaf-auth-cmd</artifactId>
447 <version>${project.version}</version>
448 </dependency>
449
450 <dependency>
451 <groupId>org.onap.aaf.auth</groupId>
452 <artifactId>aaf-auth-oauth</artifactId>
453 <version>${project.version}</version>
454 </dependency>
455
456 <dependency>
457 <groupId>org.onap.aaf.auth</groupId>
458 <artifactId>aaf-auth-deforg</artifactId>
459 <version>${project.version}</version>
460 </dependency>
461
462 <dependency>
463 <groupId>javax.servlet</groupId>
464 <artifactId>servlet-api</artifactId>
Instrumental10027f32018-03-26 14:07:37 -0700465 <version>2.5</version>
Instrumental71037c32018-03-26 13:51:48 -0700466 </dependency>
467
468 <dependency>
469 <groupId>org.eclipse.jetty</groupId>
470 <artifactId>jetty-servlet</artifactId>
471 <version>${project.jettyVersion}</version>
472 </dependency>
473
474 <dependency>
475 <groupId>org.eclipse.jetty</groupId>
476 <artifactId>jetty-server</artifactId>
477 <version>${project.jettyVersion}</version>
478 </dependency>
479
480 <dependency>
481 <groupId>org.eclipse.jetty</groupId>
482 <artifactId>jetty-jmx</artifactId>
483 <version>${project.jettyVersion}</version>
484 </dependency>
485
486 <dependency>
487 <groupId>com.datastax.cassandra</groupId>
488 <artifactId>cassandra-all</artifactId>
489 <version>3.3.0</version>
490 <exclusions>
491 <exclusion>
492 <groupId>org.slf4j</groupId>
493 <artifactId>slf4j-log4j12</artifactId>
494 </exclusion>
495 <exclusion>
496 <groupId>log4j</groupId>
497 <artifactId>log4j</artifactId>
498 </exclusion>
499 </exclusions>
500 </dependency>
501 <dependency>
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>
507 <exclusions>
508 <exclusion>
509 <groupId>org.slf4j</groupId>
510 <artifactId>slf4j-log4j12</artifactId>
511 </exclusion>
512 <exclusion>
513 <groupId>log4j</groupId>
514 <artifactId>log4j</artifactId>
515 </exclusion>
516 </exclusions>
517 </dependency>
518
519 <dependency>
520 <groupId>org.slf4j</groupId>
521 <artifactId>slf4j-log4j12</artifactId>
522 <version>1.7.5</version>
523 </dependency>
524
525 <dependency>
526 <groupId>javax.mail</groupId>
527 <artifactId>mail</artifactId>
528 <version>1.4.5</version>
529 </dependency>
530 </dependencies>
531 </dependencyManagement>
532
533
Sai Gandhame01703c2018-03-26 22:57:09 +0000534
Instrumental71037c32018-03-26 13:51:48 -0700535
536</project>