blob: b1fb26a803b92a1bd85108d5dcfbe22364df5584 [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>
75
76 <exclusions>
77 <exclusion>
78 <groupId>javax.servlet</groupId>
79 <artifactId>servlet-api</artifactId>
80 </exclusion>
81 </exclusions>
82 </dependency>
83
84 <dependency>
85 <groupId>org.onap.aaf.cadi</groupId>
86 <artifactId>cadi-aaf</artifactId>
87 </dependency>
88
89
90
91 </dependencies>
92
93 <build>
94 <plugins>
95 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
96 <plugin>
97 <groupId>org.codehaus.mojo</groupId>
98 <artifactId>jaxb2-maven-plugin</artifactId>
99 </plugin>
100 <plugin>
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-jar-plugin</artifactId>
103 <configuration>
104 <includes>
105 <include>**/*.class</include>
106 </includes>
107 </configuration>
108 <version>2.3.1</version>
109 </plugin>
110
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-deploy-plugin</artifactId>
114 <configuration>
115 <skip>true</skip>
116 </configuration>
117 </plugin>
118
119
120 <plugin>
121 <groupId>org.apache.maven.plugins</groupId>
122 <artifactId>maven-source-plugin</artifactId>
123 <version>2.2.1</version>
124 <executions>
125 <execution>
126 <id>attach-sources</id>
127 <goals>
128 <goal>jar-no-fork</goal>
129 </goals>
130 </execution>
131 </executions>
132 </plugin>
133
134<plugin>
135 <groupId>org.sonatype.plugins</groupId>
136 <artifactId>nexus-staging-maven-plugin</artifactId>
137 <version>1.6.7</version>
138 <extensions>true</extensions>
139 <configuration>
140 <nexusUrl>${nexusproxy}</nexusUrl>
141 <stagingProfileId>176c31dfe190a</stagingProfileId>
142 <serverId>ecomp-staging</serverId>
143 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400144 </plugin>
145 <plugin>
146 <groupId>org.jacoco</groupId>
147 <artifactId>jacoco-maven-plugin</artifactId>
148 <version>0.7.7.201606060606</version>
149 <configuration>
150 <dumpOnExit>true</dumpOnExit>
151 <includes>
152 <include>org.onap.aaf.*</include>
153 </includes>
154 </configuration>
155 <executions>
156 <execution>
157 <id>pre-unit-test</id>
158 <goals>
159 <goal>prepare-agent</goal>
160 </goals>
161 <configuration>
162 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
163 <!-- <append>true</append> -->
164 </configuration>
165 </execution>
166 <execution>
167 <id>pre-integration-test</id>
168 <phase>pre-integration-test</phase>
169 <goals>
170 <goal>prepare-agent</goal>
171 </goals>
172 <configuration>
173 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
174 <!-- <append>true</append> -->
175 </configuration>
176 </execution>
177 <execution>
178 <goals>
179 <goal>merge</goal>
180 </goals>
181 <phase>post-integration-test</phase>
182 <configuration>
183 <fileSets>
184 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
185 <directory>${project.build.directory}/coverage-reports</directory>
186 <includes>
187 <include>*.exec</include>
188 </includes>
189 </fileSet>
190 </fileSets>
191 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
192 </configuration>
193 </execution>
194 </executions>
195 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400196
197 </plugins>
198 </build>
199<distributionManagement>
200 <repository>
201 <id>ecomp-releases</id>
202 <name>AAF Release Repository</name>
203 <url>${nexusproxy}${releaseNexusPath}</url>
204 </repository>
205 <snapshotRepository>
206 <id>ecomp-snapshots</id>
207 <name>AAF Snapshot Repository</name>
208 <url>${nexusproxy}${snapshotNexusPath}</url>
209 </snapshotRepository>
210 <site>
211 <id>ecomp-site</id>
212 <url>dav:${nexusproxy}${sitePath}</url>
213 </site>
214 </distributionManagement>
215<pluginRepositories>
216 <pluginRepository>
217 <id>onap-plugin-snapshots</id>
218 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
219 </pluginRepository>
220 </pluginRepositories>
221
222 <repositories>
223 <repository>
224 <id>central</id>
225 <name>Maven 2 repository 2</name>
226 <url>http://repo2.maven.org/maven2/</url>
227 </repository>
228 <repository>
229 <id>onap-jar-snapshots</id>
230 <url>https://nexus.onap.org/content/repositories/snapshots</url>
231 </repository>
232 <repository>
233 <id>spring-repo</id>
234 <name>Spring repo</name>
235 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
236 </repository>
237 <repository>
238 <id>repository.jboss.org-public</id>
239 <name>JBoss.org Maven repository</name>
240 <url>https://repository.jboss.org/nexus/content/groups/public</url>
241 </repository>
242 </repositories>
243</project>