Update to 2.1.11-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.11-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.apache.maven.plugins</groupId>
147                                 <artifactId>maven-deploy-plugin</artifactId>
148                                 <configuration>
149                                         <skip>false</skip>
150                                 </configuration>
151                         </plugin>
152                         <plugin>
153                                 <groupId>org.sonatype.plugins</groupId>
154                                 <artifactId>nexus-staging-maven-plugin</artifactId>
155                                 <extensions>true</extensions>
156                                 <configuration>
157                                         <nexusUrl>${nexusproxy}</nexusUrl>
158                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
159                                         <serverId>ecomp-staging</serverId>
160                                 </configuration>
161                         </plugin>               
162                         <plugin>
163                                         <groupId>org.jacoco</groupId>
164                                         <artifactId>jacoco-maven-plugin</artifactId>
165                                         <configuration>
166                                                 <excludes>
167                                                         <exclude>**/gen/**</exclude>
168                                                         <exclude>**/generated-sources/**</exclude>
169                                                         <exclude>**/yang-gen/**</exclude>
170                                                         <exclude>**/pax/**</exclude>
171                                                 </excludes>
172                                         </configuration>
173                                         <executions>
174
175                                                 <execution>
176                                                         <id>pre-unit-test</id>
177                                                         <goals>
178                                                                 <goal>prepare-agent</goal>
179                                                         </goals>
180                                                         <configuration>
181                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
182                                                                 <propertyName>surefireArgLine</propertyName>
183                                                         </configuration>
184                                                 </execution>
185
186
187                                                 <execution>
188                                                         <id>post-unit-test</id>
189                                                         <phase>test</phase>
190                                                         <goals>
191                                                                 <goal>report</goal>
192                                                         </goals>
193                                                         <configuration>
194                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
195                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
196                                                         </configuration>
197                                                 </execution>
198                                                 <execution>
199                                                         <id>pre-integration-test</id>
200                                                         <phase>pre-integration-test</phase>
201                                                         <goals>
202                                                                 <goal>prepare-agent</goal>
203                                                         </goals>
204                                                         <configuration>
205                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
206                                                                 <propertyName>failsafeArgLine</propertyName>
207                                                         </configuration>
208                                                 </execution>
209
210                                                 <execution>
211                                                         <id>post-integration-test</id>
212                                                         <phase>post-integration-test</phase>
213                                                         <goals>
214                                                                 <goal>report</goal>
215                                                         </goals>
216                                                         <configuration>
217                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
218                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
219                                                         </configuration>
220                                                 </execution>
221                                         </executions>
222                                 </plugin>
223                                 <plugin>
224                                 <artifactId>maven-assembly-plugin</artifactId>
225                                 <configuration>
226                                         <classifier>tests</classifier>
227                                         <archive>
228                                                 <manifest>
229                                                         <mainClass>org.onap.aaf.auth.batch.Batch</mainClass>
230                                                 </manifest>
231                                                 <manifestEntries>
232                                                         <Sealed>true</Sealed>
233                                                 </manifestEntries>
234                                         </archive>
235
236                                 </configuration>
237                                 <executions>
238                                         <execution>
239                                                 <id>full</id>
240                                                 <phase>package</phase>
241                                                 <goals>
242                                                         <goal>single</goal>
243                                                 </goals>
244                                                 <configuration>
245                                                         <descriptors>
246                                                                 <descriptor>src/assemble/auth-batch.xml</descriptor>
247                                                         </descriptors>
248                                                 </configuration>
249                                         </execution>
250                                 </executions>
251                         </plugin>
252                 </plugins>
253         </build>
254         
255         <distributionManagement>
256                 <repository>
257                         <id>ecomp-releases</id>
258                         <name>AAF Release Repository</name>
259                         <url>${nexusproxy}${releaseNexusPath}</url>
260                 </repository>
261                 <snapshotRepository>
262                         <id>ecomp-snapshots</id>
263                         <name>AAF Snapshot Repository</name>
264                         <url>${nexusproxy}${snapshotNexusPath}</url>
265                 </snapshotRepository>
266                 <site>
267                         <id>ecomp-site</id>
268                         <url>dav:${nexusproxy}${sitePath}</url>
269                 </site>
270         </distributionManagement>
271 </project>