To version 2.1.17-SNAPSHOT
[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.17-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     </dependencies>
127
128     <build>
129         <plugins>
130             <plugin>
131                 <groupId>org.apache.maven.plugins</groupId>
132                 <artifactId>maven-compiler-plugin</artifactId>
133                 <configuration>
134                     <source>1.8</source>
135                     <target>1.8</target>
136                 </configuration>
137             </plugin>
138
139             <plugin>
140                     <groupId>org.jacoco</groupId>
141                     <artifactId>jacoco-maven-plugin</artifactId>
142                     <configuration>
143                         <excludes>
144                             <exclude>**/gen/**</exclude>
145                             <exclude>**/generated-sources/**</exclude>
146                             <exclude>**/yang-gen/**</exclude>
147                             <exclude>**/pax/**</exclude>
148                         </excludes>
149                     </configuration>
150                     <executions>
151
152                         <execution>
153                             <id>pre-unit-test</id>
154                             <goals>
155                                 <goal>prepare-agent</goal>
156                             </goals>
157                             <configuration>
158                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
159                                 <propertyName>surefireArgLine</propertyName>
160                             </configuration>
161                         </execution>
162
163
164                         <execution>
165                             <id>post-unit-test</id>
166                             <phase>test</phase>
167                             <goals>
168                                 <goal>report</goal>
169                             </goals>
170                             <configuration>
171                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
172                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
173                             </configuration>
174                         </execution>
175                         <execution>
176                             <id>pre-integration-test</id>
177                             <phase>pre-integration-test</phase>
178                             <goals>
179                                 <goal>prepare-agent</goal>
180                             </goals>
181                             <configuration>
182                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
183                                 <propertyName>failsafeArgLine</propertyName>
184                             </configuration>
185                         </execution>
186
187                         <execution>
188                             <id>post-integration-test</id>
189                             <phase>post-integration-test</phase>
190                             <goals>
191                                 <goal>report</goal>
192                             </goals>
193                             <configuration>
194                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
195                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
196                             </configuration>
197                         </execution>
198                     </executions>
199                 </plugin>
200                 <plugin>
201                 <artifactId>maven-assembly-plugin</artifactId>
202                 <configuration>
203                     <classifier>tests</classifier>
204                     <archive>
205                         <manifest>
206                             <mainClass>org.onap.aaf.auth.batch.Batch</mainClass>
207                         </manifest>
208                         <manifestEntries>
209                             <Sealed>true</Sealed>
210                         </manifestEntries>
211                     </archive>
212
213                 </configuration>
214                 <executions>
215                     <execution>
216                         <id>full</id>
217                         <phase>package</phase>
218                         <goals>
219                             <goal>single</goal>
220                         </goals>
221                         <configuration>
222                             <descriptors>
223                                 <descriptor>src/assemble/auth-batch.xml</descriptor>
224                             </descriptors>
225                         </configuration>
226                     </execution>
227                 </executions>
228             </plugin>
229         </plugins>
230     </build>
231     
232     <distributionManagement>
233         <repository>
234             <id>ecomp-releases</id>
235             <name>AAF Release Repository</name>
236             <url>${nexusproxy}${releaseNexusPath}</url>
237         </repository>
238         <snapshotRepository>
239             <id>ecomp-snapshots</id>
240             <name>AAF Snapshot Repository</name>
241             <url>${nexusproxy}${snapshotNexusPath}</url>
242         </snapshotRepository>
243         <site>
244             <id>ecomp-site</id>
245             <url>dav:${nexusproxy}${sitePath}</url>
246         </site>
247     </distributionManagement>
248 </project>