Move AAF Poms to 2.1.16
[aaf/authz.git] / auth / auth-batch / pom.xml
1 <?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>
26         <groupId>org.onap.aaf.authz</groupId>
27         <artifactId>authparent</artifactId>
28         <version>2.1.16-SNAPSHOT</version>
29         <relativePath>../pom.xml</relativePath>
30     </parent>
31
32     <artifactId>aaf-auth-batch</artifactId>
33     <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>
63         <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>
71     </developers>
72
73     <properties>
74     
75
76
77         <maven.test.failure.ignore>false</maven.test.failure.ignore>
78         <!--  SONAR  -->
79         <!-- <sonar.skip>true</sonar.skip> -->
80          <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 -->
84         <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>
86         <!-- 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>
92         <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
93     </properties>
94
95     <dependencies>
96
97         <dependency>
98             <groupId>org.onap.aaf.authz</groupId>
99             <artifactId>aaf-misc-env</artifactId>
100         </dependency>
101
102         <dependency>
103             <groupId>org.onap.aaf.authz</groupId>
104             <artifactId>aaf-cadi-core</artifactId>
105         </dependency>
106
107         <dependency>
108             <groupId>org.onap.aaf.authz</groupId>
109             <artifactId>aaf-misc-rosetta</artifactId>
110         </dependency>
111
112         <dependency>
113             <groupId>org.onap.aaf.authz</groupId>
114             <artifactId>aaf-cadi-aaf</artifactId>
115         </dependency>
116
117         <dependency>
118             <groupId>org.onap.aaf.authz</groupId>
119             <artifactId>aaf-auth-cass</artifactId>
120         </dependency>
121
122         <dependency>
123             <groupId>org.onap.aaf.authz</groupId>
124             <artifactId>aaf-auth-deforg</artifactId>
125         </dependency>
126
127         <!--dependency>
128             <groupId>org.slf4j</groupId>
129             <artifactId>slf4j-log4j12</artifactId>
130         </dependency -->
131
132     </dependencies>
133
134     <build>
135         <plugins>
136             <plugin>
137                 <groupId>org.apache.maven.plugins</groupId>
138                 <artifactId>maven-compiler-plugin</artifactId>
139                 <configuration>
140                     <source>1.8</source>
141                     <target>1.8</target>
142                 </configuration>
143             </plugin>
144
145             <plugin>
146                     <groupId>org.jacoco</groupId>
147                     <artifactId>jacoco-maven-plugin</artifactId>
148                     <configuration>
149                         <excludes>
150                             <exclude>**/gen/**</exclude>
151                             <exclude>**/generated-sources/**</exclude>
152                             <exclude>**/yang-gen/**</exclude>
153                             <exclude>**/pax/**</exclude>
154                         </excludes>
155                     </configuration>
156                     <executions>
157
158                         <execution>
159                             <id>pre-unit-test</id>
160                             <goals>
161                                 <goal>prepare-agent</goal>
162                             </goals>
163                             <configuration>
164                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
165                                 <propertyName>surefireArgLine</propertyName>
166                             </configuration>
167                         </execution>
168
169
170                         <execution>
171                             <id>post-unit-test</id>
172                             <phase>test</phase>
173                             <goals>
174                                 <goal>report</goal>
175                             </goals>
176                             <configuration>
177                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
178                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
179                             </configuration>
180                         </execution>
181                         <execution>
182                             <id>pre-integration-test</id>
183                             <phase>pre-integration-test</phase>
184                             <goals>
185                                 <goal>prepare-agent</goal>
186                             </goals>
187                             <configuration>
188                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
189                                 <propertyName>failsafeArgLine</propertyName>
190                             </configuration>
191                         </execution>
192
193                         <execution>
194                             <id>post-integration-test</id>
195                             <phase>post-integration-test</phase>
196                             <goals>
197                                 <goal>report</goal>
198                             </goals>
199                             <configuration>
200                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
201                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
202                             </configuration>
203                         </execution>
204                     </executions>
205                 </plugin>
206                 <plugin>
207                 <artifactId>maven-assembly-plugin</artifactId>
208                 <configuration>
209                     <classifier>tests</classifier>
210                     <archive>
211                         <manifest>
212                             <mainClass>org.onap.aaf.auth.batch.Batch</mainClass>
213                         </manifest>
214                         <manifestEntries>
215                             <Sealed>true</Sealed>
216                         </manifestEntries>
217                     </archive>
218
219                 </configuration>
220                 <executions>
221                     <execution>
222                         <id>full</id>
223                         <phase>package</phase>
224                         <goals>
225                             <goal>single</goal>
226                         </goals>
227                         <configuration>
228                             <descriptors>
229                                 <descriptor>src/assemble/auth-batch.xml</descriptor>
230                             </descriptors>
231                         </configuration>
232                     </execution>
233                 </executions>
234             </plugin>
235         </plugins>
236     </build>
237     
238     <distributionManagement>
239         <repository>
240             <id>ecomp-releases</id>
241             <name>AAF Release Repository</name>
242             <url>${nexusproxy}${releaseNexusPath}</url>
243         </repository>
244         <snapshotRepository>
245             <id>ecomp-snapshots</id>
246             <name>AAF Snapshot Repository</name>
247             <url>${nexusproxy}${snapshotNexusPath}</url>
248         </snapshotRepository>
249         <site>
250             <id>ecomp-site</id>
251             <url>dav:${nexusproxy}${sitePath}</url>
252         </site>
253     </distributionManagement>
254 </project>