blob: c0bbf45f082aca3f2958f2f6f93a0305020879f3 [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>
su622b40077be2018-04-08 13:50:31 -040089 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -070090 </dependency>
91
92 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050093 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumental71037c32018-03-26 13:51:48 -070094 <artifactId>aaf-cadi-core</artifactId>
su622b40077be2018-04-08 13:50:31 -040095 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -070096 </dependency>
97 </dependencies>
98
99 <build>
100 <plugins>
101 <plugin>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-deploy-plugin</artifactId>
104 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500105 <skip>false</skip>
Instrumental71037c32018-03-26 13:51:48 -0700106 </configuration>
107 </plugin>
108 <plugin>
109 <groupId>org.codehaus.mojo</groupId>
110 <artifactId>appassembler-maven-plugin</artifactId>
111 <configuration>
112 <programs>
113 <program>
114 <mainClass>org.onap.aaf.auth.fs.AAF_FS</mainClass>
115 <name>fs</name>
116 <commandLineArguments>
Instrumental924b18d2018-04-05 20:17:18 -0500117 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.fs.props</commandLineArgument>
118 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/fs</commandLineArgument>
Instrumental71037c32018-03-26 13:51:48 -0700119 </commandLineArguments>
120 </program>
121 </programs>
122 </configuration>
123 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000124 <plugin>
125 <groupId>org.sonatype.plugins</groupId>
126 <artifactId>nexus-staging-maven-plugin</artifactId>
127 <version>1.6.7</version>
128 <extensions>true</extensions>
129 <configuration>
130 <nexusUrl>${nexusproxy}</nexusUrl>
131 <stagingProfileId>176c31dfe190a</stagingProfileId>
132 <serverId>ecomp-staging</serverId>
133 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500134 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000135 <plugin>
136 <groupId>org.jacoco</groupId>
137 <artifactId>jacoco-maven-plugin</artifactId>
gabe.maurer2e233282018-04-03 11:18:38 -0500138 <version>${jacoco.version}</version>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000139 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500140 <excludes>
141 <exclude>**/gen/**</exclude>
142 <exclude>**/generated-sources/**</exclude>
143 <exclude>**/yang-gen/**</exclude>
144 <exclude>**/pax/**</exclude>
145 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000146 </configuration>
147 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500148
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000149 <execution>
150 <id>pre-unit-test</id>
151 <goals>
152 <goal>prepare-agent</goal>
153 </goals>
154 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500155 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
156 <propertyName>surefireArgLine</propertyName>
157 </configuration>
158 </execution>
159
160
161 <execution>
162 <id>post-unit-test</id>
163 <phase>test</phase>
164 <goals>
165 <goal>report</goal>
166 </goals>
167 <configuration>
168 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
169 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000170 </configuration>
171 </execution>
172 <execution>
173 <id>pre-integration-test</id>
174 <phase>pre-integration-test</phase>
175 <goals>
176 <goal>prepare-agent</goal>
177 </goals>
178 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500179 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
180 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000181 </configuration>
182 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500183
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000184 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500185 <id>post-integration-test</id>
186 <phase>post-integration-test</phase>
187 <goals>
188 <goal>report</goal>
189 </goals>
190 <configuration>
191 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
192 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
193 </configuration>
194 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000195 </executions>
196 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700197 </plugins>
198 <pluginManagement>
199 <plugins />
200 </pluginManagement>
201 </build>
202
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000203 <distributionManagement>
204 <repository>
205 <id>ecomp-releases</id>
206 <name>AAF Release Repository</name>
207 <url>${nexusproxy}${releaseNexusPath}</url>
208 </repository>
209 <snapshotRepository>
210 <id>ecomp-snapshots</id>
211 <name>AAF Snapshot Repository</name>
212 <url>${nexusproxy}${snapshotNexusPath}</url>
213 </snapshotRepository>
214 <site>
215 <id>ecomp-site</id>
216 <url>dav:${nexusproxy}${sitePath}</url>
217 </site>
218 </distributionManagement>
Instrumental71037c32018-03-26 13:51:48 -0700219</project>