blob: 6f3d8d7aaa610a906b4e362391479598309b4fcb [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>
sg481n72aacef2017-10-05 16:13:21 +000021
sg481nbd890c52017-08-28 12:11:35 -040022 <developers>
23 <developer>
24 <name>Jonathan Gathman</name>
25 <email></email>
26 <organization>ATT</organization>
27 <organizationUrl></organizationUrl>
28 </developer>
29 </developers>
30
31 <properties>
sg481n08e11042017-09-29 12:33:53 +000032 <maven.test.failure.ignore>false</maven.test.failure.ignore>
sg481nbd890c52017-08-28 12:11:35 -040033 <project.swmVersion>1</project.swmVersion>
sg481na2ac6782017-09-18 16:35:50 -040034 <project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
35 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
36 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481na9d21082017-09-23 14:26:06 +000037 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38 <skipTests>false</skipTests>
39 <project.dme2Version>3.1.200</project.dme2Version>
sg481n4ccc6b82017-10-04 17:29:37 +000040
41 <!-- SONAR -->
42 <jacoco.version>0.7.7.201606060606</jacoco.version>
43 <sonar.skip>true</sonar.skip>
44 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
45 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
46 <!-- Default Sonar configuration -->
47 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
48 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
49 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
50 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
sg481na9d21082017-09-23 14:26:06 +000051 <nexusproxy>https://nexus.onap.org</nexusproxy>
52 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
53 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
54 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
55 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040056 </properties>
57
58 <dependencies>
59
60 <dependency>
61 <groupId>org.onap.aaf.inno</groupId>
62 <artifactId>env</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040063 <version>${project.innoVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040064 </dependency>
65
66 <dependency>
67 <groupId>org.onap.aaf.inno</groupId>
68 <artifactId>rosetta</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040069 <version>${project.innoVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040070 </dependency>
71
72 <dependency>
73 <groupId>org.onap.aaf.cadi</groupId>
74 <artifactId>cadi-core</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040075 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040076 </dependency>
77
78 <dependency>
79 <groupId>org.onap.aaf.cadi</groupId>
80 <artifactId>cadi-aaf</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040081 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040082 </dependency>
83
sg481nbd890c52017-08-28 12:11:35 -040084
85 <dependency>
sg481n5c30b7f2017-09-17 11:37:00 -040086 <groupId>prg.onap.aaf.authz</groupId>
sg481nbd890c52017-08-28 12:11:35 -040087 <artifactId>authz-cass</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040088 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040089 <exclusions>
90 <exclusion>
91 <groupId>javax.servlet</groupId>
92 <artifactId>servlet-api</artifactId>
93 </exclusion>
94 <exclusion>
95 <groupId>org.onap.aaf.cadi</groupId>
96 <artifactId>cadi-aaf</artifactId>
97 </exclusion>
98 <exclusion>
99 <groupId>org.onap.aaf.cadi</groupId>
100 <artifactId>cadi-core</artifactId>
101 </exclusion>
102 <exclusion>
103 <groupId>org.onap.aaf.cadi</groupId>
104 <artifactId>cadi-client</artifactId>
105 </exclusion>
106
107 </exclusions>
108 </dependency>
109
110 <dependency>
111 <groupId>org.joda</groupId>
112 <artifactId>joda-time</artifactId>
113 <version>2.5</version>
114 </dependency>
115
116 <dependency>
117 <groupId>org.slf4j</groupId>
118 <artifactId>slf4j-log4j12</artifactId>
119 </dependency>
sg481na9d21082017-09-23 14:26:06 +0000120
sg481nbd890c52017-08-28 12:11:35 -0400121 </dependencies>
122
123 <build>
124 <plugins>
sg481na2ac6782017-09-18 16:35:50 -0400125
sg481nbd890c52017-08-28 12:11:35 -0400126
127 <plugin>
128 <artifactId>maven-assembly-plugin</artifactId>
129 <version>2.4</version>
130
131 <configuration>
132 <classifier>tests</classifier>
133 <archive>
134 <manifestEntries>
135 <Sealed>true</Sealed>
136 </manifestEntries>
137 </archive>
138 </configuration>
139 <executions>
140 <execution>
141 <id>depends</id>
142 <phase>package</phase>
143 <goals>
144 <goal>single</goal>
145 </goals>
146 <configuration>
147 <descriptorRefs>
148 <descriptorRef>jar-with-dependencies</descriptorRef>
149 </descriptorRefs>
150 <archive>
151 <manifest>
sg481n40cd3562017-09-01 13:12:31 -0400152 <mainClass>org.onap.aaf.authz.Batch</mainClass>
sg481nbd890c52017-08-28 12:11:35 -0400153 </manifest>
154 </archive>
155 </configuration>
156 </execution>
157 <execution>
158 <id>swm</id>
159 <phase>package</phase>
160 <goals>
161 <goal>single</goal>
162 </goals>
163 <configuration>
164 <finalName>authz-batch-${project.version}.${project.swmVersion}</finalName>
165 <descriptors>
166 <descriptor>../authz-service/src/main/assemble/swm.xml</descriptor>
167 </descriptors>
168 <archive>
169 </archive>
170 </configuration>
171 </execution>
172 </executions>
173 </plugin>
174 <plugin>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-javadoc-plugin</artifactId>
177 <configuration>
178 <failOnError>false</failOnError>
179 </configuration>
180 <executions>
181 <execution>
182 <id>attach-javadocs</id>
183 <goals>
184 <goal>jar</goal>
185 </goals>
186 </execution>
187 </executions>
188 </plugin>
189
190
191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-source-plugin</artifactId>
194 <version>2.2.1</version>
195 <executions>
196 <execution>
197 <id>attach-sources</id>
198 <goals>
199 <goal>jar-no-fork</goal>
200 </goals>
201 </execution>
202 </executions>
203 </plugin>
204
sg481na9d21082017-09-23 14:26:06 +0000205<plugin>
206 <groupId>org.sonatype.plugins</groupId>
207 <artifactId>nexus-staging-maven-plugin</artifactId>
208 <version>1.6.7</version>
209 <extensions>true</extensions>
210 <configuration>
211 <nexusUrl>${nexusproxy}</nexusUrl>
212 <stagingProfileId>176c31dfe190a</stagingProfileId>
213 <serverId>ecomp-staging</serverId>
214 </configuration>
sg481n2783a8d2017-10-02 04:11:12 +0000215 </plugin>
sg481n4ccc6b82017-10-04 17:29:37 +0000216
217 <plugin>
218 <groupId>org.jacoco</groupId>
219 <artifactId>jacoco-maven-plugin</artifactId>
220 <version>${jacoco.version}</version>
221 <configuration>
222 <excludes>
223 <exclude>**/gen/**</exclude>
224 <exclude>**/generated-sources/**</exclude>
225 <exclude>**/yang-gen/**</exclude>
226 <exclude>**/pax/**</exclude>
227 </excludes>
228 </configuration>
229 <executions>
230
231 <execution>
232 <id>pre-unit-test</id>
233 <goals>
234 <goal>prepare-agent</goal>
235 </goals>
236 <configuration>
237 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
238 <propertyName>surefireArgLine</propertyName>
239 </configuration>
240 </execution>
241
242
243 <execution>
244 <id>post-unit-test</id>
245 <phase>test</phase>
246 <goals>
247 <goal>report</goal>
248 </goals>
249 <configuration>
250 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
251 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
252 </configuration>
253 </execution>
254 <execution>
255 <id>pre-integration-test</id>
256 <phase>pre-integration-test</phase>
257 <goals>
258 <goal>prepare-agent</goal>
259 </goals>
260 <configuration>
261 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
262
263 <propertyName>failsafeArgLine</propertyName>
264 </configuration>
265 </execution>
266
267
268 <execution>
269 <id>post-integration-test</id>
270 <phase>post-integration-test</phase>
271 <goals>
272 <goal>report</goal>
273 </goals>
274 <configuration>
275 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
276 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
277 </configuration>
278 </execution>
279 </executions>
280 </plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000281
sg481na9d21082017-09-23 14:26:06 +0000282
sg481n40cd3562017-09-01 13:12:31 -0400283
sg481nbd890c52017-08-28 12:11:35 -0400284 </plugins>
285 </build>
286</project>