2 ============LICENSE_START====================================================
4 * ===========================================================================
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 * ===========================================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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====================================================
20 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
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>
25 <groupId>org.onap.aaf.cadi</groupId>
26 <artifactId>parent</artifactId>
28 <version>1.0.0-SNAPSHOT</version>
29 <inceptionYear>2015-07-20</inceptionYear>
30 <packaging>pom</packaging>
31 <url>https://github.com/att/AAF</url>
32 <description>CADI</description>
35 <name>BSD License</name>
41 <name>Jonathan Gathman</name>
43 <organization>ATT</organization>
44 <organizationUrl></organizationUrl>
49 <groupId>org.onap.oparent</groupId>
50 <artifactId>oparent</artifactId>
51 <version>0.1.1</version>
55 <skipSigning>true</skipSigning>
56 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
57 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
58 <project.authClientVersion>1.0.0-SNAPSHOT</project.authClientVersion>
59 <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 -->
68 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
69 <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>
74 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
75 <sonar.projectVersion>${project.version}</sonar.projectVersion>
76 <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>
82 <!-- ============================================================== -->
83 <!-- Define the major contributors and developers of CADI -->
84 <!-- ============================================================== -->
87 <name>Jonathan Gathman</name>
89 <timezone>CST</timezone>
95 <groupId>junit</groupId>
96 <artifactId>junit</artifactId>
97 <version>4.10</version>
102 <!-- ============================================================== -->
103 <!-- Define sub-projects (modules) -->
104 <!-- ============================================================== -->
106 <module>core</module>
107 <module>client</module>
109 <module>cass</module>
110 <!-- module>jetty</module -->
111 <!-- module>weblogic</module -->
112 <!-- always build last -->
113 <!--module>swm</module -->
116 <!-- ============================================================== -->
117 <!-- Define project-wide dependencies -->
118 <!-- ============================================================== -->
119 <dependencyManagement>
122 <groupId>org.mockito</groupId>
123 <artifactId>mockito-all</artifactId>
124 <version>1.9.5</version>
128 <groupId>org.onap.aaf.authz</groupId>
129 <artifactId>authz-client</artifactId>
130 <version>${project.authClientVersion}</version>
134 <groupId>org.onap.aaf.cadi</groupId>
135 <artifactId>cadi-core</artifactId>
136 <version>${project.version}</version>
140 <groupId>org.onap.aaf.cadi</groupId>
141 <artifactId>cadi-core</artifactId>
142 <version>${project.version}</version>
143 <classifier>tests</classifier>
147 <groupId>org.onap.aaf.cadi</groupId>
148 <artifactId>cadi-cass</artifactId>
149 <version>${project.version}</version>
153 <groupId>org.onap.aaf.cadi</groupId>
154 <artifactId>cadi-aaf</artifactId>
155 <version>${project.version}</version>
159 <groupId>org.onap.aaf.cadi</groupId>
160 <artifactId>cadi-aaf</artifactId>
161 <version>${project.version}</version>
162 <classifier>full</classifier>
166 <groupId>org.onap.aaf.cadi</groupId>
167 <artifactId>cadi-client</artifactId>
168 <version>${project.version}</version>
172 <groupId>org.onap.aaf.cadi</groupId>
173 <artifactId>cadi-tomcat</artifactId>
174 <version>${project.version}</version>
178 <groupId>org.onap.aaf.cadi</groupId>
179 <artifactId>cadi-tguard</artifactId>
180 <version>${project.version}</version>
184 <groupId>org.onap.aaf.inno</groupId>
185 <artifactId>env</artifactId>
186 <version>${project.innoVersion}</version>
190 <groupId>org.onap.aaf.inno</groupId>
191 <artifactId>rosetta</artifactId>
192 <version>${project.innoVersion}</version>
196 <groupId>org.eclipse.jetty</groupId>
197 <artifactId>jetty-servlet</artifactId>
198 <version>9.0.3.v20130506</version>
202 <groupId>org.eclipse.jetty</groupId>
203 <artifactId>jetty-webapp</artifactId>
204 <version>9.0.3.v20130506</version>
208 <groupId>org.eclipse.jetty.aggregate</groupId>
209 <artifactId>jetty-all</artifactId>
210 <version>9.0.3.v20130506</version>
214 <groupId>javax.servlet</groupId>
215 <artifactId>servlet-api</artifactId>
216 <version>2.5</version>
220 <groupId>com.att.aft</groupId>
221 <artifactId>dme2</artifactId>
222 <version>${project.dme2Version}</version>
225 <groupId>org.slf4j</groupId>
226 <artifactId>slf4j-log4j12</artifactId>
229 <groupId>log4j</groupId>
230 <artifactId>log4j</artifactId>
233 <groupId>com.att.javax.servlet</groupId>
234 <artifactId>servlet-api</artifactId>
237 <groupId>javax.mail</groupId>
238 <artifactId>mail</artifactId>
245 <groupId>org.slf4j</groupId>
246 <artifactId>slf4j-api</artifactId>
247 <version>1.7.5</version>
250 </dependencyManagement>
252 <!-- ============================================================== -->
253 <!-- Define common plugins and make them available for all modules -->
254 <!-- ============================================================== -->
256 <testSourceDirectory>src/test/java</testSourceDirectory>
260 <inherited>true</inherited>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-compiler-plugin</artifactId>
263 <version>2.3.2</version>
271 <groupId>org.apache.maven.plugins</groupId>
272 <version>2.4</version>
273 <artifactId>maven-jar-plugin</artifactId>
275 <outputDirectory>target</outputDirectory>
278 <Sealed>true</Sealed>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-surefire-plugin</artifactId>
287 <version>2.17</version>
289 <skipTests>false</skipTests>
291 <include>**/JU*.java</include>
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>
308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-jarsigner-plugin</artifactId>
310 <version>1.2</version>
318 <!-- skip>${skipSigning}</skip -->
319 <archive>target/${project.artifactId}-${project.version}.jar</archive>
328 <archive>target/${project.artifactId}-${project.version}.jar</archive>
335 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
336 <storepass>Surprise!</storepass>
337 <keypass>Surprise!</keypass>
338 <verbose>true</verbose>
345 <artifactId>maven-release-plugin</artifactId>
346 <version>2.5.2</version>
348 <goals>-s ${mvn.settings} deploy</goals>
353 <artifactId>maven-assembly-plugin</artifactId>
354 <version>2.5.5</version>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-deploy-plugin</artifactId>
360 <version>2.8.1</version>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-dependency-plugin</artifactId>
370 <version>2.10</version>
374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-javadoc-plugin</artifactId>
376 <version>2.10.4</version>
378 <failOnError>false</failOnError>
382 <id>attach-javadocs</id>
392 <groupId>org.apache.maven.plugins</groupId>
393 <artifactId>maven-source-plugin</artifactId>
394 <version>2.2.1</version>
397 <id>attach-sources</id>
399 <goal>jar-no-fork</goal>
408 <groupId>org.codehaus.mojo</groupId>
409 <artifactId>cobertura-maven-plugin</artifactId>
410 <version>2.7</version>
413 <format>html</format>
419 <!--This plugin's configuration is used to store Eclipse m2e settings
420 only. It has no influence on the Maven build itself. -->
422 <groupId>org.eclipse.m2e</groupId>
423 <artifactId>lifecycle-mapping</artifactId>
424 <version>1.0.0</version>
426 <lifecycleMappingMetadata>
429 <pluginExecutionFilter>
442 </pluginExecutionFilter>
448 </lifecycleMappingMetadata>
452 <groupId>org.sonatype.plugins</groupId>
453 <artifactId>nexus-staging-maven-plugin</artifactId>
454 <version>1.6.7</version>
455 <extensions>true</extensions>
457 <nexusUrl>${nexusproxy}</nexusUrl>
458 <stagingProfileId>176c31dfe190a</stagingProfileId>
459 <serverId>ecomp-staging</serverId>
464 <groupId>org.jacoco</groupId>
465 <artifactId>jacoco-maven-plugin</artifactId>
466 <version>${jacoco.version}</version>
468 <!-- Note: This exclusion list should match <sonar.exclusions>
471 <exclude>**/gen/**</exclude>
472 <exclude>**/generated-sources/**</exclude>
473 <exclude>**/yang-gen/**</exclude>
474 <exclude>**/pax/**</exclude>
479 Prepares the property pointing to the JaCoCo runtime agent which
480 is passed as VM argument when Maven the Surefire plugin is executed.
483 <id>pre-unit-test</id>
485 <goal>prepare-agent</goal>
488 <!-- Sets the path to the file which contains the execution data. -->
489 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
491 Sets the name of the property containing the settings
492 for JaCoCo runtime agent.
494 <propertyName>surefireArgLine</propertyName>
498 Ensures that the code coverage report for unit tests is created after
499 unit tests have been run.
502 <id>post-unit-test</id>
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>
515 <id>pre-integration-test</id>
516 <phase>pre-integration-test</phase>
518 <goal>prepare-agent</goal>
521 <!-- Sets the path to the file which contains the execution data. -->
522 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
524 Sets the name of the property containing the settings
525 for JaCoCo runtime agent.
527 <propertyName>failsafeArgLine</propertyName>
531 Ensures that the code coverage report for integration tests after
532 integration tests have been run.
535 <id>post-integration-test</id>
536 <phase>post-integration-test</phase>
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>
552 <distributionManagement>
554 <id>ecomp-releases</id>
555 <name>AAF Release Repository</name>
556 <url>${nexusproxy}${releaseNexusPath}</url>
559 <id>ecomp-snapshots</id>
560 <name>AAF Snapshot Repository</name>
561 <url>${nexusproxy}${snapshotNexusPath}</url>
562 </snapshotRepository>
565 <url>dav:${nexusproxy}${sitePath}</url>
567 </distributionManagement>