blob: e072ce87f995987ed2bf1b1a1ae0d254bc55e7a9 [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
4 -->
5
6<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
8 <modelVersion>4.0.0</modelVersion>
9 <parent>
10 <groupId>com.att.authz</groupId>
11 <artifactId>parent</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040012 <version>1.0.1-SNAPSHOT</version>
sg481nbd890c52017-08-28 12:11:35 -040013 <relativePath>../pom.xml</relativePath>
14 </parent>
15
16 <artifactId>authz-batch</artifactId>
17 <name>Authz Batch</name>
18 <description>Batch Processing for Authz</description>
19 <packaging>jar</packaging>
20 <url>https://github.com/att/AAF</url>
21 <licenses>
22 <license>
23 <name>BSD License</name>
24 <url> </url>
25 </license>
26 </licenses>
27 <developers>
28 <developer>
29 <name>Jonathan Gathman</name>
30 <email></email>
31 <organization>ATT</organization>
32 <organizationUrl></organizationUrl>
33 </developer>
34 </developers>
35
36 <properties>
sg481n08e11042017-09-29 12:33:53 +000037 <maven.test.failure.ignore>false</maven.test.failure.ignore>
sg481nbd890c52017-08-28 12:11:35 -040038 <project.swmVersion>1</project.swmVersion>
sg481na2ac6782017-09-18 16:35:50 -040039 <project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
40 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
41 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481na9d21082017-09-23 14:26:06 +000042 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43 <skipTests>false</skipTests>
44 <project.dme2Version>3.1.200</project.dme2Version>
45 <sonar.language>java</sonar.language>
46 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
47 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
48 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
49 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481nf33ea6d2017-10-01 17:28:44 +000050 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
sg481na9d21082017-09-23 14:26:06 +000051 <sonar.projectVersion>${project.version}</sonar.projectVersion>
52 <nexusproxy>https://nexus.onap.org</nexusproxy>
53 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
54 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
55 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
56 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040057 </properties>
58
59 <dependencies>
60
61 <dependency>
62 <groupId>org.onap.aaf.inno</groupId>
63 <artifactId>env</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040064 <version>${project.innoVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040065 </dependency>
66
67 <dependency>
68 <groupId>org.onap.aaf.inno</groupId>
69 <artifactId>rosetta</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040070 <version>${project.innoVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040071 </dependency>
72
73 <dependency>
74 <groupId>org.onap.aaf.cadi</groupId>
75 <artifactId>cadi-core</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040076 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040077 </dependency>
78
79 <dependency>
80 <groupId>org.onap.aaf.cadi</groupId>
81 <artifactId>cadi-aaf</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040082 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040083 </dependency>
84
sg481nbd890c52017-08-28 12:11:35 -040085
86 <dependency>
sg481n5c30b7f2017-09-17 11:37:00 -040087 <groupId>prg.onap.aaf.authz</groupId>
sg481nbd890c52017-08-28 12:11:35 -040088 <artifactId>authz-cass</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040089 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040090 <exclusions>
91 <exclusion>
92 <groupId>javax.servlet</groupId>
93 <artifactId>servlet-api</artifactId>
94 </exclusion>
95 <exclusion>
96 <groupId>org.onap.aaf.cadi</groupId>
97 <artifactId>cadi-aaf</artifactId>
98 </exclusion>
99 <exclusion>
100 <groupId>org.onap.aaf.cadi</groupId>
101 <artifactId>cadi-core</artifactId>
102 </exclusion>
103 <exclusion>
104 <groupId>org.onap.aaf.cadi</groupId>
105 <artifactId>cadi-client</artifactId>
106 </exclusion>
107
108 </exclusions>
109 </dependency>
110
111 <dependency>
112 <groupId>org.joda</groupId>
113 <artifactId>joda-time</artifactId>
114 <version>2.5</version>
115 </dependency>
116
117 <dependency>
118 <groupId>org.slf4j</groupId>
119 <artifactId>slf4j-log4j12</artifactId>
120 </dependency>
sg481na9d21082017-09-23 14:26:06 +0000121
sg481nbd890c52017-08-28 12:11:35 -0400122 </dependencies>
123
124 <build>
125 <plugins>
sg481na2ac6782017-09-18 16:35:50 -0400126
sg481nbd890c52017-08-28 12:11:35 -0400127
128 <plugin>
129 <artifactId>maven-assembly-plugin</artifactId>
130 <version>2.4</version>
131
132 <configuration>
133 <classifier>tests</classifier>
134 <archive>
135 <manifestEntries>
136 <Sealed>true</Sealed>
137 </manifestEntries>
138 </archive>
139 </configuration>
140 <executions>
141 <execution>
142 <id>depends</id>
143 <phase>package</phase>
144 <goals>
145 <goal>single</goal>
146 </goals>
147 <configuration>
148 <descriptorRefs>
149 <descriptorRef>jar-with-dependencies</descriptorRef>
150 </descriptorRefs>
151 <archive>
152 <manifest>
sg481n40cd3562017-09-01 13:12:31 -0400153 <mainClass>org.onap.aaf.authz.Batch</mainClass>
sg481nbd890c52017-08-28 12:11:35 -0400154 </manifest>
155 </archive>
156 </configuration>
157 </execution>
158 <execution>
159 <id>swm</id>
160 <phase>package</phase>
161 <goals>
162 <goal>single</goal>
163 </goals>
164 <configuration>
165 <finalName>authz-batch-${project.version}.${project.swmVersion}</finalName>
166 <descriptors>
167 <descriptor>../authz-service/src/main/assemble/swm.xml</descriptor>
168 </descriptors>
169 <archive>
170 </archive>
171 </configuration>
172 </execution>
173 </executions>
174 </plugin>
175 <plugin>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-javadoc-plugin</artifactId>
178 <configuration>
179 <failOnError>false</failOnError>
180 </configuration>
181 <executions>
182 <execution>
183 <id>attach-javadocs</id>
184 <goals>
185 <goal>jar</goal>
186 </goals>
187 </execution>
188 </executions>
189 </plugin>
190
191
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-source-plugin</artifactId>
195 <version>2.2.1</version>
196 <executions>
197 <execution>
198 <id>attach-sources</id>
199 <goals>
200 <goal>jar-no-fork</goal>
201 </goals>
202 </execution>
203 </executions>
204 </plugin>
205
sg481na9d21082017-09-23 14:26:06 +0000206<plugin>
207 <groupId>org.sonatype.plugins</groupId>
208 <artifactId>nexus-staging-maven-plugin</artifactId>
209 <version>1.6.7</version>
210 <extensions>true</extensions>
211 <configuration>
212 <nexusUrl>${nexusproxy}</nexusUrl>
213 <stagingProfileId>176c31dfe190a</stagingProfileId>
214 <serverId>ecomp-staging</serverId>
215 </configuration>
216 </plugin>
217 <plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000218 <groupId>org.jacoco</groupId>
219 <artifactId>jacoco-maven-plugin</artifactId>
220 <version>${jacoco.version}</version>
221 <configuration>
222 <!-- Note: This exclusion list should match <sonar.exclusions>
223 property above -->
224 <excludes>
225 <exclude>**/gen/**</exclude>
226 <exclude>**/generated-sources/**</exclude>
227 <exclude>**/yang-gen/**</exclude>
228 <exclude>**/pax/**</exclude>
229 </excludes>
230 </configuration>
231 <executions>
232 <!--
233 Prepares the property pointing to the JaCoCo runtime agent which
234 is passed as VM argument when Maven the Surefire plugin is executed.
235 -->
236 <execution>
237 <id>pre-unit-test</id>
238 <goals>
239 <goal>prepare-agent</goal>
240 </goals>
241 <configuration>
242 <!-- Sets the path to the file which contains the execution data. -->
243 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
244 <!--
245 Sets the name of the property containing the settings
246 for JaCoCo runtime agent.
247 -->
248 <propertyName>surefireArgLine</propertyName>
249 </configuration>
250 </execution>
251 <!--
252 Ensures that the code coverage report for unit tests is created after
253 unit tests have been run.
254 -->
255 <execution>
256 <id>post-unit-test</id>
257 <phase>test</phase>
258 <goals>
259 <goal>report</goal>
260 </goals>
261 <configuration>
262 <!-- Sets the path to the file which contains the execution data. -->
263 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
264 <!-- Sets the output directory for the code coverage report. -->
265 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
266 </configuration>
267 </execution>
268 <execution>
269 <id>pre-integration-test</id>
270 <phase>pre-integration-test</phase>
271 <goals>
272 <goal>prepare-agent</goal>
273 </goals>
274 <configuration>
275 <!-- Sets the path to the file which contains the execution data. -->
276 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
277 <!--
278 Sets the name of the property containing the settings
279 for JaCoCo runtime agent.
280 -->
281 <propertyName>failsafeArgLine</propertyName>
282 </configuration>
283 </execution>
284 <!--
285 Ensures that the code coverage report for integration tests after
286 integration tests have been run.
287 -->
288 <execution>
289 <id>post-integration-test</id>
290 <phase>post-integration-test</phase>
291 <goals>
292 <goal>report</goal>
293 </goals>
294 <configuration>
295 <!-- Sets the path to the file which contains the execution data. -->
296 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
297 <!-- Sets the output directory for the code coverage report. -->
298 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
299 </configuration>
300 </execution>
301 </executions>
302 </plugin>
303
sg481na9d21082017-09-23 14:26:06 +0000304
sg481n40cd3562017-09-01 13:12:31 -0400305
sg481nbd890c52017-08-28 12:11:35 -0400306 </plugins>
307 </build>
308</project>