Move AAF/CADI Poms to 2.1.2
[aaf/authz.git] / auth / auth-fs / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- * ============LICENSE_START==================================================== 
3         * org.onap.aaf * =========================================================================== 
4         * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. * =========================================================================== 
5         * Licensed under the Apache License, Version 2.0 (the "License"); * you may 
6         not use this file except in compliance with the License. * You may obtain 
7         a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * 
8         * Unless required by applicable law or agreed to in writing, software * distributed 
9         under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES 
10         OR CONDITIONS OF ANY KIND, either express or implied. * See the License for 
11         the specific language governing permissions and * limitations under the License. 
12         * ============LICENSE_END==================================================== 
13         * -->
14 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
15         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
16         <modelVersion>4.0.0</modelVersion>
17         <parent>
18                 <groupId>org.onap.aaf.authz</groupId>
19                 <artifactId>authparent</artifactId>
20                 <version>2.1.2-SNAPSHOT</version>
21                 <relativePath>../pom.xml</relativePath>
22         </parent>
23
24         <artifactId>aaf-auth-fs</artifactId>
25         <name>AAF Auth File Server (http)</name>
26         <description>Independent FileServer Component via HTTP (not S) for Public Files (i.e. CRLs) for AAF Auth</description>
27
28         <properties>
29                 <maven.test.failure.ignore>true</maven.test.failure.ignore>
30                 <!-- SONAR -->
31                 <!-- <sonar.skip>true</sonar.skip> -->
32                 <jacoco.version>0.7.7.201606060606</jacoco.version>
33                 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
34                 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
35                 <!-- Default Sonar configuration -->
36                 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
37                 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
38                 <!-- Note: This list should match jacoco-maven-plugin's exclusion list 
39                         below -->
40                 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
41                 <nexusproxy>https://nexus.onap.org</nexusproxy>
42                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
43                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
44                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
45                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
46
47         </properties>
48
49         <developers>
50                 <developer>
51                         <name>Jonathan Gathman</name>
52                         <email>jonathan.gathman@att.com</email>
53                         <organization>ATT</organization>
54                         <roles>
55                                 <role>Architect</role>
56                                 <role>Lead Developer</role>
57                         </roles>
58                 </developer>
59                 <developer>
60                         <name>Gabe Maurer</name>
61                         <email>gabe.maurer@att.com</email>
62                         <organization>ATT</organization>
63                         <roles>
64                                 <role>Developer</role>
65                         </roles>
66                 </developer>
67                 <developer>
68                         <name>Ian Howell</name>
69                         <email>ian.howell@att.com</email>
70                         <organization>ATT</organization>
71                         <roles>
72                                 <role>Developer</role>
73                         </roles>
74                 </developer>
75                 <developer>
76                         <name>Sai Gandham</name>
77                         <email>sai.gandham@att.com</email>
78                         <organization>ATT</organization>
79                         <roles>
80                                 <role>Developer</role>
81                         </roles>
82                 </developer>
83         </developers>
84
85         <dependencies>
86                 <dependency>
87                         <groupId>org.onap.aaf.authz</groupId>
88                         <artifactId>aaf-auth-core</artifactId>
89                 </dependency>
90
91                 <dependency>
92                         <groupId>org.onap.aaf.authz</groupId>
93                         <artifactId>aaf-cadi-core</artifactId>
94                 </dependency>
95         </dependencies>
96
97         <build>
98                 <plugins>
99                         <plugin>
100                                 <groupId>org.apache.maven.plugins</groupId>
101                                 <artifactId>maven-deploy-plugin</artifactId>
102                                 <configuration>
103                                         <skip>false</skip>
104                                 </configuration>
105                         </plugin>
106                         <plugin>
107                                 <groupId>org.codehaus.mojo</groupId>
108                                 <artifactId>appassembler-maven-plugin</artifactId>
109                                 <configuration>
110                                         <programs>
111                                                 <program>
112                                                         <mainClass>org.onap.aaf.auth.fs.AAF_FS</mainClass>
113                                                         <name>fs</name>
114                                                         <commandLineArguments>
115                                                                 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.fs.props</commandLineArgument>
116                                                                 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/fs</commandLineArgument>
117                                                         </commandLineArguments>
118                                                 </program>
119                                         </programs>
120                                 </configuration>
121                         </plugin>
122                         <plugin>
123                                 <groupId>org.sonatype.plugins</groupId>
124                                 <artifactId>nexus-staging-maven-plugin</artifactId>
125                                 <extensions>true</extensions>
126                                 <configuration>
127                                         <nexusUrl>${nexusproxy}</nexusUrl>
128                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
129                                         <serverId>ecomp-staging</serverId>
130                                 </configuration>
131                         </plugin>
132                         <plugin>
133                                 <groupId>org.jacoco</groupId>
134                                 <artifactId>jacoco-maven-plugin</artifactId>
135                                 <configuration>
136                                         <excludes>
137                                                 <exclude>**/gen/**</exclude>
138                                                 <exclude>**/generated-sources/**</exclude>
139                                                 <exclude>**/yang-gen/**</exclude>
140                                                 <exclude>**/pax/**</exclude>
141                                         </excludes>
142                                 </configuration>
143                                 <executions>
144
145                                         <execution>
146                                                 <id>pre-unit-test</id>
147                                                 <goals>
148                                                         <goal>prepare-agent</goal>
149                                                 </goals>
150                                                 <configuration>
151                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
152                                                         <propertyName>surefireArgLine</propertyName>
153                                                 </configuration>
154                                         </execution>
155
156
157                                         <execution>
158                                                 <id>post-unit-test</id>
159                                                 <phase>test</phase>
160                                                 <goals>
161                                                         <goal>report</goal>
162                                                 </goals>
163                                                 <configuration>
164                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
165                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
166                                                 </configuration>
167                                         </execution>
168                                         <execution>
169                                                 <id>pre-integration-test</id>
170                                                 <phase>pre-integration-test</phase>
171                                                 <goals>
172                                                         <goal>prepare-agent</goal>
173                                                 </goals>
174                                                 <configuration>
175                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
176                                                         <propertyName>failsafeArgLine</propertyName>
177                                                 </configuration>
178                                         </execution>
179
180                                         <execution>
181                                                 <id>post-integration-test</id>
182                                                 <phase>post-integration-test</phase>
183                                                 <goals>
184                                                         <goal>report</goal>
185                                                 </goals>
186                                                 <configuration>
187                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
188                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
189                                                 </configuration>
190                                         </execution>
191                                 </executions>
192                         </plugin>
193                 </plugins>
194                 <pluginManagement>
195                         <plugins />
196                 </pluginManagement>
197         </build>
198
199         <distributionManagement>
200                 <repository>
201                         <id>ecomp-releases</id>
202                         <name>AAF Release Repository</name>
203                         <url>${nexusproxy}${releaseNexusPath}</url>
204                 </repository>
205                 <snapshotRepository>
206                         <id>ecomp-snapshots</id>
207                         <name>AAF Snapshot Repository</name>
208                         <url>${nexusproxy}${snapshotNexusPath}</url>
209                 </snapshotRepository>
210                 <site>
211                         <id>ecomp-site</id>
212                         <url>dav:${nexusproxy}${sitePath}</url>
213                 </site>
214         </distributionManagement>
215 </project>