blob: 00043f27f15eb174c933b1a54b9944a39cdf2752 [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>
54 <maven.test.failure.ignore>true</maven.test.failure.ignore>
55 <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>
63 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
64 <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>
69 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
70 </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
sg481nbd890c52017-08-28 12:11:35 -0400114
115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-source-plugin</artifactId>
118 <version>2.2.1</version>
119 <executions>
120 <execution>
121 <id>attach-sources</id>
122 <goals>
123 <goal>jar-no-fork</goal>
124 </goals>
125 </execution>
126 </executions>
127 </plugin>
128
129<plugin>
130 <groupId>org.sonatype.plugins</groupId>
131 <artifactId>nexus-staging-maven-plugin</artifactId>
132 <version>1.6.7</version>
133 <extensions>true</extensions>
134 <configuration>
135 <nexusUrl>${nexusproxy}</nexusUrl>
136 <stagingProfileId>176c31dfe190a</stagingProfileId>
137 <serverId>ecomp-staging</serverId>
138 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400139 </plugin>
140 <plugin>
141 <groupId>org.jacoco</groupId>
142 <artifactId>jacoco-maven-plugin</artifactId>
143 <version>0.7.7.201606060606</version>
144 <configuration>
145 <dumpOnExit>true</dumpOnExit>
146 <includes>
147 <include>org.onap.aaf.*</include>
148 </includes>
149 </configuration>
150 <executions>
151 <execution>
152 <id>pre-unit-test</id>
153 <goals>
154 <goal>prepare-agent</goal>
155 </goals>
156 <configuration>
157 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
158 <!-- <append>true</append> -->
159 </configuration>
160 </execution>
161 <execution>
162 <id>pre-integration-test</id>
163 <phase>pre-integration-test</phase>
164 <goals>
165 <goal>prepare-agent</goal>
166 </goals>
167 <configuration>
168 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
169 <!-- <append>true</append> -->
170 </configuration>
171 </execution>
172 <execution>
173 <goals>
174 <goal>merge</goal>
175 </goals>
176 <phase>post-integration-test</phase>
177 <configuration>
178 <fileSets>
179 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
180 <directory>${project.build.directory}/coverage-reports</directory>
181 <includes>
182 <include>*.exec</include>
183 </includes>
184 </fileSet>
185 </fileSets>
186 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
187 </configuration>
188 </execution>
189 </executions>
190 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400191
192 </plugins>
193 </build>
194<distributionManagement>
195 <repository>
196 <id>ecomp-releases</id>
197 <name>AAF Release Repository</name>
198 <url>${nexusproxy}${releaseNexusPath}</url>
199 </repository>
200 <snapshotRepository>
201 <id>ecomp-snapshots</id>
202 <name>AAF Snapshot Repository</name>
203 <url>${nexusproxy}${snapshotNexusPath}</url>
204 </snapshotRepository>
205 <site>
206 <id>ecomp-site</id>
207 <url>dav:${nexusproxy}${sitePath}</url>
208 </site>
209 </distributionManagement>
210<pluginRepositories>
211 <pluginRepository>
212 <id>onap-plugin-snapshots</id>
213 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
214 </pluginRepository>
215 </pluginRepositories>
216
217 <repositories>
218 <repository>
219 <id>central</id>
220 <name>Maven 2 repository 2</name>
221 <url>http://repo2.maven.org/maven2/</url>
222 </repository>
223 <repository>
224 <id>onap-jar-snapshots</id>
225 <url>https://nexus.onap.org/content/repositories/snapshots</url>
226 </repository>
227 <repository>
228 <id>spring-repo</id>
229 <name>Spring repo</name>
230 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
231 </repository>
232 <repository>
233 <id>repository.jboss.org-public</id>
234 <name>JBoss.org Maven repository</name>
235 <url>https://repository.jboss.org/nexus/content/groups/public</url>
236 </repository>
237 </repositories>
238</project>