blob: 9690398cdc557d1ee9a4b0d205b29a057470bcb5 [file] [log] [blame]
sg481n4a51a8f2017-08-03 17:39:12 -04001<!--
2 ============LICENSE_START====================================================
sg481n62c4eb42017-08-25 01:57:24 -04003 * org.onap.aaf
sg481n4a51a8f2017-08-03 17:39:12 -04004 * ===========================================================================
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
sg481n4a51a8f2017-08-03 17:39:12 -04006 * ===========================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END====================================================
19 *
20 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
21 *
22-->
23<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
sg481n62c4eb42017-08-25 01:57:24 -040025 <groupId>org.onap.aaf.cadi</groupId>
sg481n4a51a8f2017-08-03 17:39:12 -040026 <artifactId>parent</artifactId>
Jessica Wagantalld9cf4f32017-09-08 14:39:32 -070027 <name>aaf-cadi</name>
sg481na623b762017-08-10 17:52:09 -040028 <version>1.0.0-SNAPSHOT</version>
sg481n4a51a8f2017-08-03 17:39:12 -040029 <inceptionYear>2015-07-20</inceptionYear>
30 <packaging>pom</packaging>
31 <url>https://github.com/att/AAF</url>
32 <description>CADI</description>
33 <licenses>
34 <license>
35 <name>BSD License</name>
36 <url> </url>
37 </license>
38 </licenses>
39 <developers>
40 <developer>
41 <name>Jonathan Gathman</name>
42 <email></email>
43 <organization>ATT</organization>
44 <organizationUrl></organizationUrl>
45 </developer>
46 </developers>
sg481n3d214732017-09-23 03:02:43 +000047
48 <parent>
49 <groupId>org.onap.oparent</groupId>
50 <artifactId>oparent</artifactId>
51 <version>0.1.1</version>
52 </parent>
53
sg481n4a51a8f2017-08-03 17:39:12 -040054 <properties>
55 <skipSigning>true</skipSigning>
56 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
sg481na623b762017-08-10 17:52:09 -040057 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
sg481n62c4eb42017-08-25 01:57:24 -040058 <project.authClientVersion>1.0.0-SNAPSHOT</project.authClientVersion>
sg481n4a51a8f2017-08-03 17:39:12 -040059 <project.dme2Version>3.1.200</project.dme2Version>
60 <!-- version>2.8.5.8</version -->
61 <!-- version>2.6.20</version -->
62 <!-- version>2.6.29</version -->
63 <!-- version>2.8.1</version -->
64 <!-- version>2.8.2.5</version -->
65 <!-- jetty-version>8.1.7.v20120910</jetty-version -->
66 <!-- jetty-version>7.2.0.v20101020</jetty-version -->
67 <!-- project.jettyVersion>9.0.3.v20130506</project.jettyVersion -->
sg481n62c4eb42017-08-25 01:57:24 -040068 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n3d214732017-09-23 03:02:43 +000069 <sonar.language>java</sonar.language>
70 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
71 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
72 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
73 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481n74f26672017-10-01 13:37:12 +000074 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
sg481n3d214732017-09-23 03:02:43 +000075 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481n62c4eb42017-08-25 01:57:24 -040076 <nexusproxy>https://nexus.onap.org</nexusproxy>
77 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
78 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
79 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
80 <sitePath>/content/sites/site/org/onap/aaf/cadi/${project.artifactId}/${project.version}</sitePath>
sg481n4a51a8f2017-08-03 17:39:12 -040081 </properties>
sg481n4a51a8f2017-08-03 17:39:12 -040082 <!-- ============================================================== -->
83 <!-- Define the major contributors and developers of CADI -->
84 <!-- ============================================================== -->
85 <contributors>
86 <contributor>
87 <name>Jonathan Gathman</name>
88 <email></email>
89 <timezone>CST</timezone>
90 </contributor>
91 </contributors>
92
93 <dependencies>
94 <dependency>
95 <groupId>junit</groupId>
96 <artifactId>junit</artifactId>
97 <version>4.10</version>
98 <scope>test</scope>
99 </dependency>
100 </dependencies>
101
102 <!-- ============================================================== -->
103 <!-- Define sub-projects (modules) -->
104 <!-- ============================================================== -->
105 <modules>
106 <module>core</module>
107 <module>client</module>
108 <module>aaf</module>
109 <module>cass</module>
110 <!-- module>jetty</module -->
111 <!-- module>weblogic</module -->
112 <!-- always build last -->
113 <!--module>swm</module -->
114 </modules>
115
116 <!-- ============================================================== -->
117 <!-- Define project-wide dependencies -->
118 <!-- ============================================================== -->
119 <dependencyManagement>
120 <dependencies>
121 <dependency>
sg481n7bc6ef22017-10-01 19:47:49 +0000122 <groupId>org.mockito</groupId>
123 <artifactId>mockito-all</artifactId>
124 <version>1.9.5</version>
125 <scope>test</scope>
126 </dependency>
127 <dependency>
sg481n62c4eb42017-08-25 01:57:24 -0400128 <groupId>org.onap.aaf.authz</groupId>
sg481n4a51a8f2017-08-03 17:39:12 -0400129 <artifactId>authz-client</artifactId>
130 <version>${project.authClientVersion}</version>
131 </dependency>
132
133 <dependency>
sg481n62c4eb42017-08-25 01:57:24 -0400134 <groupId>org.onap.aaf.cadi</groupId>
sg481n4a51a8f2017-08-03 17:39:12 -0400135 <artifactId>cadi-core</artifactId>
136 <version>${project.version}</version>
137 </dependency>
138
139 <dependency>
sg481n62c4eb42017-08-25 01:57:24 -0400140 <groupId>org.onap.aaf.cadi</groupId>
sg481n4a51a8f2017-08-03 17:39:12 -0400141 <artifactId>cadi-core</artifactId>
142 <version>${project.version}</version>
143 <classifier>tests</classifier>
144 </dependency>
145
146 <dependency>
sg481n62c4eb42017-08-25 01:57:24 -0400147 <groupId>org.onap.aaf.cadi</groupId>
sg481n4a51a8f2017-08-03 17:39:12 -0400148 <artifactId>cadi-cass</artifactId>
149 <version>${project.version}</version>
150 </dependency>
151
152 <dependency>
sg481n62c4eb42017-08-25 01:57:24 -0400153 <groupId>org.onap.aaf.cadi</groupId>
sg481n4a51a8f2017-08-03 17:39:12 -0400154 <artifactId>cadi-aaf</artifactId>
155 <version>${project.version}</version>
156 </dependency>
157
158 <dependency>
sg481n62c4eb42017-08-25 01:57:24 -0400159 <groupId>org.onap.aaf.cadi</groupId>
sg481n4a51a8f2017-08-03 17:39:12 -0400160 <artifactId>cadi-aaf</artifactId>
161 <version>${project.version}</version>
162 <classifier>full</classifier>
163 </dependency>
164
165 <dependency>
sg481n62c4eb42017-08-25 01:57:24 -0400166 <groupId>org.onap.aaf.cadi</groupId>
sg481n4a51a8f2017-08-03 17:39:12 -0400167 <artifactId>cadi-client</artifactId>
168 <version>${project.version}</version>
169 </dependency>
170
171 <dependency>
sg481n62c4eb42017-08-25 01:57:24 -0400172 <groupId>org.onap.aaf.cadi</groupId>
sg481n4a51a8f2017-08-03 17:39:12 -0400173 <artifactId>cadi-tomcat</artifactId>
174 <version>${project.version}</version>
175 </dependency>
176
177 <dependency>
sg481n62c4eb42017-08-25 01:57:24 -0400178 <groupId>org.onap.aaf.cadi</groupId>
sg481n4a51a8f2017-08-03 17:39:12 -0400179 <artifactId>cadi-tguard</artifactId>
180 <version>${project.version}</version>
181 </dependency>
182
183 <dependency>
sg481n62c4eb42017-08-25 01:57:24 -0400184 <groupId>org.onap.aaf.inno</groupId>
sg481n4a51a8f2017-08-03 17:39:12 -0400185 <artifactId>env</artifactId>
186 <version>${project.innoVersion}</version>
187 </dependency>
188
189 <dependency>
sg481n62c4eb42017-08-25 01:57:24 -0400190 <groupId>org.onap.aaf.inno</groupId>
sg481n4a51a8f2017-08-03 17:39:12 -0400191 <artifactId>rosetta</artifactId>
192 <version>${project.innoVersion}</version>
193 </dependency>
194
195 <dependency>
196 <groupId>org.eclipse.jetty</groupId>
197 <artifactId>jetty-servlet</artifactId>
198 <version>9.0.3.v20130506</version>
199 </dependency>
200
201 <dependency>
202 <groupId>org.eclipse.jetty</groupId>
203 <artifactId>jetty-webapp</artifactId>
204 <version>9.0.3.v20130506</version>
205 </dependency>
206
207 <dependency>
208 <groupId>org.eclipse.jetty.aggregate</groupId>
209 <artifactId>jetty-all</artifactId>
210 <version>9.0.3.v20130506</version>
211 </dependency>
212
213 <dependency>
214 <groupId>javax.servlet</groupId>
215 <artifactId>servlet-api</artifactId>
216 <version>2.5</version>
217 </dependency>
218
219 <dependency>
220 <groupId>com.att.aft</groupId>
221 <artifactId>dme2</artifactId>
222 <version>${project.dme2Version}</version>
223 <exclusions>
224 <exclusion>
225 <groupId>org.slf4j</groupId>
226 <artifactId>slf4j-log4j12</artifactId>
227 </exclusion>
228 <exclusion>
229 <groupId>log4j</groupId>
230 <artifactId>log4j</artifactId>
231 </exclusion>
232 <exclusion>
233 <groupId>com.att.javax.servlet</groupId>
234 <artifactId>servlet-api</artifactId>
235 </exclusion>
236 <exclusion>
237 <groupId>javax.mail</groupId>
238 <artifactId>mail</artifactId>
239 </exclusion>
240
241 </exclusions>
242 </dependency>
243
244 <dependency>
245 <groupId>org.slf4j</groupId>
246 <artifactId>slf4j-api</artifactId>
247 <version>1.7.5</version>
248 </dependency>
249 </dependencies>
250 </dependencyManagement>
251
252 <!-- ============================================================== -->
253 <!-- Define common plugins and make them available for all modules -->
254 <!-- ============================================================== -->
255 <build>
256 <testSourceDirectory>src/test/java</testSourceDirectory>
257 <plugins>
258
259 <plugin>
260 <inherited>true</inherited>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-compiler-plugin</artifactId>
263 <version>2.3.2</version>
264 <configuration>
265 <source>1.7</source>
266 <target>1.7</target>
267 </configuration>
268 </plugin>
269
270 <plugin>
271 <groupId>org.apache.maven.plugins</groupId>
272 <version>2.4</version>
273 <artifactId>maven-jar-plugin</artifactId>
274 <configuration>
275 <outputDirectory>target</outputDirectory>
276 <archive>
277 <manifestEntries>
278 <Sealed>true</Sealed>
279 </manifestEntries>
280 </archive>
281 </configuration>
282 </plugin>
283
284 <plugin>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-surefire-plugin</artifactId>
287 <version>2.17</version>
288 <configuration>
289 <skipTests>false</skipTests>
290 <includes>
291 <include>**/JU*.java</include>
292 </includes>
293 <excludes>
294 <exclude>**/JU_LocalLur.java</exclude>
295 <exclude>**/JU_BufferedServletInputStream.java</exclude>
296 <exclude>**/JU_Passcode.java</exclude>
297 <exclude>**/JU_XReader.java</exclude>
298 <exclude>**/JU_CASS.java</exclude>
299 <exclude>**/JU_PropertyLocator.java</exclude>
300 <exclude>**/JU_PermEval.java</exclude>
301 <exclude>**/JU_JMeter.java</exclude>
302 <exclude>**/JU_Lur2_0Call.java</exclude>
sg481n74f26672017-10-01 13:37:12 +0000303 </excludes>
sg481n4a51a8f2017-08-03 17:39:12 -0400304 </configuration>
305 </plugin>
306
307 <plugin>
308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-jarsigner-plugin</artifactId>
310 <version>1.2</version>
311 <executions>
312 <execution>
313 <id>sign</id>
314 <goals>
315 <goal>sign</goal>
316 </goals>
317 <configuration>
318 <!-- skip>${skipSigning}</skip -->
319 <archive>target/${project.artifactId}-${project.version}.jar</archive>
320 </configuration>
321 </execution>
322 <execution>
323 <id>verify</id>
324 <goals>
325 <goal>verify</goal>
326 </goals>
327 <configuration>
328 <archive>target/${project.artifactId}-${project.version}.jar</archive>
329 </configuration>
330 </execution>
331 </executions>
332 <configuration>
333 <skip>true</skip>
334 <alias>cadi</alias>
335 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
336 <storepass>Surprise!</storepass>
337 <keypass>Surprise!</keypass>
338 <verbose>true</verbose>
339 <certs>true</certs>
340 </configuration>
341 </plugin>
342
sg481n3d214732017-09-23 03:02:43 +0000343
sg481n4a51a8f2017-08-03 17:39:12 -0400344 <plugin>
345 <artifactId>maven-release-plugin</artifactId>
346 <version>2.5.2</version>
347 <configuration>
348 <goals>-s ${mvn.settings} deploy</goals>
349 </configuration>
350 </plugin>
351
352 <plugin>
353 <artifactId>maven-assembly-plugin</artifactId>
354 <version>2.5.5</version>
355 </plugin>
356
357 <plugin>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-deploy-plugin</artifactId>
360 <version>2.8.1</version>
361 <configuration>
362 <skip>false</skip>
363 </configuration>
364
365 </plugin>
366
367 <plugin>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-dependency-plugin</artifactId>
370 <version>2.10</version>
371 </plugin>
372
sg481n3d214732017-09-23 03:02:43 +0000373 <plugin>
sg481n4a51a8f2017-08-03 17:39:12 -0400374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-javadoc-plugin</artifactId>
sg481n3d214732017-09-23 03:02:43 +0000376 <version>2.10.4</version>
377 <configuration>
sg481n4a51a8f2017-08-03 17:39:12 -0400378 <failOnError>false</failOnError>
379 </configuration>
380 <executions>
381 <execution>
382 <id>attach-javadocs</id>
383 <goals>
384 <goal>jar</goal>
385 </goals>
386 </execution>
387 </executions>
388 </plugin>
389
390
391 <plugin>
392 <groupId>org.apache.maven.plugins</groupId>
393 <artifactId>maven-source-plugin</artifactId>
394 <version>2.2.1</version>
395 <executions>
396 <execution>
397 <id>attach-sources</id>
398 <goals>
399 <goal>jar-no-fork</goal>
400 </goals>
401 </execution>
402 </executions>
403 </plugin>
404
405
sg481n4a51a8f2017-08-03 17:39:12 -0400406
407 <plugin>
408 <groupId>org.codehaus.mojo</groupId>
409 <artifactId>cobertura-maven-plugin</artifactId>
410 <version>2.7</version>
411 <configuration>
412 <formats>
413 <format>html</format>
414 <format>xml</format>
415 </formats>
416 </configuration>
417 </plugin>
sg481n62c4eb42017-08-25 01:57:24 -0400418
sg481n4a51a8f2017-08-03 17:39:12 -0400419 <!--This plugin's configuration is used to store Eclipse m2e settings
420 only. It has no influence on the Maven build itself. -->
421 <plugin>
422 <groupId>org.eclipse.m2e</groupId>
423 <artifactId>lifecycle-mapping</artifactId>
424 <version>1.0.0</version>
425 <configuration>
426 <lifecycleMappingMetadata>
427 <pluginExecutions>
428 <pluginExecution>
429 <pluginExecutionFilter>
430 <groupId>
431 org.codehaus.mojo
432 </groupId>
433 <artifactId>
434 jaxb2-maven-plugin
435 </artifactId>
436 <versionRange>
437 [1.3,)
438 </versionRange>
439 <goals>
440 <goal>xjc</goal>
441 </goals>
442 </pluginExecutionFilter>
443 <action>
444 <ignore />
445 </action>
446 </pluginExecution>
447 </pluginExecutions>
448 </lifecycleMappingMetadata>
449 </configuration>
450 </plugin>
sg481n62c4eb42017-08-25 01:57:24 -0400451 <plugin>
452 <groupId>org.sonatype.plugins</groupId>
453 <artifactId>nexus-staging-maven-plugin</artifactId>
454 <version>1.6.7</version>
455 <extensions>true</extensions>
456 <configuration>
457 <nexusUrl>${nexusproxy}</nexusUrl>
458 <stagingProfileId>176c31dfe190a</stagingProfileId>
459 <serverId>ecomp-staging</serverId>
460 </configuration>
461 </plugin>
sg481n3d214732017-09-23 03:02:43 +0000462
463 <plugin>
sg481n7bc6ef22017-10-01 19:47:49 +0000464 <groupId>org.jacoco</groupId>
465 <artifactId>jacoco-maven-plugin</artifactId>
466 <version>${jacoco.version}</version>
467 <configuration>
468 <!-- Note: This exclusion list should match <sonar.exclusions>
469 property above -->
470 <excludes>
471 <exclude>**/gen/**</exclude>
472 <exclude>**/generated-sources/**</exclude>
473 <exclude>**/yang-gen/**</exclude>
474 <exclude>**/pax/**</exclude>
475 </excludes>
476 </configuration>
477 <executions>
478 <!--
479 Prepares the property pointing to the JaCoCo runtime agent which
480 is passed as VM argument when Maven the Surefire plugin is executed.
481 -->
482 <execution>
483 <id>pre-unit-test</id>
484 <goals>
485 <goal>prepare-agent</goal>
486 </goals>
487 <configuration>
488 <!-- Sets the path to the file which contains the execution data. -->
489 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
490 <!--
491 Sets the name of the property containing the settings
492 for JaCoCo runtime agent.
493 -->
494 <propertyName>surefireArgLine</propertyName>
495 </configuration>
496 </execution>
497 <!--
498 Ensures that the code coverage report for unit tests is created after
499 unit tests have been run.
500 -->
501 <execution>
502 <id>post-unit-test</id>
503 <phase>test</phase>
504 <goals>
505 <goal>report</goal>
506 </goals>
507 <configuration>
508 <!-- Sets the path to the file which contains the execution data. -->
509 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
510 <!-- Sets the output directory for the code coverage report. -->
511 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
512 </configuration>
513 </execution>
514 <execution>
515 <id>pre-integration-test</id>
516 <phase>pre-integration-test</phase>
517 <goals>
518 <goal>prepare-agent</goal>
519 </goals>
520 <configuration>
521 <!-- Sets the path to the file which contains the execution data. -->
522 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
523 <!--
524 Sets the name of the property containing the settings
525 for JaCoCo runtime agent.
526 -->
527 <propertyName>failsafeArgLine</propertyName>
528 </configuration>
529 </execution>
530 <!--
531 Ensures that the code coverage report for integration tests after
532 integration tests have been run.
533 -->
534 <execution>
535 <id>post-integration-test</id>
536 <phase>post-integration-test</phase>
537 <goals>
538 <goal>report</goal>
539 </goals>
540 <configuration>
541 <!-- Sets the path to the file which contains the execution data. -->
542 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
543 <!-- Sets the output directory for the code coverage report. -->
544 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
545 </configuration>
546 </execution>
547 </executions>
548 </plugin>
sg481n74f26672017-10-01 13:37:12 +0000549
sg481n4a51a8f2017-08-03 17:39:12 -0400550 </plugins>
551 </build>
sg481n62c4eb42017-08-25 01:57:24 -0400552 <distributionManagement>
553 <repository>
554 <id>ecomp-releases</id>
555 <name>AAF Release Repository</name>
556 <url>${nexusproxy}${releaseNexusPath}</url>
557 </repository>
558 <snapshotRepository>
559 <id>ecomp-snapshots</id>
560 <name>AAF Snapshot Repository</name>
561 <url>${nexusproxy}${snapshotNexusPath}</url>
562 </snapshotRepository>
563 <site>
564 <id>ecomp-site</id>
565 <url>dav:${nexusproxy}${sitePath}</url>
566 </site>
sg481n4a51a8f2017-08-03 17:39:12 -0400567 </distributionManagement>
sg481n4a51a8f2017-08-03 17:39:12 -0400568</project>