blob: 25a2d02d6a9c20c1ce47eb2a6e172de0aa66fd37 [file] [log] [blame]
Instrumentala20accc2018-03-26 13:49:56 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * ============LICENSE_START====================================================
4 * org.onap.aaf
5 * ===========================================================================
6 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7 * ===========================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END====================================================
20 *
21-->
22<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <parent>
Sai Gandham83fc0252018-04-09 16:28:48 +000025 <groupId>org.onap.aaf.authz</groupId>
26 <artifactId>cadiparent</artifactId>
Instrumentalfe3c40d2019-02-27 18:28:56 -060027 <version>2.1.10-SNAPSHOT</version>
Sai Gandhama1208a42018-04-08 22:27:11 +000028 <relativePath>..</relativePath>
Instrumentala20accc2018-03-26 13:49:56 -070029 </parent>
30
31 <modelVersion>4.0.0</modelVersion>
32 <artifactId>aaf-cadi-aaf</artifactId>
33 <name>AAF CADI AAF Connection Library</name>
34 <packaging>jar</packaging>
35
Sai Gandhamc434f3c2018-03-27 16:29:24 +000036 <properties>
37 <!-- SONAR -->
Sai Gandhamf44b9272018-04-12 16:42:07 +000038 <!-- <sonar.skip>true</sonar.skip> -->
Sai Gandhamc434f3c2018-03-27 16:29:24 +000039 <jacoco.version>0.7.7.201606060606</jacoco.version>
40 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
41 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
42 <!-- Default Sonar configuration -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050043 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
44 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000045 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
46 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47 <nexusproxy>https://nexus.onap.org</nexusproxy>
48 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
49 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
50 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000051 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000052 </properties>
Instrumentala20accc2018-03-26 13:49:56 -070053 <developers>
54 <developer>
55 <name>Jonathan Gathman</name>
56 <email>jonathan.gathman@att.com</email>
57 <organization>ATT</organization>
58 <roles>
59 <role>Architect</role>
60 <role>Lead Developer</role>
61 </roles>
62 </developer>
63 <developer>
64 <name>Gabe Maurer</name>
65 <email>gabe.maurer@att.com</email>
66 <organization>ATT</organization>
67 <roles>
68 <role>Developer</role>
69 </roles>
70 </developer>
71 <developer>
72 <name>Ian Howell</name>
73 <email>ian.howell@att.com</email>
74 <organization>ATT</organization>
75 <roles>
76 <role>Developer</role>
77 </roles>
78 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000079 <developer>
80 <name>Sai Gandham</name>
81 <email>sai.gandham@att.com</email>
82 <organization>ATT</organization>
83 <roles>
84 <role>Developer</role>
85 </roles>
86 </developer>
Instrumentala20accc2018-03-26 13:49:56 -070087 </developers>
88
89
90 <dependencies>
91 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000092 <groupId>org.onap.aaf.authz</groupId>
Instrumentala20accc2018-03-26 13:49:56 -070093 <artifactId>aaf-auth-client</artifactId>
94 </dependency>
95
96 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000097 <groupId>org.onap.aaf.authz</groupId>
Instrumentala20accc2018-03-26 13:49:56 -070098 <artifactId>aaf-cadi-client</artifactId>
99 </dependency>
100
101 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +0000102 <groupId>org.onap.aaf.authz</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700103 <artifactId>aaf-misc-env</artifactId>
104 </dependency>
105
106 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +0000107 <groupId>org.onap.aaf.authz</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700108 <artifactId>aaf-cadi-core</artifactId>
109 </dependency>
110
111 <dependency>
112 <groupId>javax.servlet</groupId>
Instrumental924b18d2018-04-05 20:17:18 -0500113 <artifactId>javax.servlet-api</artifactId>
Instrumentala20accc2018-03-26 13:49:56 -0700114 <scope>provided</scope>
115 </dependency>
116 </dependencies>
117 <build>
118 <plugins>
119 <plugin>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-compiler-plugin</artifactId>
122 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500123 <plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000124 <groupId>org.sonatype.plugins</groupId>
125 <artifactId>nexus-staging-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000126 <extensions>true</extensions>
127 <configuration>
128 <nexusUrl>${nexusproxy}</nexusUrl>
129 <stagingProfileId>176c31dfe190a</stagingProfileId>
130 <serverId>ecomp-staging</serverId>
131 </configuration>
IanHowell3901cf82018-04-03 11:24:27 -0500132 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000133 <plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500134 <groupId>org.jacoco</groupId>
135 <artifactId>jacoco-maven-plugin</artifactId>
IanHowell3901cf82018-04-03 11:24:27 -0500136 <configuration>
137 <excludes>
138 <exclude>**/gen/**</exclude>
139 <exclude>**/generated-sources/**</exclude>
140 <exclude>**/yang-gen/**</exclude>
141 <exclude>**/pax/**</exclude>
142 </excludes>
143 </configuration>
144 <executions>
145 <execution>
146 <id>pre-unit-test</id>
147 <goals>
148 <goal>prepare-agent</goal>
149 </goals>
150 <configuration>
151 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
152 <propertyName>surefireArgLine</propertyName>
153 </configuration>
154 </execution>
155 <execution>
156 <id>post-unit-test</id>
157 <phase>test</phase>
158 <goals>
159 <goal>report</goal>
160 </goals>
161 <configuration>
162 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
163 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
164 </configuration>
165 </execution>
166 <execution>
167 <id>pre-integration-test</id>
168 <phase>pre-integration-test</phase>
169 <goals>
170 <goal>prepare-agent</goal>
171 </goals>
172 <configuration>
173 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
174 <propertyName>failsafeArgLine</propertyName>
175 </configuration>
176 </execution>
177 <execution>
178 <id>post-integration-test</id>
179 <phase>post-integration-test</phase>
180 <goals>
181 <goal>report</goal>
182 </goals>
183 <configuration>
184 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
185 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
186 </configuration>
187 </execution>
188 </executions>
189 </plugin>
Instrumental4094dee2018-04-20 10:38:26 -0500190
191 <plugin>
192 <artifactId>maven-assembly-plugin</artifactId>
193 <configuration>
194 <classifier>tests</classifier>
195 <archive>
196 <manifest>
Instrumental9ec28952018-07-12 11:14:10 -0500197 <mainClass>org.onap.aaf.cadi.configure.Agent</mainClass>
Instrumental4094dee2018-04-20 10:38:26 -0500198 </manifest>
199 <manifestEntries>
200 <Sealed>true</Sealed>
201 </manifestEntries>
202 </archive>
203 </configuration>
204 <executions>
205 <execution>
206 <id>full</id>
207 <phase>package</phase>
208 <goals>
209 <goal>single</goal>
210 </goals>
211 <configuration>
212 <descriptors>
213 <descriptor>src/assemble/cadi-aaf.xml</descriptor>
214 </descriptors>
215 </configuration>
216 </execution>
217 </executions>
218 </plugin>
Instrumentala20accc2018-03-26 13:49:56 -0700219 </plugins>
220 </build>
IanHowell3901cf82018-04-03 11:24:27 -0500221
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000222 <distributionManagement>
223 <repository>
224 <id>ecomp-releases</id>
225 <name>AAF Release Repository</name>
226 <url>${nexusproxy}${releaseNexusPath}</url>
227 </repository>
228 <snapshotRepository>
229 <id>ecomp-snapshots</id>
230 <name>AAF Snapshot Repository</name>
231 <url>${nexusproxy}${snapshotNexusPath}</url>
232 </snapshotRepository>
233 <site>
234 <id>ecomp-site</id>
235 <url>dav:${nexusproxy}${sitePath}</url>
236 </site>
237 </distributionManagement>
Instrumentala20accc2018-03-26 13:49:56 -0700238</project>