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