Keep only clean TestCases, remove 2 license issues
[aaf/authz.git] / auth / auth-deforg / 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                 <artifactId>parent</artifactId>
27                 <relativePath>../pom.xml</relativePath>
28                 <groupId>org.onap.aaf.authz.auth</groupId>
29                 <version>2.1.0-SNAPSHOT</version>
30         </parent>
31
32         <artifactId>aaf-auth-deforg</artifactId>
33         <name>AAF Auth Default Organization</name>
34         <description>Example Organization Module</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                 <maven.test.failure.ignore>false</maven.test.failure.ignore>
76                 <!--  SONAR  -->
77                  <jacoco.version>0.7.7.201606060606</jacoco.version>
78             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
79             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
80             <!-- Default Sonar configuration -->
81             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
82             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
83             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
84             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
85                 <nexusproxy>https://nexus.onap.org</nexusproxy>
86                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
87                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
88                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
89                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
90         </properties>
91
92
93         <dependencies>
94                 <dependency>
95                         <groupId>org.onap.aaf.authz.cadi</groupId>
96                         <artifactId>aaf-cadi-core</artifactId>
97                 </dependency>
98
99                 <dependency>
100                         <groupId>org.onap.aaf.authz.auth</groupId>
101                         <artifactId>aaf-auth-core</artifactId>
102                 </dependency>
103
104                 <dependency>
105                         <groupId>javax.mail</groupId>
106                         <artifactId>mail</artifactId>
107                 </dependency>
108         </dependencies>
109
110         <build>
111                 <pluginManagement>
112                         <plugins>
113                         <plugin>
114                                 <groupId>org.apache.maven.plugins</groupId>
115                                 <artifactId>maven-deploy-plugin</artifactId>
116                                 <configuration>
117                                         <skip>true</skip>
118                                 </configuration>
119                         </plugin>
120                                 <plugin>
121                                         <groupId>org.apache.maven.plugins</groupId>
122                                         <artifactId>maven-javadoc-plugin</artifactId>
123                                         <version>2.10.4</version>
124                                         <configuration>
125                                                 <failOnError>false</failOnError>
126                                         </configuration>
127                                         <executions>
128                                                 <execution>
129                                                         <id>attach-javadocs</id>
130                                                         <goals>
131                                                                 <goal>jar</goal>
132                                                         </goals>
133                                                 </execution>
134                                         </executions>
135                                 </plugin>
136                                 <plugin>
137                                         <groupId>org.sonatype.plugins</groupId>
138                                         <artifactId>nexus-staging-maven-plugin</artifactId>
139                                         <version>1.6.7</version>
140                                         <extensions>true</extensions>
141                                         <configuration>
142                                                 <nexusUrl>${nexusproxy}</nexusUrl>
143                                                 <stagingProfileId>176c31dfe190a</stagingProfileId>
144                                                 <serverId>ecomp-staging</serverId>
145                                         </configuration>
146                                 </plugin>
147                                 <plugin>
148                                         <groupId>org.jacoco</groupId>
149                                         <artifactId>jacoco-maven-plugin</artifactId>
150                                         <version>${jacoco.version}</version>
151                                         <configuration>
152                                                 <excludes>
153                                                         <exclude>**/gen/**</exclude>
154                                                         <exclude>**/generated-sources/**</exclude>
155                                                         <exclude>**/yang-gen/**</exclude>
156                                                         <exclude>**/pax/**</exclude>
157                                                 </excludes>
158                                         </configuration>
159                                         <executions>
160
161                                                 <execution>
162                                                         <id>pre-unit-test</id>
163                                                         <goals>
164                                                                 <goal>prepare-agent</goal>
165                                                         </goals>
166                                                         <configuration>
167                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
168                                                                 <propertyName>surefireArgLine</propertyName>
169                                                         </configuration>
170                                                 </execution>
171
172
173                                                 <execution>
174                                                         <id>post-unit-test</id>
175                                                         <phase>test</phase>
176                                                         <goals>
177                                                                 <goal>report</goal>
178                                                         </goals>
179                                                         <configuration>
180                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
181                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
182                                                         </configuration>
183                                                 </execution>
184                                                 <execution>
185                                                         <id>pre-integration-test</id>
186                                                         <phase>pre-integration-test</phase>
187                                                         <goals>
188                                                                 <goal>prepare-agent</goal>
189                                                         </goals>
190                                                         <configuration>
191                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
192                                                                 <propertyName>failsafeArgLine</propertyName>
193                                                         </configuration>
194                                                 </execution>
195
196                                                 <execution>
197                                                         <id>post-integration-test</id>
198                                                         <phase>post-integration-test</phase>
199                                                         <goals>
200                                                                 <goal>report</goal>
201                                                         </goals>
202                                                         <configuration>
203                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
204                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
205                                                         </configuration>
206                                                 </execution>
207                                         </executions>
208                                 </plugin>
209                         </plugins>
210                 </pluginManagement>
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>