blob: 4617ea7e583b6b390d20fd7453fbbe7906828bb7 [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START====================================================
4 * org.onap.aaf
5 * ===========================================================================
6 * Copyright © 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 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 *
23-->
24<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
26 <modelVersion>4.0.0</modelVersion>
27 <parent>
28 <groupId>org.onap.aaf.authz</groupId>
29 <artifactId>parent</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040030 <version>1.0.1-SNAPSHOT</version>
sg481nbd890c52017-08-28 12:11:35 -040031 <relativePath>../pom.xml</relativePath>
32 </parent>
33
34 <artifactId>authz-gw</artifactId>
35 <name>Authz Gate/Wall</name>
36 <description>GW API</description>
37 <url>https://github.com/att/AAF</url>
38 <licenses>
39 <license>
40 <name>BSD License</name>
41 <url> </url>
42 </license>
43 </licenses>
44 <developers>
45 <developer>
46 <name>Jonathan Gathman</name>
47 <email></email>
48 <organization>ATT</organization>
49 <organizationUrl></organizationUrl>
50 </developer>
51 </developers>
52
53 <properties>
sg481n08e11042017-09-29 12:33:53 +000054 <maven.test.failure.ignore>true</maven.test.failure.ignore>
sg481nbd890c52017-08-28 12:11:35 -040055 <project.swmVersion>30</project.swmVersion>
sg481na2ac6782017-09-18 16:35:50 -040056 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
57 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n40cd3562017-09-01 13:12:31 -040058 <sonar.language>java</sonar.language>
59 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
60 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
61 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
62 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481nd84864f2017-10-01 20:56:42 +000063 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
sg481n40cd3562017-09-01 13:12:31 -040064 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481nbd890c52017-08-28 12:11:35 -040065 <nexusproxy>https://nexus.onap.org</nexusproxy>
66 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
67 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
68 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481na9d21082017-09-23 14:26:06 +000069 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040070 </properties>
71
72 <dependencies>
73 <dependency>
74 <groupId>org.onap.aaf.authz</groupId>
75 <artifactId>authz-core</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040076 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040077
78 <exclusions>
79 <exclusion>
80 <groupId>javax.servlet</groupId>
81 <artifactId>servlet-api</artifactId>
82 </exclusion>
83 </exclusions>
84 </dependency>
85
86 <dependency>
87 <groupId>org.onap.aaf.cadi</groupId>
88 <artifactId>cadi-aaf</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040089 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040090 </dependency>
91
92
93
94 </dependencies>
95
96 <build>
97 <plugins>
98 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
99 <plugin>
100 <groupId>org.codehaus.mojo</groupId>
101 <artifactId>jaxb2-maven-plugin</artifactId>
102 </plugin>
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-jar-plugin</artifactId>
106 <configuration>
107 <includes>
108 <include>**/*.class</include>
109 </includes>
110 </configuration>
111 <version>2.3.1</version>
112 </plugin>
sg481na2ac6782017-09-18 16:35:50 -0400113
sg481na9d21082017-09-23 14:26:06 +0000114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-javadoc-plugin</artifactId>
117 <version>2.10.4</version>
118 <configuration>
119 <failOnError>false</failOnError>
120 </configuration>
121 <executions>
122 <execution>
123 <id>attach-javadocs</id>
124 <goals>
125 <goal>jar</goal>
126 </goals>
127 </execution>
128 </executions>
129 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400130 <plugin>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-source-plugin</artifactId>
133 <version>2.2.1</version>
134 <executions>
135 <execution>
136 <id>attach-sources</id>
137 <goals>
138 <goal>jar-no-fork</goal>
139 </goals>
140 </execution>
141 </executions>
142 </plugin>
143
144<plugin>
145 <groupId>org.sonatype.plugins</groupId>
146 <artifactId>nexus-staging-maven-plugin</artifactId>
147 <version>1.6.7</version>
148 <extensions>true</extensions>
149 <configuration>
150 <nexusUrl>${nexusproxy}</nexusUrl>
151 <stagingProfileId>176c31dfe190a</stagingProfileId>
152 <serverId>ecomp-staging</serverId>
153 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400154 </plugin>
155 <plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000156 <groupId>org.jacoco</groupId>
157 <artifactId>jacoco-maven-plugin</artifactId>
158 <version>${jacoco.version}</version>
159 <configuration>
160 <!-- Note: This exclusion list should match <sonar.exclusions>
161 property above -->
162 <excludes>
163 <exclude>**/gen/**</exclude>
164 <exclude>**/generated-sources/**</exclude>
165 <exclude>**/yang-gen/**</exclude>
166 <exclude>**/pax/**</exclude>
167 </excludes>
168 </configuration>
169 <executions>
170 <!--
171 Prepares the property pointing to the JaCoCo runtime agent which
172 is passed as VM argument when Maven the Surefire plugin is executed.
173 -->
174 <execution>
175 <id>pre-unit-test</id>
176 <goals>
177 <goal>prepare-agent</goal>
178 </goals>
179 <configuration>
180 <!-- Sets the path to the file which contains the execution data. -->
181 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
182 <!--
183 Sets the name of the property containing the settings
184 for JaCoCo runtime agent.
185 -->
186 <propertyName>surefireArgLine</propertyName>
187 </configuration>
188 </execution>
189 <!--
190 Ensures that the code coverage report for unit tests is created after
191 unit tests have been run.
192 -->
193 <execution>
194 <id>post-unit-test</id>
195 <phase>test</phase>
196 <goals>
197 <goal>report</goal>
198 </goals>
199 <configuration>
200 <!-- Sets the path to the file which contains the execution data. -->
201 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
202 <!-- Sets the output directory for the code coverage report. -->
203 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
204 </configuration>
205 </execution>
206 <execution>
207 <id>pre-integration-test</id>
208 <phase>pre-integration-test</phase>
209 <goals>
210 <goal>prepare-agent</goal>
211 </goals>
212 <configuration>
213 <!-- Sets the path to the file which contains the execution data. -->
214 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
215 <!--
216 Sets the name of the property containing the settings
217 for JaCoCo runtime agent.
218 -->
219 <propertyName>failsafeArgLine</propertyName>
220 </configuration>
221 </execution>
222 <!--
223 Ensures that the code coverage report for integration tests after
224 integration tests have been run.
225 -->
226 <execution>
227 <id>post-integration-test</id>
228 <phase>post-integration-test</phase>
229 <goals>
230 <goal>report</goal>
231 </goals>
232 <configuration>
233 <!-- Sets the path to the file which contains the execution data. -->
234 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
235 <!-- Sets the output directory for the code coverage report. -->
236 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
237 </configuration>
238 </execution>
239 </executions>
240 </plugin>
241
sg481nbd890c52017-08-28 12:11:35 -0400242
243 </plugins>
244 </build>
245<distributionManagement>
246 <repository>
247 <id>ecomp-releases</id>
248 <name>AAF Release Repository</name>
249 <url>${nexusproxy}${releaseNexusPath}</url>
250 </repository>
251 <snapshotRepository>
252 <id>ecomp-snapshots</id>
253 <name>AAF Snapshot Repository</name>
254 <url>${nexusproxy}${snapshotNexusPath}</url>
255 </snapshotRepository>
256 <site>
257 <id>ecomp-site</id>
258 <url>dav:${nexusproxy}${sitePath}</url>
259 </site>
260 </distributionManagement>
sg481na9d21082017-09-23 14:26:06 +0000261
sg481nbd890c52017-08-28 12:11:35 -0400262</project>