2 ============LICENSE_START====================================================
\r
4 * ===========================================================================
\r
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
\r
6 * ===========================================================================
\r
7 * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
\r
18 * ============LICENSE_END====================================================
\r
20 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
\r
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">
\r
25 <groupId>org.onap.aaf.cadi</groupId>
\r
26 <artifactId>parent</artifactId>
\r
27 <version>1.0.0-SNAPSHOT</version>
\r
28 <relativePath>..</relativePath>
\r
31 <modelVersion>4.0.0</modelVersion>
\r
32 <name>CADI AAF (Application Authorization Framework) LUR</name>
\r
33 <packaging>jar</packaging>
\r
34 <url>https://github.com/att/AAF</url>
\r
35 <description>CADI</description>
\r
36 <artifactId>cadi-aaf</artifactId>
\r
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
39 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
\r
41 <sonar.skip>true</sonar.skip>
\r
42 <jacoco.version>0.7.7.201606060606</jacoco.version>
\r
43 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
\r
44 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
\r
45 <!-- Default Sonar configuration -->
\r
46 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
\r
47 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
\r
48 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
\r
49 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
\r
50 <nexusproxy>https://nexus.onap.org</nexusproxy>
\r
51 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
\r
52 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
\r
53 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
\r
54 <sitePath>/content/sites/site/org/onap/aaf/cadi/${project.artifactId}/${project.version}</sitePath>
\r
59 <groupId>org.mockito</groupId>
\r
60 <artifactId>mockito-all</artifactId>
\r
61 <version>1.9.5</version>
\r
65 <groupId>org.onap.aaf.authz</groupId>
\r
66 <artifactId>authz-client</artifactId>
\r
70 <groupId>org.onap.aaf.cadi</groupId>
\r
71 <artifactId>cadi-client</artifactId>
\r
75 <groupId>org.onap.aaf.cadi</groupId>
\r
76 <artifactId>cadi-client</artifactId>
\r
80 <groupId>com.att.aft</groupId>
\r
81 <artifactId>dme2</artifactId>
\r
82 <scope>provided</scope>
\r
86 <groupId>javax.servlet</groupId>
\r
87 <artifactId>javax.servlet-api</artifactId>
\r
88 <version>3.0.1</version>
\r
89 <scope>provided</scope>
\r
93 <groupId>org.slf4j</groupId>
\r
94 <artifactId>slf4j-log4j12</artifactId>
\r
95 <version>1.7.5</version>
\r
103 <groupId>org.apache.maven.plugins</groupId>
\r
104 <artifactId>maven-compiler-plugin</artifactId>
\r
105 <version>2.3.2</version>
\r
108 <!-- We want to create a Jar with Rosetta built in (since I don't want
\r
109 a separate deployment at this time Use this one as the jar to put in SWM
\r
112 <artifactId>maven-assembly-plugin</artifactId>
\r
114 <classifier>tests</classifier>
\r
117 <mainClass>org.onap.aaf.cadi.cm.CmAgent</mainClass>
\r
121 <Sealed>true</Sealed>
\r
128 <phase>package</phase>
\r
130 <goal>single</goal>
\r
134 <descriptor>src/assemble/cadi-aaf.xml</descriptor>
\r
141 <groupId>org.apache.maven.plugins</groupId>
\r
142 <artifactId>maven-javadoc-plugin</artifactId>
\r
143 <version>2.10.4</version>
\r
145 <failOnError>false</failOnError>
\r
149 <id>attach-javadocs</id>
\r
159 <groupId>org.apache.maven.plugins</groupId>
\r
160 <artifactId>maven-source-plugin</artifactId>
\r
161 <version>2.2.1</version>
\r
164 <id>attach-sources</id>
\r
166 <goal>jar-no-fork</goal>
\r
175 <!-- Also sign "full" -->
\r
176 <groupId>org.apache.maven.plugins</groupId>
\r
177 <artifactId>maven-jarsigner-plugin</artifactId>
\r
188 <archive>target/${project.artifactId}-${project.version}-full.jar</archive>
\r
192 <id>verify-full</id>
\r
194 <goal>verify</goal>
\r
197 <archive>target/${project.artifactId}-${project.version}-full.jar</archive>
\r
203 <groupId>org.sonatype.plugins</groupId>
\r
204 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
205 <version>1.6.7</version>
\r
206 <extensions>true</extensions>
\r
208 <nexusUrl>${nexusproxy}</nexusUrl>
\r
209 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
210 <serverId>ecomp-staging</serverId>
\r
215 <groupId>org.jacoco</groupId>
\r
216 <artifactId>jacoco-maven-plugin</artifactId>
\r
217 <version>${jacoco.version}</version>
\r
220 <exclude>**/gen/**</exclude>
\r
221 <exclude>**/generated-sources/**</exclude>
\r
222 <exclude>**/yang-gen/**</exclude>
\r
223 <exclude>**/pax/**</exclude>
\r
229 <id>pre-unit-test</id>
\r
231 <goal>prepare-agent</goal>
\r
234 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
\r
235 <propertyName>surefireArgLine</propertyName>
\r
241 <id>post-unit-test</id>
\r
242 <phase>test</phase>
\r
244 <goal>report</goal>
\r
247 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
\r
248 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
\r
252 <id>pre-integration-test</id>
\r
253 <phase>pre-integration-test</phase>
\r
255 <goal>prepare-agent</goal>
\r
258 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
\r
260 <propertyName>failsafeArgLine</propertyName>
\r
266 <id>post-integration-test</id>
\r
267 <phase>post-integration-test</phase>
\r
269 <goal>report</goal>
\r
272 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
\r
273 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
\r
281 <distributionManagement>
\r
283 <id>ecomp-releases</id>
\r
284 <name>AAF Release Repository</name>
\r
285 <url>${nexusproxy}${releaseNexusPath}</url>
\r
287 <snapshotRepository>
\r
288 <id>ecomp-snapshots</id>
\r
289 <name>AAF Snapshot Repository</name>
\r
290 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
291 </snapshotRepository>
\r
293 <id>ecomp-site</id>
\r
294 <url>dav:${nexusproxy}${sitePath}</url>
\r
296 </distributionManagement>
\r