blob: 609967f6dc9ecd2f60dfdbf85209f86080d1f066 [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-service</artifactId>
35 <name>Authz Service</name>
36 <description>API for Authorization and Authentication</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>1</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
72 <dependencies>
73 <dependency>
74 <groupId>org.onap.aaf.authz</groupId>
75 <artifactId>authz-client</artifactId>
76 </dependency>
77
78 <dependency>
79 <groupId>org.onap.aaf.authz</groupId>
80 <artifactId>authz-core</artifactId>
81 <exclusions>
82 <exclusion>
83 <groupId>javax.servlet</groupId>
84 <artifactId>servlet-api</artifactId>
85 </exclusion>
86 </exclusions>
87 </dependency>
88
89 <dependency>
90 <groupId>org.onap.aaf.authz</groupId>
91 <artifactId>authz-cass</artifactId>
92 </dependency>
93
94 <dependency>
95 <groupId>org.onap.aaf.authz</groupId>
96 <artifactId>authz-defOrg</artifactId>
97 <version>${project.version}</version>
98 </dependency>
99
100
101
102 <dependency >
103 <groupId>org.onap.aaf.inno</groupId>
104 <artifactId>env</artifactId>
105 </dependency>
106
107
108 <dependency>
109 <groupId>org.onap.aaf.cadi</groupId>
110 <artifactId>cadi-core</artifactId>
111 </dependency>
112
113 <dependency>
114 <groupId>com.att.aft</groupId>
115 <artifactId>dme2</artifactId>
116 </dependency>
117
118 <dependency>
119 <groupId>org.onap.aaf.inno</groupId>
120 <artifactId>rosetta</artifactId>
121 </dependency>
122 <dependency>
123 <groupId>org.onap.aaf.cadi</groupId>
124 <artifactId>cadi-aaf</artifactId>
125 </dependency>
126
127
128
129
130 </dependencies>
131
132 <build>
133 <plugins>
134 <plugin>
135 <groupId>org.codehaus.mojo</groupId>
136 <artifactId>exec-maven-plugin</artifactId>
137 <version>1.5.0</version>
138 <configuration>
139 <executable>java</executable>
140 <arguments>
141 <argument>-DAFT_LATITUDE=33</argument>
142 <argument>-DAFT_LONGITUDE=-84</argument>
143 <argument>-DAFT_ENVIRONMENT=AFTUAT</argument>
144
145 <argument>-XX:NewRatio=3</argument>
146 <argument>-XX:+PrintGCTimeStamps</argument>
147 <argument>-XX:+PrintGCDetails</argument>
148 <argument>-Xloggc:gc.log</argument>
149 <argument>-classpath</argument>
150
151 <classpath>
152
153 </classpath>
154 <argument>org.onap.aaf.authz.service.AuthAPI</argument>
155
156 <argument>service=org.onap.aaf.authz.AuthorizationService/version=2.0/envContext=DEV/routeOffer=Dev</argument>
157 </arguments>
158 </configuration>
159 </plugin>
160
161 <plugin>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-jar-plugin</artifactId>
164 <configuration>
165 <excludes>
166 <exclude>*.properties</exclude>
167 </excludes>
168 </configuration>
169 <version>2.3.1</version>
170 </plugin>
171
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-deploy-plugin</artifactId>
175 <configuration>
176 <skip>true</skip>
177 </configuration>
178 </plugin>
179
180 <plugin>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-javadoc-plugin</artifactId>
183 <configuration>
184 <failOnError>false</failOnError>
185 </configuration>
186 <executions>
187 <execution>
188 <id>attach-javadocs</id>
189 <goals>
190 <goal>jar</goal>
191 </goals>
192 </execution>
193 </executions>
194 </plugin>
195
196
197 <plugin>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-source-plugin</artifactId>
200 <version>2.2.1</version>
201 <executions>
202 <execution>
203 <id>attach-sources</id>
204 <goals>
205 <goal>jar-no-fork</goal>
206 </goals>
207 </execution>
208 </executions>
209 </plugin>
210
211<plugin>
212 <groupId>org.sonatype.plugins</groupId>
213 <artifactId>nexus-staging-maven-plugin</artifactId>
214 <version>1.6.7</version>
215 <extensions>true</extensions>
216 <configuration>
217 <nexusUrl>${nexusproxy}</nexusUrl>
218 <stagingProfileId>176c31dfe190a</stagingProfileId>
219 <serverId>ecomp-staging</serverId>
sg481n40cd3562017-09-01 13:12:31 -0400220 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
sg481nbd890c52017-08-28 12:11:35 -0400221 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400222 </plugin>
223 <plugin>
224 <groupId>org.jacoco</groupId>
225 <artifactId>jacoco-maven-plugin</artifactId>
226 <version>0.7.7.201606060606</version>
227 <configuration>
228 <dumpOnExit>true</dumpOnExit>
229 <includes>
230 <include>org.onap.aaf.*</include>
231 </includes>
232 </configuration>
233 <executions>
234 <execution>
235 <id>pre-unit-test</id>
236 <goals>
237 <goal>prepare-agent</goal>
238 </goals>
239 <configuration>
240 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
241 <!-- <append>true</append> -->
242 </configuration>
243 </execution>
244 <execution>
245 <id>pre-integration-test</id>
246 <phase>pre-integration-test</phase>
247 <goals>
248 <goal>prepare-agent</goal>
249 </goals>
250 <configuration>
251 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
252 <!-- <append>true</append> -->
253 </configuration>
254 </execution>
255 <execution>
256 <goals>
257 <goal>merge</goal>
258 </goals>
259 <phase>post-integration-test</phase>
260 <configuration>
261 <fileSets>
262 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
263 <directory>${project.build.directory}/coverage-reports</directory>
264 <includes>
265 <include>*.exec</include>
266 </includes>
267 </fileSet>
268 </fileSets>
269 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
270 </configuration>
271 </execution>
272 </executions>
273 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400274
275 </plugins>
276
277 </build>
278
279 <distributionManagement>
280 <repository>
281 <id>ecomp-releases</id>
282 <name>AAF Release Repository</name>
283 <url>${nexusproxy}${releaseNexusPath}</url>
284 </repository>
285 <snapshotRepository>
286 <id>ecomp-snapshots</id>
287 <name>AAF Snapshot Repository</name>
288 <url>${nexusproxy}${snapshotNexusPath}</url>
289 </snapshotRepository>
290 <site>
291 <id>ecomp-site</id>
292 <url>dav:${nexusproxy}${sitePath}</url>
293 </site>
294 </distributionManagement>
295<pluginRepositories>
296 <pluginRepository>
297 <id>onap-plugin-snapshots</id>
298 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
299 </pluginRepository>
300 </pluginRepositories>
301
302 <repositories>
303 <repository>
304 <id>central</id>
305 <name>Maven 2 repository 2</name>
306 <url>http://repo2.maven.org/maven2/</url>
307 </repository>
308 <repository>
309 <id>onap-jar-snapshots</id>
310 <url>https://nexus.onap.org/content/repositories/snapshots</url>
311 </repository>
312 <repository>
313 <id>spring-repo</id>
314 <name>Spring repo</name>
315 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
316 </repository>
317 <repository>
318 <id>repository.jboss.org-public</id>
319 <name>JBoss.org Maven repository</name>
320 <url>https://repository.jboss.org/nexus/content/groups/public</url>
321 </repository>
322 </repositories>
323</project>