blob: 8d62f9e281a7c7c2b99cfbb47235cfa25bd6abab [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>
30 <version>1.0.0-SNAPSHOT</version>
31 <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>
56 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n40cd3562017-09-01 13:12:31 -040057 <sonar.language>java</sonar.language>
58 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
59 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
60 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
61 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
62 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
63 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481nbd890c52017-08-28 12:11:35 -040064 <nexusproxy>https://nexus.onap.org</nexusproxy>
65 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
66 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
67 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
68 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
69 </properties>
70
71 <dependencies>
72 <dependency>
73 <groupId>org.onap.aaf.authz</groupId>
74 <artifactId>authz-core</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040075 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040076
77 <exclusions>
78 <exclusion>
79 <groupId>javax.servlet</groupId>
80 <artifactId>servlet-api</artifactId>
81 </exclusion>
82 </exclusions>
83 </dependency>
84
85 <dependency>
86 <groupId>org.onap.aaf.cadi</groupId>
87 <artifactId>cadi-aaf</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040088 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040089 </dependency>
90
91
92
93 </dependencies>
94
95 <build>
96 <plugins>
97 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
98 <plugin>
99 <groupId>org.codehaus.mojo</groupId>
100 <artifactId>jaxb2-maven-plugin</artifactId>
101 </plugin>
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-jar-plugin</artifactId>
105 <configuration>
106 <includes>
107 <include>**/*.class</include>
108 </includes>
109 </configuration>
110 <version>2.3.1</version>
111 </plugin>
112
113 <plugin>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-deploy-plugin</artifactId>
116 <configuration>
117 <skip>true</skip>
118 </configuration>
119 </plugin>
120
121
122 <plugin>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-source-plugin</artifactId>
125 <version>2.2.1</version>
126 <executions>
127 <execution>
128 <id>attach-sources</id>
129 <goals>
130 <goal>jar-no-fork</goal>
131 </goals>
132 </execution>
133 </executions>
134 </plugin>
135
136<plugin>
137 <groupId>org.sonatype.plugins</groupId>
138 <artifactId>nexus-staging-maven-plugin</artifactId>
139 <version>1.6.7</version>
140 <extensions>true</extensions>
141 <configuration>
142 <nexusUrl>${nexusproxy}</nexusUrl>
143 <stagingProfileId>176c31dfe190a</stagingProfileId>
144 <serverId>ecomp-staging</serverId>
145 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400146 </plugin>
147 <plugin>
148 <groupId>org.jacoco</groupId>
149 <artifactId>jacoco-maven-plugin</artifactId>
150 <version>0.7.7.201606060606</version>
151 <configuration>
152 <dumpOnExit>true</dumpOnExit>
153 <includes>
154 <include>org.onap.aaf.*</include>
155 </includes>
156 </configuration>
157 <executions>
158 <execution>
159 <id>pre-unit-test</id>
160 <goals>
161 <goal>prepare-agent</goal>
162 </goals>
163 <configuration>
164 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
165 <!-- <append>true</append> -->
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}/coverage-reports/jacoco-it.exec</destFile>
176 <!-- <append>true</append> -->
177 </configuration>
178 </execution>
179 <execution>
180 <goals>
181 <goal>merge</goal>
182 </goals>
183 <phase>post-integration-test</phase>
184 <configuration>
185 <fileSets>
186 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
187 <directory>${project.build.directory}/coverage-reports</directory>
188 <includes>
189 <include>*.exec</include>
190 </includes>
191 </fileSet>
192 </fileSets>
193 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
194 </configuration>
195 </execution>
196 </executions>
197 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400198
199 </plugins>
200 </build>
201<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>
217<pluginRepositories>
218 <pluginRepository>
219 <id>onap-plugin-snapshots</id>
220 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
221 </pluginRepository>
222 </pluginRepositories>
223
224 <repositories>
225 <repository>
226 <id>central</id>
227 <name>Maven 2 repository 2</name>
228 <url>http://repo2.maven.org/maven2/</url>
229 </repository>
230 <repository>
231 <id>onap-jar-snapshots</id>
232 <url>https://nexus.onap.org/content/repositories/snapshots</url>
233 </repository>
234 <repository>
235 <id>spring-repo</id>
236 <name>Spring repo</name>
237 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
238 </repository>
239 <repository>
240 <id>repository.jboss.org-public</id>
241 <name>JBoss.org Maven repository</name>
242 <url>https://repository.jboss.org/nexus/content/groups/public</url>
243 </repository>
244 </repositories>
245</project>