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