Create and prepare non-deploy release 2.7.1
[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.7.1-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>Sai Gandham</name>
49             <email>sai.gandham@att.com</email>
50             <organization>ATT</organization>
51             <roles>
52                 <role>Developer</role>
53             </roles>
54         </developer>
55     </developers>
56
57     <properties>
58         <maven.test.failure.ignore>false</maven.test.failure.ignore>
59         <!--  SONAR  -->
60         <!-- <sonar.skip>true</sonar.skip> -->
61          <jacoco.version>0.7.7.201606060606</jacoco.version>
62         <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
63         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
64         <!-- Default Sonar configuration -->
65         <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
66         <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
67         <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
68         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
69         <nexusproxy>https://nexus.onap.org</nexusproxy>
70         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
71         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
72         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
73         <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
74     </properties>
75
76     <dependencies>
77
78         <dependency>
79             <groupId>org.onap.aaf.authz</groupId>
80             <artifactId>aaf-misc-env</artifactId>
81         </dependency>
82
83         <dependency>
84             <groupId>org.onap.aaf.authz</groupId>
85             <artifactId>aaf-cadi-core</artifactId>
86         </dependency>
87
88         <dependency>
89             <groupId>org.onap.aaf.authz</groupId>
90             <artifactId>aaf-misc-rosetta</artifactId>
91         </dependency>
92
93         <dependency>
94             <groupId>org.onap.aaf.authz</groupId>
95             <artifactId>aaf-cadi-aaf</artifactId>
96         </dependency>
97
98         <dependency>
99             <groupId>org.onap.aaf.authz</groupId>
100             <artifactId>aaf-auth-cass</artifactId>
101         </dependency>
102
103         <dependency>
104             <groupId>org.onap.aaf.authz</groupId>
105             <artifactId>aaf-auth-deforg</artifactId>
106         </dependency>
107     </dependencies>
108
109     <build>
110         <plugins>
111             <plugin>
112                 <groupId>org.apache.maven.plugins</groupId>
113                 <artifactId>maven-compiler-plugin</artifactId>
114                 <configuration>
115                     <source>1.8</source>
116                     <target>1.8</target>
117                 </configuration>
118             </plugin>
119
120             <plugin>
121                     <groupId>org.jacoco</groupId>
122                     <artifactId>jacoco-maven-plugin</artifactId>
123                     <configuration>
124                         <excludes>
125                             <exclude>**/gen/**</exclude>
126                             <exclude>**/generated-sources/**</exclude>
127                             <exclude>**/yang-gen/**</exclude>
128                             <exclude>**/pax/**</exclude>
129                         </excludes>
130                     </configuration>
131                     <executions>
132
133                         <execution>
134                             <id>pre-unit-test</id>
135                             <goals>
136                                 <goal>prepare-agent</goal>
137                             </goals>
138                             <configuration>
139                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
140                                 <propertyName>surefireArgLine</propertyName>
141                             </configuration>
142                         </execution>
143
144
145                         <execution>
146                             <id>post-unit-test</id>
147                             <phase>test</phase>
148                             <goals>
149                                 <goal>report</goal>
150                             </goals>
151                             <configuration>
152                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
153                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
154                             </configuration>
155                         </execution>
156                         <execution>
157                             <id>pre-integration-test</id>
158                             <phase>pre-integration-test</phase>
159                             <goals>
160                                 <goal>prepare-agent</goal>
161                             </goals>
162                             <configuration>
163                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
164                                 <propertyName>failsafeArgLine</propertyName>
165                             </configuration>
166                         </execution>
167
168                         <execution>
169                             <id>post-integration-test</id>
170                             <phase>post-integration-test</phase>
171                             <goals>
172                                 <goal>report</goal>
173                             </goals>
174                             <configuration>
175                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
176                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
177                             </configuration>
178                         </execution>
179                     </executions>
180                 </plugin>
181                 <plugin>
182                 <artifactId>maven-assembly-plugin</artifactId>
183                 <configuration>
184                     <classifier>tests</classifier>
185                     <archive>
186                         <manifest>
187                             <mainClass>org.onap.aaf.auth.batch.Batch</mainClass>
188                         </manifest>
189                         <manifestEntries>
190                             <Sealed>true</Sealed>
191                         </manifestEntries>
192                     </archive>
193
194                 </configuration>
195                 <executions>
196                     <execution>
197                         <id>full</id>
198                         <phase>package</phase>
199                         <goals>
200                             <goal>single</goal>
201                         </goals>
202                         <configuration>
203                             <descriptors>
204                                 <descriptor>src/assemble/auth-batch.xml</descriptor>
205                             </descriptors>
206                         </configuration>
207                     </execution>
208                 </executions>
209             </plugin>
210         </plugins>
211     </build>
212     
213     <distributionManagement>
214         <repository>
215             <id>ecomp-releases</id>
216             <name>AAF Release Repository</name>
217             <url>${nexusproxy}${releaseNexusPath}</url>
218         </repository>
219         <snapshotRepository>
220             <id>ecomp-snapshots</id>
221             <name>AAF Snapshot Repository</name>
222             <url>${nexusproxy}${snapshotNexusPath}</url>
223         </snapshotRepository>
224         <site>
225             <id>ecomp-site</id>
226             <url>dav:${nexusproxy}${sitePath}</url>
227         </site>
228     </distributionManagement>
229 </project>