Keep only clean TestCases, remove 2 license issues
[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.auth</groupId>
27                 <artifactId>parent</artifactId>
28                 <version>2.1.0-SNAPSHOT</version>
29                 <relativePath>../pom.xml</relativePath>
30         </parent>
31
32         <artifactId>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                  <jacoco.version>0.7.7.201606060606</jacoco.version>
80             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
81             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
82             <!-- Default Sonar configuration -->
83             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
84             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
85             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
86             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
87                 <nexusproxy>https://nexus.onap.org</nexusproxy>
88                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
89                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
90                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
91                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
92         </properties>
93
94         <dependencies>
95
96                 <dependency>
97                         <groupId>org.onap.aaf.authz.misc</groupId>
98                         <artifactId>aaf-misc-env</artifactId>
99                 </dependency>
100
101                 <dependency>
102                         <groupId>org.onap.aaf.authz.cadi</groupId>
103                         <artifactId>aaf-cadi-core</artifactId>
104                 </dependency>
105
106                 <dependency>
107                         <groupId>org.onap.aaf.authz.misc</groupId>
108                         <artifactId>aaf-misc-rosetta</artifactId>
109                 </dependency>
110
111                 <dependency>
112                         <groupId>org.onap.aaf.authz.cadi</groupId>
113                         <artifactId>aaf-cadi-aaf</artifactId>
114                 </dependency>
115
116                 <dependency>
117                         <groupId>org.onap.aaf.authz.auth</groupId>
118                         <artifactId>aaf-auth-cass</artifactId>
119                 </dependency>
120
121                 <dependency>
122                         <groupId>org.slf4j</groupId>
123                         <artifactId>slf4j-log4j12</artifactId>
124                 </dependency>
125
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.7</source>
135                                         <target>1.7</target>
136                                 </configuration>
137                         </plugin>
138
139                         <plugin>
140                                 <groupId>org.apache.maven.plugins</groupId>
141                                 <artifactId>maven-deploy-plugin</artifactId>
142                                 <configuration>
143                                         <skip>true</skip>
144                                 </configuration>
145                         </plugin>
146                         <plugin>
147                                 <groupId>org.sonatype.plugins</groupId>
148                                 <artifactId>nexus-staging-maven-plugin</artifactId>
149                                 <version>1.6.7</version>
150                                 <extensions>true</extensions>
151                                 <configuration>
152                                         <nexusUrl>${nexusproxy}</nexusUrl>
153                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
154                                         <serverId>ecomp-staging</serverId>
155                                 </configuration>
156                         </plugin>               
157                         <plugin>
158                                 <groupId>org.jacoco</groupId>
159                                 <artifactId>jacoco-maven-plugin</artifactId>
160                                 <version>0.7.7.201606060606</version>
161                                 <configuration>
162                                         <dumpOnExit>true</dumpOnExit>
163                                         <includes>
164                                                 <include>org.onap.aaf.*</include>
165                                         </includes>
166                                 </configuration>
167                                 <executions>
168                                         <execution>
169                                                 <id>pre-unit-test</id>
170                                                 <goals>
171                                                         <goal>prepare-agent</goal>
172                                                 </goals>
173                                                 <configuration>
174                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
175                                                         <!-- <append>true</append> -->
176                                                 </configuration>
177                                         </execution>
178                                         <execution>
179                                                 <id>pre-integration-test</id>
180                                                 <phase>pre-integration-test</phase>
181                                                 <goals>
182                                                         <goal>prepare-agent</goal>
183                                                 </goals>
184                                                 <configuration>
185                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
186                                                         <!-- <append>true</append> -->
187                                                 </configuration>
188                                         </execution>
189                                         <execution>
190                         <goals>
191                             <goal>merge</goal>
192                         </goals>
193                         <phase>post-integration-test</phase>
194                         <configuration>
195                             <fileSets>
196                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
197                                     <directory>${project.build.directory}/coverage-reports</directory>
198                                     <includes>
199                                         <include>*.exec</include>
200                                     </includes>
201                                 </fileSet>
202                             </fileSets>
203                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
204                         </configuration>
205                     </execution>
206                                 </executions>
207                         </plugin>
208                 </plugins>
209         </build>
210         
211         <distributionManagement>
212                 <repository>
213                         <id>ecomp-releases</id>
214                         <name>AAF Release Repository</name>
215                         <url>${nexusproxy}${releaseNexusPath}</url>
216                 </repository>
217                 <snapshotRepository>
218                         <id>ecomp-snapshots</id>
219                         <name>AAF Snapshot Repository</name>
220                         <url>${nexusproxy}${snapshotNexusPath}</url>
221                 </snapshotRepository>
222                 <site>
223                         <id>ecomp-site</id>
224                         <url>dav:${nexusproxy}${sitePath}</url>
225                 </site>
226         </distributionManagement>
227 </project>