blob: fb32d2de250c7d727e7dea8d2cecd9621440a9bb [file] [log] [blame]
Instrumental71037c32018-03-26 13:51:48 -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/maven-v4_0_0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25 <parent>
Sai Gandham83fc0252018-04-09 16:28:48 +000026 <groupId>org.onap.aaf.authz</groupId>
27 <artifactId>authparent</artifactId>
Instrumental12414fe2019-01-22 10:27:32 -060028 <version>2.1.10-SNAPSHOT</version>
Instrumental71037c32018-03-26 13:51:48 -070029 <relativePath>../pom.xml</relativePath>
30 </parent>
31
Instrumental5f1a6a02018-06-26 09:11:08 -050032 <artifactId>aaf-auth-batch</artifactId>
Instrumental71037c32018-03-26 13:51:48 -070033 <name>AAF Auth Batch</name>
34 <description>Batch Processing for AAF Auth</description>
35 <packaging>jar</packaging>
36
37 <developers>
38 <developer>
39 <name>Jonathan Gathman</name>
40 <email>jonathan.gathman@att.com</email>
41 <organization>ATT</organization>
42 <roles>
43 <role>Architect</role>
44 <role>Lead Developer</role>
45 </roles>
46 </developer>
47 <developer>
48 <name>Gabe Maurer</name>
49 <email>gabe.maurer@att.com</email>
50 <organization>ATT</organization>
51 <roles>
52 <role>Developer</role>
53 </roles>
54 </developer>
55 <developer>
56 <name>Ian Howell</name>
57 <email>ian.howell@att.com</email>
58 <organization>ATT</organization>
59 <roles>
60 <role>Developer</role>
61 </roles>
62 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000063 <developer>
64 <name>Sai Gandham</name>
65 <email>sai.gandham@att.com</email>
66 <organization>ATT</organization>
67 <roles>
68 <role>Developer</role>
69 </roles>
70 </developer>
Instrumental71037c32018-03-26 13:51:48 -070071 </developers>
72
73 <properties>
Sai Gandham372e2512018-04-01 16:42:58 -050074
Instrumental17ca7442018-03-29 16:54:19 -050075
76
Instrumental71037c32018-03-26 13:51:48 -070077 <maven.test.failure.ignore>false</maven.test.failure.ignore>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000078 <!-- SONAR -->
Sai Gandhamf44b9272018-04-12 16:42:07 +000079 <!-- <sonar.skip>true</sonar.skip> -->
Sai Gandhamc434f3c2018-03-27 16:29:24 +000080 <jacoco.version>0.7.7.201606060606</jacoco.version>
81 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
82 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
83 <!-- Default Sonar configuration -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050084 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
85 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000086 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
87 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
88 <nexusproxy>https://nexus.onap.org</nexusproxy>
89 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
90 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
91 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000092 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Instrumental71037c32018-03-26 13:51:48 -070093 </properties>
94
95 <dependencies>
96
97 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000098 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070099 <artifactId>aaf-misc-env</artifactId>
100 </dependency>
101
102 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +0000103 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -0700104 <artifactId>aaf-cadi-core</artifactId>
105 </dependency>
106
107 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +0000108 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -0700109 <artifactId>aaf-misc-rosetta</artifactId>
110 </dependency>
111
112 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +0000113 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -0700114 <artifactId>aaf-cadi-aaf</artifactId>
115 </dependency>
116
117 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +0000118 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -0700119 <artifactId>aaf-auth-cass</artifactId>
120 </dependency>
121
122 <dependency>
Instrumentalf95fc5f2018-11-21 16:06:17 -0600123 <groupId>org.onap.aaf.authz</groupId>
124 <artifactId>aaf-auth-deforg</artifactId>
125 </dependency>
126
127 <!--dependency>
Instrumental71037c32018-03-26 13:51:48 -0700128 <groupId>org.slf4j</groupId>
129 <artifactId>slf4j-log4j12</artifactId>
Instrumentalf95fc5f2018-11-21 16:06:17 -0600130 </dependency -->
Instrumental71037c32018-03-26 13:51:48 -0700131
132 </dependencies>
133
134 <build>
135 <plugins>
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-compiler-plugin</artifactId>
139 <configuration>
Instrumentalf95fc5f2018-11-21 16:06:17 -0600140 <source>1.8</source>
141 <target>1.8</target>
Instrumental71037c32018-03-26 13:51:48 -0700142 </configuration>
143 </plugin>
144
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-deploy-plugin</artifactId>
148 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500149 <skip>false</skip>
Instrumental71037c32018-03-26 13:51:48 -0700150 </configuration>
151 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000152 <plugin>
153 <groupId>org.sonatype.plugins</groupId>
154 <artifactId>nexus-staging-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000155 <extensions>true</extensions>
156 <configuration>
157 <nexusUrl>${nexusproxy}</nexusUrl>
158 <stagingProfileId>176c31dfe190a</stagingProfileId>
159 <serverId>ecomp-staging</serverId>
160 </configuration>
161 </plugin>
162 <plugin>
gabe.maurer2e233282018-04-03 11:18:38 -0500163 <groupId>org.jacoco</groupId>
164 <artifactId>jacoco-maven-plugin</artifactId>
gabe.maurer2e233282018-04-03 11:18:38 -0500165 <configuration>
166 <excludes>
167 <exclude>**/gen/**</exclude>
168 <exclude>**/generated-sources/**</exclude>
169 <exclude>**/yang-gen/**</exclude>
170 <exclude>**/pax/**</exclude>
171 </excludes>
172 </configuration>
173 <executions>
174
175 <execution>
176 <id>pre-unit-test</id>
177 <goals>
178 <goal>prepare-agent</goal>
179 </goals>
180 <configuration>
181 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
182 <propertyName>surefireArgLine</propertyName>
183 </configuration>
184 </execution>
185
186
187 <execution>
188 <id>post-unit-test</id>
189 <phase>test</phase>
190 <goals>
191 <goal>report</goal>
192 </goals>
193 <configuration>
194 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
195 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
196 </configuration>
197 </execution>
198 <execution>
199 <id>pre-integration-test</id>
200 <phase>pre-integration-test</phase>
201 <goals>
202 <goal>prepare-agent</goal>
203 </goals>
204 <configuration>
205 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
206 <propertyName>failsafeArgLine</propertyName>
207 </configuration>
208 </execution>
209
210 <execution>
211 <id>post-integration-test</id>
212 <phase>post-integration-test</phase>
213 <goals>
214 <goal>report</goal>
215 </goals>
216 <configuration>
217 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
218 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
219 </configuration>
220 </execution>
221 </executions>
222 </plugin>
Instrumentalf95fc5f2018-11-21 16:06:17 -0600223 <plugin>
224 <artifactId>maven-assembly-plugin</artifactId>
225 <configuration>
226 <classifier>tests</classifier>
227 <archive>
228 <manifest>
Instrumentale2fa0e62019-02-07 11:09:32 -0600229 <mainClass>org.onap.aaf.auth.batch.Batch</mainClass>
Instrumentalf95fc5f2018-11-21 16:06:17 -0600230 </manifest>
231 <manifestEntries>
232 <Sealed>true</Sealed>
233 </manifestEntries>
234 </archive>
235
236 </configuration>
237 <executions>
238 <execution>
239 <id>full</id>
240 <phase>package</phase>
241 <goals>
242 <goal>single</goal>
243 </goals>
244 <configuration>
245 <descriptors>
246 <descriptor>src/assemble/auth-batch.xml</descriptor>
247 </descriptors>
248 </configuration>
249 </execution>
250 </executions>
251 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700252 </plugins>
253 </build>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000254
255 <distributionManagement>
256 <repository>
257 <id>ecomp-releases</id>
258 <name>AAF Release Repository</name>
259 <url>${nexusproxy}${releaseNexusPath}</url>
260 </repository>
261 <snapshotRepository>
262 <id>ecomp-snapshots</id>
263 <name>AAF Snapshot Repository</name>
264 <url>${nexusproxy}${snapshotNexusPath}</url>
265 </snapshotRepository>
266 <site>
267 <id>ecomp-site</id>
268 <url>dav:${nexusproxy}${sitePath}</url>
269 </site>
270 </distributionManagement>
Instrumental71037c32018-03-26 13:51:48 -0700271</project>