Keep only clean TestCases, remove 2 license issues
[aaf/authz.git] / auth / auth-fs / 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>aaf-auth-fs</artifactId>
33         <name>AAF Auth File Server (http)</name>
34         <description>Independent FileServer Component via HTTP (not S) for Public Files (i.e. CRLs) for AAF Auth</description>
35
36         <properties>
37                 <maven.test.failure.ignore>true</maven.test.failure.ignore>
38                 <!--  SONAR  -->
39                  <jacoco.version>0.7.7.201606060606</jacoco.version>
40             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
41             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
42             <!-- Default Sonar configuration -->
43             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
44             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
45             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
46             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47                 <nexusproxy>https://nexus.onap.org</nexusproxy>
48                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
49                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
50                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
51                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
52                 
53         </properties>
54
55         <developers>
56                 <developer>
57                         <name>Jonathan Gathman</name>
58                         <email>jonathan.gathman@att.com</email>
59                         <organization>ATT</organization>
60                         <roles>
61                                 <role>Architect</role>
62                                 <role>Lead Developer</role>
63                         </roles>
64                 </developer>
65                 <developer>
66                         <name>Gabe Maurer</name>
67                         <email>gabe.maurer@att.com</email>
68                         <organization>ATT</organization>
69                         <roles>
70                                 <role>Developer</role>
71                         </roles>
72                 </developer>
73                 <developer>
74                         <name>Ian Howell</name>
75                         <email>ian.howell@att.com</email>
76                         <organization>ATT</organization>
77                         <roles>
78                                 <role>Developer</role>
79                         </roles>
80                 </developer>
81                 <developer>
82                         <name>Sai Gandham</name>
83                         <email>sai.gandham@att.com</email>
84                         <organization>ATT</organization>
85                         <roles>
86                                 <role>Developer</role>
87                         </roles>
88                 </developer>
89         </developers>
90
91         <dependencies>
92                 <dependency>
93                         <groupId>org.onap.aaf.authz.auth</groupId>
94                         <artifactId>aaf-auth-core</artifactId>
95                 </dependency>
96
97                 <dependency>
98                         <groupId>org.onap.aaf.authz.cadi</groupId>
99                         <artifactId>aaf-cadi-core</artifactId>
100                 </dependency>
101         </dependencies>
102
103         <build>
104                 <plugins>
105                         <plugin>
106                                 <groupId>org.apache.maven.plugins</groupId>
107                                 <artifactId>maven-deploy-plugin</artifactId>
108                                 <configuration>
109                                         <skip>true</skip>
110                                 </configuration>
111                         </plugin>
112                         <plugin>
113                                 <groupId>org.codehaus.mojo</groupId>
114                                 <artifactId>appassembler-maven-plugin</artifactId>
115                                 <configuration>
116                                         <programs>
117                                                 <program>
118                                                         <mainClass>org.onap.aaf.auth.fs.AAF_FS</mainClass>
119                                                         <name>fs</name>
120                                                         <commandLineArguments>
121                                                                 <commandLineArgument>cadi_prop_files=${project.conf_dir}/org.osaaf.fs.props</commandLineArgument>
122                                                         </commandLineArguments>
123                                                 </program>
124                                         </programs>
125                                 </configuration>
126                         </plugin>
127                         <plugin>
128                                 <groupId>org.sonatype.plugins</groupId>
129                                 <artifactId>nexus-staging-maven-plugin</artifactId>
130                                 <version>1.6.7</version>
131                                 <extensions>true</extensions>
132                                 <configuration>
133                                         <nexusUrl>${nexusproxy}</nexusUrl>
134                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
135                                         <serverId>ecomp-staging</serverId>
136                                 </configuration>
137                         </plugin>               
138                         <plugin>
139                                 <groupId>org.jacoco</groupId>
140                                 <artifactId>jacoco-maven-plugin</artifactId>
141                                 <version>0.7.7.201606060606</version>
142                                 <configuration>
143                                         <dumpOnExit>true</dumpOnExit>
144                                         <includes>
145                                                 <include>org.onap.aaf.*</include>
146                                         </includes>
147                                 </configuration>
148                                 <executions>
149                                         <execution>
150                                                 <id>pre-unit-test</id>
151                                                 <goals>
152                                                         <goal>prepare-agent</goal>
153                                                 </goals>
154                                                 <configuration>
155                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
156                                                         <!-- <append>true</append> -->
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}/coverage-reports/jacoco-it.exec</destFile>
167                                                         <!-- <append>true</append> -->
168                                                 </configuration>
169                                         </execution>
170                                         <execution>
171                         <goals>
172                             <goal>merge</goal>
173                         </goals>
174                         <phase>post-integration-test</phase>
175                         <configuration>
176                             <fileSets>
177                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
178                                     <directory>${project.build.directory}/coverage-reports</directory>
179                                     <includes>
180                                         <include>*.exec</include>
181                                     </includes>
182                                 </fileSet>
183                             </fileSets>
184                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
185                         </configuration>
186                     </execution>
187                                 </executions>
188                         </plugin>
189                 </plugins>
190                 <pluginManagement>
191                         <plugins />
192                 </pluginManagement>
193         </build>
194
195         <distributionManagement>
196                 <repository>
197                         <id>ecomp-releases</id>
198                         <name>AAF Release Repository</name>
199                         <url>${nexusproxy}${releaseNexusPath}</url>
200                 </repository>
201                 <snapshotRepository>
202                         <id>ecomp-snapshots</id>
203                         <name>AAF Snapshot Repository</name>
204                         <url>${nexusproxy}${snapshotNexusPath}</url>
205                 </snapshotRepository>
206                 <site>
207                         <id>ecomp-site</id>
208                         <url>dav:${nexusproxy}${sitePath}</url>
209                 </site>
210         </distributionManagement>
211 </project>