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 <!-- ============================================================== -->
109 <module>core</module>
110 <module>client</module>
112 <module>cass</module>
113 <!-- module>jetty</module -->
114 <!-- module>weblogic</module -->
115 <!-- always build last -->
116 <!--module>swm</module -->
119 <!-- ============================================================== -->
120 <!-- Define project-wide dependencies -->
121 <!-- ============================================================== -->
122 <dependencyManagement>
125 <groupId>org.mockito</groupId>
126 <artifactId>mockito-all</artifactId>
127 <version>1.9.5</version>
131 <groupId>org.onap.aaf.authz</groupId>
132 <artifactId>authz-client</artifactId>
133 <version>${project.authClientVersion}</version>
137 <groupId>org.onap.aaf.cadi</groupId>
138 <artifactId>cadi-core</artifactId>
139 <version>${project.version}</version>
143 <groupId>org.onap.aaf.cadi</groupId>
144 <artifactId>cadi-core</artifactId>
145 <version>${project.version}</version>
146 <classifier>tests</classifier>
150 <groupId>org.onap.aaf.cadi</groupId>
151 <artifactId>cadi-cass</artifactId>
152 <version>${project.version}</version>
156 <groupId>org.onap.aaf.cadi</groupId>
157 <artifactId>cadi-aaf</artifactId>
158 <version>${project.version}</version>
162 <groupId>org.onap.aaf.cadi</groupId>
163 <artifactId>cadi-aaf</artifactId>
164 <version>${project.version}</version>
165 <classifier>full</classifier>
169 <groupId>org.onap.aaf.cadi</groupId>
170 <artifactId>cadi-client</artifactId>
171 <version>${project.version}</version>
175 <groupId>org.onap.aaf.cadi</groupId>
176 <artifactId>cadi-tomcat</artifactId>
177 <version>${project.version}</version>
181 <groupId>org.onap.aaf.cadi</groupId>
182 <artifactId>cadi-tguard</artifactId>
183 <version>${project.version}</version>
187 <groupId>org.onap.aaf.inno</groupId>
188 <artifactId>env</artifactId>
189 <version>${project.innoVersion}</version>
193 <groupId>org.onap.aaf.inno</groupId>
194 <artifactId>rosetta</artifactId>
195 <version>${project.innoVersion}</version>
199 <groupId>org.eclipse.jetty</groupId>
200 <artifactId>jetty-servlet</artifactId>
201 <version>9.0.3.v20130506</version>
205 <groupId>org.eclipse.jetty</groupId>
206 <artifactId>jetty-webapp</artifactId>
207 <version>9.0.3.v20130506</version>
211 <groupId>org.eclipse.jetty.aggregate</groupId>
212 <artifactId>jetty-all</artifactId>
213 <version>9.0.3.v20130506</version>
217 <groupId>javax.servlet</groupId>
218 <artifactId>servlet-api</artifactId>
219 <version>2.5</version>
223 <groupId>com.att.aft</groupId>
224 <artifactId>dme2</artifactId>
225 <version>${project.dme2Version}</version>
228 <groupId>org.slf4j</groupId>
229 <artifactId>slf4j-log4j12</artifactId>
232 <groupId>log4j</groupId>
233 <artifactId>log4j</artifactId>
236 <groupId>com.att.javax.servlet</groupId>
237 <artifactId>servlet-api</artifactId>
240 <groupId>javax.mail</groupId>
241 <artifactId>mail</artifactId>
248 <groupId>org.slf4j</groupId>
249 <artifactId>slf4j-api</artifactId>
250 <version>1.7.5</version>
253 </dependencyManagement>
255 <!-- ============================================================== -->
256 <!-- Define common plugins and make them available for all modules -->
257 <!-- ============================================================== -->
259 <testSourceDirectory>src/test/java</testSourceDirectory>
263 <inherited>true</inherited>
264 <groupId>org.apache.maven.plugins</groupId>
265 <artifactId>maven-compiler-plugin</artifactId>
266 <version>2.3.2</version>
274 <groupId>org.apache.maven.plugins</groupId>
275 <version>2.4</version>
276 <artifactId>maven-jar-plugin</artifactId>
278 <outputDirectory>target</outputDirectory>
281 <Sealed>true</Sealed>
288 <groupId>org.apache.maven.plugins</groupId>
289 <artifactId>maven-surefire-plugin</artifactId>
290 <version>2.17</version>
292 <skipTests>false</skipTests>
294 <include>**/JU*.java</include>
297 <!-- <exclude>**/JU_LocalLur.java</exclude> -->
298 <!-- <exclude>**/JU_BufferedServletInputStream.java</exclude> -->
299 <!--<exclude>**/JU_Passcode.java</exclude> -->
300 <!--<exclude>**/JU_XReader.java</exclude> -->
301 <exclude>**/JU_CASS.java</exclude>
302 <exclude>**/JU_PropertyLocator.java</exclude>
303 <exclude>**/JU_PermEval.java</exclude>
304 <exclude>**/JU_JMeter.java</exclude>
305 <exclude>**/JU_Lur2_0Call.java</exclude>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-jarsigner-plugin</artifactId>
313 <version>1.2</version>
321 <!-- skip>${skipSigning}</skip -->
322 <archive>target/${project.artifactId}-${project.version}.jar</archive>
331 <archive>target/${project.artifactId}-${project.version}.jar</archive>
338 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
339 <storepass>Surprise!</storepass>
340 <keypass>Surprise!</keypass>
341 <verbose>true</verbose>
348 <artifactId>maven-release-plugin</artifactId>
349 <version>2.5.2</version>
351 <goals>-s ${mvn.settings} deploy</goals>
356 <artifactId>maven-assembly-plugin</artifactId>
357 <version>2.5.5</version>
361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-deploy-plugin</artifactId>
363 <version>2.8.1</version>
371 <groupId>org.apache.maven.plugins</groupId>
372 <artifactId>maven-dependency-plugin</artifactId>
373 <version>2.10</version>
377 <groupId>org.apache.maven.plugins</groupId>
378 <artifactId>maven-javadoc-plugin</artifactId>
379 <version>2.10.4</version>
381 <failOnError>false</failOnError>
385 <id>attach-javadocs</id>
395 <groupId>org.apache.maven.plugins</groupId>
396 <artifactId>maven-source-plugin</artifactId>
397 <version>2.2.1</version>
400 <id>attach-sources</id>
402 <goal>jar-no-fork</goal>
411 <groupId>org.codehaus.mojo</groupId>
412 <artifactId>cobertura-maven-plugin</artifactId>
413 <version>2.7</version>
416 <format>html</format>
422 <!--This plugin's configuration is used to store Eclipse m2e settings
423 only. It has no influence on the Maven build itself. -->
425 <groupId>org.eclipse.m2e</groupId>
426 <artifactId>lifecycle-mapping</artifactId>
427 <version>1.0.0</version>
429 <lifecycleMappingMetadata>
432 <pluginExecutionFilter>
445 </pluginExecutionFilter>
451 </lifecycleMappingMetadata>
455 <groupId>org.sonatype.plugins</groupId>
456 <artifactId>nexus-staging-maven-plugin</artifactId>
457 <version>1.6.7</version>
458 <extensions>true</extensions>
460 <nexusUrl>${nexusproxy}</nexusUrl>
461 <stagingProfileId>176c31dfe190a</stagingProfileId>
462 <serverId>ecomp-staging</serverId>
467 <groupId>org.jacoco</groupId>
468 <artifactId>jacoco-maven-plugin</artifactId>
469 <version>${jacoco.version}</version>
472 <exclude>**/gen/**</exclude>
473 <exclude>**/generated-sources/**</exclude>
474 <exclude>**/yang-gen/**</exclude>
475 <exclude>**/pax/**</exclude>
481 <id>pre-unit-test</id>
483 <goal>prepare-agent</goal>
486 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
487 <propertyName>surefireArgLine</propertyName>
493 <id>post-unit-test</id>
499 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
500 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
504 <id>pre-integration-test</id>
505 <phase>pre-integration-test</phase>
507 <goal>prepare-agent</goal>
510 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
512 <propertyName>failsafeArgLine</propertyName>
518 <id>post-integration-test</id>
519 <phase>post-integration-test</phase>
524 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
525 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
533 <distributionManagement>
535 <id>ecomp-releases</id>
536 <name>AAF Release Repository</name>
537 <url>${nexusproxy}${releaseNexusPath}</url>
540 <id>ecomp-snapshots</id>
541 <name>AAF Snapshot Repository</name>
542 <url>${nexusproxy}${snapshotNexusPath}</url>
543 </snapshotRepository>
546 <url>dav:${nexusproxy}${sitePath}</url>
548 </distributionManagement>