blob: e3512d5afe5d610cbe99e6c23aca1ab9572f57fb [file] [log] [blame]
Instrumental9f52db12018-08-31 09:53:21 -05001<!-- * ============LICENSE_START====================================================
2 * org.onap.aaf * ===========================================================================
3 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. * ===========================================================================
4 * Licensed under the Apache License, Version 2.0 (the "License"); * you may
5 not use this file except in compliance with the License. * You may obtain
6 a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
7 * Unless required by applicable law or agreed to in writing, software * distributed
8 under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES
9 OR CONDITIONS OF ANY KIND, either express or implied. * See the License for
10 the specific language governing permissions and * limitations under the License.
11 * ============LICENSE_END====================================================
12 * -->
13<project xmlns="http://maven.apache.org/POM/4.0.0"
14 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
IanHowell3901cf82018-04-03 11:24:27 -050015 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
sg481n43854a92017-08-03 17:27:34 -040016 <modelVersion>4.0.0</modelVersion>
Sai Gandham58a75a02018-04-06 15:20:29 -050017 <groupId>org.onap.aaf.authz</groupId>
Sai Gandham83fc0252018-04-09 16:28:48 +000018 <artifactId>parent</artifactId>
Instrumentalb7440252018-06-14 15:05:33 -050019 <version>2.1.2-SNAPSHOT</version>
Gildas Lanilise56fba22018-09-06 11:09:47 -070020 <name>aaf-authz</name>
sg481n43854a92017-08-03 17:27:34 -040021 <packaging>pom</packaging>
IanHowell3901cf82018-04-03 11:24:27 -050022
23 <parent>
24 <groupId>org.onap.oparent</groupId>
25 <artifactId>oparent</artifactId>
Instrumental41348042018-09-19 06:59:20 -050026 <version>1.2.1-SNAPSHOT</version>
IanHowell3901cf82018-04-03 11:24:27 -050027 </parent>
28
Sai Gandhame01703c2018-03-26 22:57:09 +000029 <properties>
Sai Gandhame01703c2018-03-26 22:57:09 +000030 <nexusproxy>https://nexus.onap.org</nexusproxy>
Instrumental41348042018-09-19 06:59:20 -050031 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
Sai Gandhame01703c2018-03-26 22:57:09 +000032 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
33 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
34 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
35 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
IanHowell3901cf82018-04-03 11:24:27 -050036
Instrumental95d25492018-04-02 18:48:10 -050037 <maven.test.failure.ignore>false</maven.test.failure.ignore>
Instrumental9f52db12018-08-31 09:53:21 -050038 <!-- SONAR -->
IanHowell3901cf82018-04-03 11:24:27 -050039 <jacoco.version>0.7.7.201606060606</jacoco.version>
40 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
41 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
42 <!-- Default Sonar configuration -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050043 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
44 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
Instrumental9f52db12018-08-31 09:53:21 -050045 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
46 below -->
IanHowell3901cf82018-04-03 11:24:27 -050047 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Instrumental95d25492018-04-02 18:48:10 -050048 <nexusproxy>https://nexus.onap.org</nexusproxy>
Instrumental9f52db12018-08-31 09:53:21 -050049 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
50 <powermock.version>1.5.1</powermock.version>
51 <mockito.version>1.9.5</mockito.version>
52 <project.interfaceVersion>${project.version}</project.interfaceVersion>
Instrumental41348042018-09-19 06:59:20 -050053 <project.jettyVersion>9.4.12.v20180830</project.jettyVersion>
54 <project.cassVersion>3.6.0</project.cassVersion>
Instrumental9f52db12018-08-31 09:53:21 -050055
Sai Gandhame01703c2018-03-26 22:57:09 +000056 </properties>
sg481n43854a92017-08-03 17:27:34 -040057 <build>
Instrumental10027f32018-03-26 14:07:37 -070058 <plugins>
59 <plugin>
60 <groupId>org.apache.maven.plugins</groupId>
61 <artifactId>maven-deploy-plugin</artifactId>
sg481n43854a92017-08-03 17:27:34 -040062 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -050063 <skip>false</skip>
sg481n43854a92017-08-03 17:27:34 -040064 </configuration>
65 </plugin>
Sai Gandham095221f2018-03-28 03:41:06 +000066 <plugin>
67 <groupId>org.sonatype.plugins</groupId>
68 <artifactId>nexus-staging-maven-plugin</artifactId>
Sai Gandham095221f2018-03-28 03:41:06 +000069 <extensions>true</extensions>
70 <configuration>
71 <nexusUrl>${nexusproxy}</nexusUrl>
72 <stagingProfileId>176c31dfe190a</stagingProfileId>
73 <serverId>ecomp-staging</serverId>
74 </configuration>
IanHowell3901cf82018-04-03 11:24:27 -050075 </plugin>
Instrumental95d25492018-04-02 18:48:10 -050076 <plugin>
IanHowell3901cf82018-04-03 11:24:27 -050077 <groupId>org.sonarsource.scanner.maven</groupId>
78 <artifactId>sonar-maven-plugin</artifactId>
IanHowell3901cf82018-04-03 11:24:27 -050079 </plugin>
80 <plugin>
Instrumental95d25492018-04-02 18:48:10 -050081 <groupId>org.jacoco</groupId>
82 <artifactId>jacoco-maven-plugin</artifactId>
Instrumental95d25492018-04-02 18:48:10 -050083 <configuration>
IanHowell3901cf82018-04-03 11:24:27 -050084 <excludes>
85 <exclude>**/gen/**</exclude>
86 <exclude>**/generated-sources/**</exclude>
87 <exclude>**/yang-gen/**</exclude>
88 <exclude>**/pax/**</exclude>
89 </excludes>
Instrumental95d25492018-04-02 18:48:10 -050090 </configuration>
91 <executions>
92 <execution>
93 <id>pre-unit-test</id>
94 <goals>
95 <goal>prepare-agent</goal>
96 </goals>
97 <configuration>
IanHowell3901cf82018-04-03 11:24:27 -050098 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
99 <propertyName>surefireArgLine</propertyName>
100 </configuration>
101 </execution>
102 <execution>
103 <id>post-unit-test</id>
104 <phase>test</phase>
105 <goals>
106 <goal>report</goal>
107 </goals>
108 <configuration>
109 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
110 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Instrumental95d25492018-04-02 18:48:10 -0500111 </configuration>
112 </execution>
113 <execution>
114 <id>pre-integration-test</id>
115 <phase>pre-integration-test</phase>
116 <goals>
117 <goal>prepare-agent</goal>
118 </goals>
119 <configuration>
IanHowell3901cf82018-04-03 11:24:27 -0500120 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
121 <propertyName>failsafeArgLine</propertyName>
Instrumental95d25492018-04-02 18:48:10 -0500122 </configuration>
123 </execution>
124 <execution>
IanHowell3901cf82018-04-03 11:24:27 -0500125 <id>post-integration-test</id>
126 <phase>post-integration-test</phase>
127 <goals>
128 <goal>report</goal>
129 </goals>
130 <configuration>
131 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
132 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
133 </configuration>
134 </execution>
Instrumental95d25492018-04-02 18:48:10 -0500135 </executions>
136 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500137
Instrumental10027f32018-03-26 14:07:37 -0700138 </plugins>
IanHowell3901cf82018-04-03 11:24:27 -0500139 </build>
sg481n43854a92017-08-03 17:27:34 -0400140 <modules>
Instrumental1efda072018-04-24 07:08:05 -0500141 <module>auth-client</module>
Sai Gandham30dca6e2018-04-09 21:22:48 +0000142 <module>misc</module>
Instrumental10027f32018-03-26 14:07:37 -0700143 <module>cadi</module>
Sai Gandham30dca6e2018-04-09 21:22:48 +0000144 <module>auth</module>
IanHowell3901cf82018-04-03 11:24:27 -0500145 </modules>
Sai Gandhame01703c2018-03-26 22:57:09 +0000146
Instrumental9f52db12018-08-31 09:53:21 -0500147 <dependencyManagement>
148 <dependencies>
149 <dependency>
150 <groupId>org.onap.aaf.authz</groupId>
151 <artifactId>aaf-misc-env</artifactId>
152 <version>${project.version}</version>
153 </dependency>
154
155 <dependency>
156 <groupId>org.onap.aaf.authz</groupId>
157 <artifactId>aaf-misc-log4j</artifactId>
158 <version>${project.version}</version>
159 </dependency>
160
161 <dependency>
162 <groupId>org.onap.aaf.authz</groupId>
163 <artifactId>aaf-misc-rosetta</artifactId>
164 <version>${project.version}</version>
165 </dependency>
166
167 <dependency>
168 <groupId>org.onap.aaf.authz</groupId>
169 <artifactId>aaf-misc-xgen</artifactId>
170 <version>${project.version}</version>
171 </dependency>
172
173
174
175
176
177
178
179 <dependency>
180 <groupId>org.onap.aaf.authz</groupId>
181 <artifactId>aaf-auth-client</artifactId>
182 <version>${project.version}</version>
183 </dependency>
184
185 <dependency>
186 <groupId>org.onap.aaf.authz</groupId>
187 <artifactId>aaf-auth-core</artifactId>
188 <version>${project.version}</version>
189 </dependency>
190
191 <dependency>
192 <groupId>org.onap.aaf.authz</groupId>
193 <artifactId>aaf-auth-cass</artifactId>
194 <version>${project.version}</version>
195 </dependency>
196
197 <dependency>
198 <groupId>org.onap.aaf.authz</groupId>
199 <artifactId>aaf-auth-cmd</artifactId>
200 <version>${project.version}</version>
201 </dependency>
202
203 <dependency>
204 <groupId>org.onap.aaf.authz</groupId>
205 <artifactId>aaf-auth-oauth</artifactId>
206 <version>${project.version}</version>
207 </dependency>
208
209 <dependency>
210 <groupId>org.onap.aaf.authz</groupId>
211 <artifactId>aaf-auth-deforg</artifactId>
212 <version>${project.version}</version>
213 </dependency>
214
215 <dependency>
216 <groupId>org.onap.aaf.authz</groupId>
217 <artifactId>aaf-cadi-core</artifactId>
218 <version>${project.version}</version>
219 </dependency>
220
221 <dependency>
222 <groupId>org.onap.aaf.authz</groupId>
223 <artifactId>aaf-cadi-client</artifactId>
224 <version>${project.version}</version>
225 </dependency>
226
227 <dependency>
228 <groupId>org.onap.aaf.authz</groupId>
229 <artifactId>aaf-cadi-aaf</artifactId>
230 <version>${project.version}</version>
231 <exclusions>
232 <exclusion>
233 <groupId>org.apache.cassandra</groupId>
234 <artifactId>cassandra-all</artifactId>
235 </exclusion>
236 </exclusions>
237 </dependency>
238
239 <dependency>
240 <groupId>org.onap.aaf.authz</groupId>
241 <artifactId>aaf-cadi-jetty</artifactId>
242 <version>${project.version}</version>
243 </dependency>
244
245 <dependency>
246 <groupId>org.onap.aaf.authz</groupId>
247 <artifactId>aaf-cadi-cass</artifactId>
248 <version>${project.version}</version>
249 </dependency><dependency>
250 <groupId>javax.servlet</groupId>
251 <artifactId>javax.servlet-api</artifactId>
252 <version>3.0.1</version>
Instrumental41348042018-09-19 06:59:20 -0500253 </dependency>
254
255 <!-- JettyVersion is partly covered in "OParent"
256 dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500257 <groupId>org.eclipse.jetty</groupId>
258 <artifactId>jetty-servlet</artifactId>
259 <version>${project.jettyVersion}</version>
260 </dependency><dependency>
261 <groupId>org.eclipse.jetty</groupId>
262 <artifactId>jetty-server</artifactId>
263 <version>${project.jettyVersion}</version>
264 </dependency>
Instrumental41348042018-09-19 06:59:20 -0500265
266 <dependency>
267 <groupId>org.eclipse.jetty</groupId>
268 <artifactId>jetty-http</artifactId>
269 <version>${project.jettyVersion}</version>
270 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500271
272 <dependency>
273 <groupId>org.eclipse.jetty</groupId>
274 <artifactId>jetty-io</artifactId>
275 <version>${project.jettyVersion}</version>
276 </dependency>
277
278 <dependency>
279 <groupId>org.eclipse.jetty</groupId>
280 <artifactId>jetty-security</artifactId>
281 <version>${project.jettyVersion}</version>
282 </dependency>
283
Instrumental9f52db12018-08-31 09:53:21 -0500284
285 <dependency>
286 <groupId>org.eclipse.jetty</groupId>
287 <artifactId>jetty-util</artifactId>
288 <version>${project.jettyVersion}</version>
289 </dependency>
Instrumental41348042018-09-19 06:59:20 -0500290 -->
Instrumental9f52db12018-08-31 09:53:21 -0500291
292 <dependency>
293 <groupId>org.slf4j</groupId>
294 <artifactId>slf4j-api</artifactId>
295 <version>1.7.5</version>
296 </dependency>
297
298 <dependency>
299 <groupId>com.datastax.cassandra</groupId>
300 <artifactId>cassandra-all</artifactId>
301 <version>${project.cassVersion}</version>
302 <exclusions>
303 <exclusion>
304 <groupId>org.slf4j</groupId>
305 <artifactId>slf4j-log4j12</artifactId>
306 </exclusion>
307 <exclusion>
308 <groupId>log4j</groupId>
309 <artifactId>log4j</artifactId>
310 </exclusion>
311 </exclusions>
312 </dependency>
313
314 <dependency>
315 <groupId>com.datastax.cassandra</groupId>
316 <artifactId>cassandra-driver-core</artifactId>
317 <version>${project.cassVersion}</version>
318 <exclusions>
319 <exclusion>
320 <groupId>org.slf4j</groupId>
321 <artifactId>slf4j-log4j12</artifactId>
322 </exclusion>
323 <exclusion>
324 <groupId>log4j</groupId>
325 <artifactId>log4j</artifactId>
326 </exclusion>
327 <exclusion>
328 <groupId>com.google.guava</groupId>
329 <artifactId>guava</artifactId>
330 </exclusion>
331 </exclusions>
332 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500333 <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
334 <dependency>
335 <groupId>io.netty</groupId>
336 <artifactId>netty-handler</artifactId>
337 <version>${project.nettyVersion}</version>
338 </dependency>
339
340 <dependency>
341 <groupId>org.slf4j</groupId>
342 <artifactId>slf4j-log4j12</artifactId>
343 <version>1.7.5</version>
344 </dependency>
345
346 <dependency>
347 <groupId>javax.mail</groupId>
348 <artifactId>mail</artifactId>
349 <version>1.4.7</version>
350 </dependency>
Instrumental6f6c6202018-09-19 09:51:45 -0500351
Instrumental9f52db12018-08-31 09:53:21 -0500352 <dependency>
353 <groupId>org.mockito</groupId>
354 <artifactId>mockito-all</artifactId>
355 <version>${mockito.version}</version>
356 <scope>test</scope>
357 </dependency>
358
359 <dependency>
360 <groupId>org.powermock</groupId>
361 <artifactId>powermock-module-junit4</artifactId>
362 <version>${powermock.version}</version>
363 <scope>test</scope>
364 </dependency>
365
366 <dependency>
367 <groupId>org.powermock</groupId>
368 <artifactId>powermock-api-mockito</artifactId>
369 <version>${powermock.version}</version>
370 <scope>test</scope>
371 </dependency>
372
373 <dependency>
374 <groupId>log4j</groupId>
375 <artifactId>log4j</artifactId>
376 <version>1.2.17</version>
377 </dependency>
378
379 <dependency>
380 <groupId>junit</groupId>
381 <artifactId>junit</artifactId>
382 <version>4.10</version>
383 <scope>test</scope>
384 </dependency>
385
386 </dependencies>
387 </dependencyManagement>
388
389
390
391
392
Sai Gandham095221f2018-03-28 03:41:06 +0000393 <distributionManagement>
394 <repository>
395 <id>ecomp-releases</id>
396 <name>AAF Release Repository</name>
397 <url>${nexusproxy}${releaseNexusPath}</url>
398 </repository>
399 <snapshotRepository>
400 <id>ecomp-snapshots</id>
401 <name>AAF Snapshot Repository</name>
402 <url>${nexusproxy}${snapshotNexusPath}</url>
403 </snapshotRepository>
404 <site>
405 <id>ecomp-site</id>
406 <url>dav:${nexusproxy}${sitePath}</url>
407 </site>
408 </distributionManagement>
IanHowell3901cf82018-04-03 11:24:27 -0500409
410</project>