blob: bb61fb59cf9a93aeec51515f0155d91f4f8b5d33 [file] [log] [blame]
Instrumental71037c32018-03-26 13:51:48 -07001<?xml version="1.0" encoding="UTF-8"?>
gabe.maurer2e233282018-04-03 11:18:38 -05002<!-- * ============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 * -->
Instrumental71037c32018-03-26 13:51:48 -070014<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>
Instrumental17ca7442018-03-29 16:54:19 -050018 <groupId>org.onap.aaf.authz.auth</groupId>
Instrumental71037c32018-03-26 13:51:48 -070019 <artifactId>parent</artifactId>
20 <version>2.1.0-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>
gabe.maurer2e233282018-04-03 11:18:38 -050030 <!-- SONAR -->
Sai Gandham1ef69d22018-04-03 16:25:33 -050031 <sonar.skip>true</sonar.skip>
gabe.maurer2e233282018-04-03 11:18:38 -050032 <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 -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050036 <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>
gabe.maurer2e233282018-04-03 11:18:38 -050038 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
39 below -->
40 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000041 <nexusproxy>https://nexus.onap.org</nexusproxy>
42 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
43 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
44 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham103d3ca2018-04-06 14:00:44 -050045 <sitePath>/content/sites/site/org/onap/aaf/authz/auth/${project.artifactId}/${project.version}</sitePath>
gabe.maurer2e233282018-04-03 11:18:38 -050046
Instrumental71037c32018-03-26 13:51:48 -070047 </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>
Sai Gandhame01703c2018-03-26 22:57:09 +000075 <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>
Instrumental71037c32018-03-26 13:51:48 -070083 </developers>
84
85 <dependencies>
86 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050087 <groupId>org.onap.aaf.authz.auth</groupId>
Instrumental71037c32018-03-26 13:51:48 -070088 <artifactId>aaf-auth-core</artifactId>
89 </dependency>
90
91 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050092 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumental71037c32018-03-26 13:51:48 -070093 <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>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500103 <skip>false</skip>
Instrumental71037c32018-03-26 13:51:48 -0700104 </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>
Instrumental924b18d2018-04-05 20:17:18 -0500115 <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>
Instrumental71037c32018-03-26 13:51:48 -0700117 </commandLineArguments>
118 </program>
119 </programs>
120 </configuration>
121 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000122 <plugin>
123 <groupId>org.sonatype.plugins</groupId>
124 <artifactId>nexus-staging-maven-plugin</artifactId>
125 <version>1.6.7</version>
126 <extensions>true</extensions>
127 <configuration>
128 <nexusUrl>${nexusproxy}</nexusUrl>
129 <stagingProfileId>176c31dfe190a</stagingProfileId>
130 <serverId>ecomp-staging</serverId>
131 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500132 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000133 <plugin>
134 <groupId>org.jacoco</groupId>
135 <artifactId>jacoco-maven-plugin</artifactId>
gabe.maurer2e233282018-04-03 11:18:38 -0500136 <version>${jacoco.version}</version>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000137 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500138 <excludes>
139 <exclude>**/gen/**</exclude>
140 <exclude>**/generated-sources/**</exclude>
141 <exclude>**/yang-gen/**</exclude>
142 <exclude>**/pax/**</exclude>
143 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000144 </configuration>
145 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500146
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000147 <execution>
148 <id>pre-unit-test</id>
149 <goals>
150 <goal>prepare-agent</goal>
151 </goals>
152 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500153 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
154 <propertyName>surefireArgLine</propertyName>
155 </configuration>
156 </execution>
157
158
159 <execution>
160 <id>post-unit-test</id>
161 <phase>test</phase>
162 <goals>
163 <goal>report</goal>
164 </goals>
165 <configuration>
166 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
167 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000168 </configuration>
169 </execution>
170 <execution>
171 <id>pre-integration-test</id>
172 <phase>pre-integration-test</phase>
173 <goals>
174 <goal>prepare-agent</goal>
175 </goals>
176 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500177 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
178 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000179 </configuration>
180 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500181
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000182 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500183 <id>post-integration-test</id>
184 <phase>post-integration-test</phase>
185 <goals>
186 <goal>report</goal>
187 </goals>
188 <configuration>
189 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
190 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
191 </configuration>
192 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000193 </executions>
194 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700195 </plugins>
196 <pluginManagement>
197 <plugins />
198 </pluginManagement>
199 </build>
200
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000201 <distributionManagement>
202 <repository>
203 <id>ecomp-releases</id>
204 <name>AAF Release Repository</name>
205 <url>${nexusproxy}${releaseNexusPath}</url>
206 </repository>
207 <snapshotRepository>
208 <id>ecomp-snapshots</id>
209 <name>AAF Snapshot Repository</name>
210 <url>${nexusproxy}${snapshotNexusPath}</url>
211 </snapshotRepository>
212 <site>
213 <id>ecomp-site</id>
214 <url>dav:${nexusproxy}${sitePath}</url>
215 </site>
216 </distributionManagement>
Instrumental71037c32018-03-26 13:51:48 -0700217</project>