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>1.1.0</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>
71 <jacoco.version>0.7.7.201606060606</jacoco.version>
72 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
73 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
74 <!-- Default Sonar configuration -->
75 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
76 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
77 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
78 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
79 <nexusproxy>https://nexus.onap.org</nexusproxy>
80 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
81 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
82 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
83 <sitePath>/content/sites/site/org/onap/aaf/cadi/${project.artifactId}/${project.version}</sitePath>
85 <!-- ============================================================== -->
86 <!-- Define the major contributors and developers of CADI -->
87 <!-- ============================================================== -->
90 <name>Jonathan Gathman</name>
92 <timezone>CST</timezone>
98 <groupId>junit</groupId>
99 <artifactId>junit</artifactId>
100 <version>4.10</version>
105 <!-- ============================================================== -->
106 <!-- Define sub-projects (modules) -->
107 <!-- ============================================================== -->
111 <!-- ============================================================== -->
112 <!-- Define project-wide dependencies -->
113 <!-- ============================================================== -->
114 <dependencyManagement>
117 <groupId>org.mockito</groupId>
118 <artifactId>mockito-all</artifactId>
119 <version>1.9.5</version>
123 <groupId>org.onap.aaf.authz</groupId>
124 <artifactId>authz-client</artifactId>
125 <version>${project.authClientVersion}</version>
129 <groupId>org.onap.aaf.cadi</groupId>
130 <artifactId>cadi-core</artifactId>
131 <version>${project.version}</version>
135 <groupId>org.onap.aaf.cadi</groupId>
136 <artifactId>cadi-core</artifactId>
137 <version>${project.version}</version>
138 <classifier>tests</classifier>
142 <groupId>org.onap.aaf.cadi</groupId>
143 <artifactId>cadi-cass</artifactId>
144 <version>${project.version}</version>
148 <groupId>org.onap.aaf.cadi</groupId>
149 <artifactId>cadi-aaf</artifactId>
150 <version>${project.version}</version>
154 <groupId>org.onap.aaf.cadi</groupId>
155 <artifactId>cadi-aaf</artifactId>
156 <version>${project.version}</version>
157 <classifier>full</classifier>
161 <groupId>org.onap.aaf.cadi</groupId>
162 <artifactId>cadi-client</artifactId>
163 <version>${project.version}</version>
167 <groupId>org.onap.aaf.cadi</groupId>
168 <artifactId>cadi-tomcat</artifactId>
169 <version>${project.version}</version>
173 <groupId>org.onap.aaf.cadi</groupId>
174 <artifactId>cadi-tguard</artifactId>
175 <version>${project.version}</version>
179 <groupId>org.onap.aaf.inno</groupId>
180 <artifactId>env</artifactId>
181 <version>${project.innoVersion}</version>
185 <groupId>org.onap.aaf.inno</groupId>
186 <artifactId>rosetta</artifactId>
187 <version>${project.innoVersion}</version>
191 <groupId>org.eclipse.jetty</groupId>
192 <artifactId>jetty-servlet</artifactId>
193 <version>9.0.3.v20130506</version>
197 <groupId>org.eclipse.jetty</groupId>
198 <artifactId>jetty-webapp</artifactId>
199 <version>9.0.3.v20130506</version>
203 <groupId>org.eclipse.jetty.aggregate</groupId>
204 <artifactId>jetty-all</artifactId>
205 <version>9.0.3.v20130506</version>
209 <groupId>javax.servlet</groupId>
210 <artifactId>servlet-api</artifactId>
211 <version>2.5</version>
215 <groupId>com.att.aft</groupId>
216 <artifactId>dme2</artifactId>
217 <version>${project.dme2Version}</version>
220 <groupId>org.slf4j</groupId>
221 <artifactId>slf4j-log4j12</artifactId>
224 <groupId>log4j</groupId>
225 <artifactId>log4j</artifactId>
228 <groupId>com.att.javax.servlet</groupId>
229 <artifactId>servlet-api</artifactId>
232 <groupId>javax.mail</groupId>
233 <artifactId>mail</artifactId>
240 <groupId>org.slf4j</groupId>
241 <artifactId>slf4j-api</artifactId>
242 <version>1.7.5</version>
245 </dependencyManagement>
247 <!-- ============================================================== -->
248 <!-- Define common plugins and make them available for all modules -->
249 <!-- ============================================================== -->
251 <testSourceDirectory>src/test/java</testSourceDirectory>
255 <inherited>true</inherited>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-compiler-plugin</artifactId>
258 <version>2.3.2</version>
266 <groupId>org.apache.maven.plugins</groupId>
267 <version>2.4</version>
268 <artifactId>maven-jar-plugin</artifactId>
270 <outputDirectory>target</outputDirectory>
273 <Sealed>true</Sealed>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-surefire-plugin</artifactId>
282 <version>2.17</version>
284 <skipTests>false</skipTests>
286 <include>**/JU*.java</include>
289 <!-- <exclude>**/JU_LocalLur.java</exclude> -->
290 <!-- <exclude>**/JU_BufferedServletInputStream.java</exclude> -->
291 <!--<exclude>**/JU_Passcode.java</exclude> -->
292 <!--<exclude>**/JU_XReader.java</exclude> -->
293 <exclude>**/JU_CASS.java</exclude>
294 <exclude>**/JU_PropertyLocator.java</exclude>
295 <exclude>**/JU_PermEval.java</exclude>
296 <exclude>**/JU_JMeter.java</exclude>
297 <exclude>**/JU_Lur2_0Call.java</exclude>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-jarsigner-plugin</artifactId>
305 <version>1.2</version>
313 <!-- skip>${skipSigning}</skip -->
314 <archive>target/${project.artifactId}-${project.version}.jar</archive>
323 <archive>target/${project.artifactId}-${project.version}.jar</archive>
330 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
331 <storepass>Surprise!</storepass>
332 <keypass>Surprise!</keypass>
333 <verbose>true</verbose>
340 <artifactId>maven-release-plugin</artifactId>
341 <version>2.5.2</version>
343 <goals>-s ${mvn.settings} deploy</goals>
348 <artifactId>maven-assembly-plugin</artifactId>
349 <version>2.5.5</version>
353 <groupId>org.apache.maven.plugins</groupId>
354 <artifactId>maven-deploy-plugin</artifactId>
355 <version>2.8.1</version>
363 <groupId>org.apache.maven.plugins</groupId>
364 <artifactId>maven-dependency-plugin</artifactId>
365 <version>2.10</version>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-javadoc-plugin</artifactId>
371 <version>2.10.4</version>
373 <failOnError>false</failOnError>
377 <id>attach-javadocs</id>
387 <groupId>org.apache.maven.plugins</groupId>
388 <artifactId>maven-source-plugin</artifactId>
389 <version>2.2.1</version>
392 <id>attach-sources</id>
394 <goal>jar-no-fork</goal>
403 <groupId>org.codehaus.mojo</groupId>
404 <artifactId>cobertura-maven-plugin</artifactId>
405 <version>2.7</version>
408 <format>html</format>
414 <!--This plugin's configuration is used to store Eclipse m2e settings
415 only. It has no influence on the Maven build itself. -->
417 <groupId>org.eclipse.m2e</groupId>
418 <artifactId>lifecycle-mapping</artifactId>
419 <version>1.0.0</version>
421 <lifecycleMappingMetadata>
424 <pluginExecutionFilter>
437 </pluginExecutionFilter>
443 </lifecycleMappingMetadata>
447 <groupId>org.sonatype.plugins</groupId>
448 <artifactId>nexus-staging-maven-plugin</artifactId>
449 <version>1.6.7</version>
450 <extensions>true</extensions>
452 <nexusUrl>${nexusproxy}</nexusUrl>
453 <stagingProfileId>176c31dfe190a</stagingProfileId>
454 <serverId>ecomp-staging</serverId>
459 <groupId>org.jacoco</groupId>
460 <artifactId>jacoco-maven-plugin</artifactId>
461 <version>${jacoco.version}</version>
464 <exclude>**/gen/**</exclude>
465 <exclude>**/generated-sources/**</exclude>
466 <exclude>**/yang-gen/**</exclude>
467 <exclude>**/pax/**</exclude>
473 <id>pre-unit-test</id>
475 <goal>prepare-agent</goal>
478 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
479 <propertyName>surefireArgLine</propertyName>
485 <id>post-unit-test</id>
491 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
492 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
496 <id>pre-integration-test</id>
497 <phase>pre-integration-test</phase>
499 <goal>prepare-agent</goal>
502 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
504 <propertyName>failsafeArgLine</propertyName>
510 <id>post-integration-test</id>
511 <phase>post-integration-test</phase>
516 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
517 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
525 <distributionManagement>
527 <id>ecomp-releases</id>
528 <name>AAF Release Repository</name>
529 <url>${nexusproxy}${releaseNexusPath}</url>
532 <id>ecomp-snapshots</id>
533 <name>AAF Snapshot Repository</name>
534 <url>${nexusproxy}${snapshotNexusPath}</url>
535 </snapshotRepository>
538 <url>dav:${nexusproxy}${sitePath}</url>
540 </distributionManagement>