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