blob: 89af59bd51079004c5020be50abc164e90e68851 [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>
sg481nbd890c52017-08-28 12:11:35 -040037 <project.swmVersion>1</project.swmVersion>
sg481na2ac6782017-09-18 16:35:50 -040038 <project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
39 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
40 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481na9d21082017-09-23 14:26:06 +000041 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <skipTests>false</skipTests>
43 <project.dme2Version>3.1.200</project.dme2Version>
44 <sonar.language>java</sonar.language>
45 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
46 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
47 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
48 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481n92685f22017-09-29 01:12:16 +000049 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
sg481na9d21082017-09-23 14:26:06 +000050 <sonar.projectVersion>${project.version}</sonar.projectVersion>
51 <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>
215 </plugin>
216 <plugin>
217 <groupId>org.jacoco</groupId>
218 <artifactId>jacoco-maven-plugin</artifactId>
219 <version>0.7.7.201606060606</version>
220 <configuration>
221 <dumpOnExit>true</dumpOnExit>
sg481na9d21082017-09-23 14:26:06 +0000222 </configuration>
223 <executions>
224 <execution>
225 <id>pre-unit-test</id>
226 <goals>
227 <goal>prepare-agent</goal>
228 </goals>
229 <configuration>
230 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
231 <!-- <append>true</append> -->
232 </configuration>
233 </execution>
234 <execution>
235 <id>pre-integration-test</id>
236 <phase>pre-integration-test</phase>
237 <goals>
238 <goal>prepare-agent</goal>
239 </goals>
240 <configuration>
241 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
242 <!-- <append>true</append> -->
243 </configuration>
244 </execution>
245 <execution>
246 <goals>
247 <goal>merge</goal>
248 </goals>
249 <phase>post-integration-test</phase>
250 <configuration>
251 <fileSets>
252 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
253 <directory>${project.build.directory}/coverage-reports</directory>
254 <includes>
255 <include>*.exec</include>
256 </includes>
257 </fileSet>
258 </fileSets>
259 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
260 </configuration>
261 </execution>
262 </executions>
263 </plugin>
264
sg481n40cd3562017-09-01 13:12:31 -0400265
sg481nbd890c52017-08-28 12:11:35 -0400266 </plugins>
267 </build>
268</project>