1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
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>
10 <groupId>com.att.authz</groupId>
11 <artifactId>parent</artifactId>
12 <version>1.0.1-SNAPSHOT</version>
13 <relativePath>../pom.xml</relativePath>
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>
23 <name>BSD License</name>
29 <name>Jonathan Gathman</name>
31 <organization>ATT</organization>
32 <organizationUrl></organizationUrl>
37 <maven.test.failure.ignore>false</maven.test.failure.ignore>
38 <project.swmVersion>1</project.swmVersion>
39 <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>
42 <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>
50 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
51 <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>
62 <groupId>org.onap.aaf.inno</groupId>
63 <artifactId>env</artifactId>
64 <version>${project.innoVersion}</version>
68 <groupId>org.onap.aaf.inno</groupId>
69 <artifactId>rosetta</artifactId>
70 <version>${project.innoVersion}</version>
74 <groupId>org.onap.aaf.cadi</groupId>
75 <artifactId>cadi-core</artifactId>
76 <version>${project.cadiVersion}</version>
80 <groupId>org.onap.aaf.cadi</groupId>
81 <artifactId>cadi-aaf</artifactId>
82 <version>${project.cadiVersion}</version>
87 <groupId>prg.onap.aaf.authz</groupId>
88 <artifactId>authz-cass</artifactId>
89 <version>${project.version}</version>
92 <groupId>javax.servlet</groupId>
93 <artifactId>servlet-api</artifactId>
96 <groupId>org.onap.aaf.cadi</groupId>
97 <artifactId>cadi-aaf</artifactId>
100 <groupId>org.onap.aaf.cadi</groupId>
101 <artifactId>cadi-core</artifactId>
104 <groupId>org.onap.aaf.cadi</groupId>
105 <artifactId>cadi-client</artifactId>
112 <groupId>org.joda</groupId>
113 <artifactId>joda-time</artifactId>
114 <version>2.5</version>
118 <groupId>org.slf4j</groupId>
119 <artifactId>slf4j-log4j12</artifactId>
129 <artifactId>maven-assembly-plugin</artifactId>
130 <version>2.4</version>
133 <classifier>tests</classifier>
136 <Sealed>true</Sealed>
143 <phase>package</phase>
149 <descriptorRef>jar-with-dependencies</descriptorRef>
153 <mainClass>org.onap.aaf.authz.Batch</mainClass>
160 <phase>package</phase>
165 <finalName>authz-batch-${project.version}.${project.swmVersion}</finalName>
167 <descriptor>../authz-service/src/main/assemble/swm.xml</descriptor>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-javadoc-plugin</artifactId>
179 <failOnError>false</failOnError>
183 <id>attach-javadocs</id>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-source-plugin</artifactId>
195 <version>2.2.1</version>
198 <id>attach-sources</id>
200 <goal>jar-no-fork</goal>
207 <groupId>org.sonatype.plugins</groupId>
208 <artifactId>nexus-staging-maven-plugin</artifactId>
209 <version>1.6.7</version>
210 <extensions>true</extensions>
212 <nexusUrl>${nexusproxy}</nexusUrl>
213 <stagingProfileId>176c31dfe190a</stagingProfileId>
214 <serverId>ecomp-staging</serverId>
218 <groupId>org.jacoco</groupId>
219 <artifactId>jacoco-maven-plugin</artifactId>
220 <version>${jacoco.version}</version>
222 <!-- Note: This exclusion list should match <sonar.exclusions>
225 <exclude>**/gen/**</exclude>
226 <exclude>**/generated-sources/**</exclude>
227 <exclude>**/yang-gen/**</exclude>
228 <exclude>**/pax/**</exclude>
233 Prepares the property pointing to the JaCoCo runtime agent which
234 is passed as VM argument when Maven the Surefire plugin is executed.
237 <id>pre-unit-test</id>
239 <goal>prepare-agent</goal>
242 <!-- Sets the path to the file which contains the execution data. -->
243 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
245 Sets the name of the property containing the settings
246 for JaCoCo runtime agent.
248 <propertyName>surefireArgLine</propertyName>
252 Ensures that the code coverage report for unit tests is created after
253 unit tests have been run.
256 <id>post-unit-test</id>
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>
269 <id>pre-integration-test</id>
270 <phase>pre-integration-test</phase>
272 <goal>prepare-agent</goal>
275 <!-- Sets the path to the file which contains the execution data. -->
276 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
278 Sets the name of the property containing the settings
279 for JaCoCo runtime agent.
281 <propertyName>failsafeArgLine</propertyName>
285 Ensures that the code coverage report for integration tests after
286 integration tests have been run.
289 <id>post-integration-test</id>
290 <phase>post-integration-test</phase>
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>