blob: cdeac0ccac722aa91761a47b43209cee4e032453 [file] [log] [blame]
Instrumental7e97d0c2018-10-03 08:59:30 -05001<!--* ============LICENSE_START====================================================
2 * ===========================================================================
3 * org.onap.aaf
4 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
5 * ===========================================================================
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 * ============LICENSE_END====================================================
18 * -->
Instrumental9f52db12018-08-31 09:53:21 -050019<project xmlns="http://maven.apache.org/POM/4.0.0"
Instrumental7e97d0c2018-10-03 08:59:30 -050020 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22 <modelVersion>4.0.0</modelVersion>
23 <groupId>org.onap.aaf.authz</groupId>
24 <artifactId>parent</artifactId>
Instrumental4d0a0452019-11-14 12:14:16 -060025 <version>2.1.17-SNAPSHOT</version>
Instrumental7e97d0c2018-10-03 08:59:30 -050026 <name>aaf-authz</name>
27 <packaging>pom</packaging>
IanHowell3901cf82018-04-03 11:24:27 -050028
Instrumental7e97d0c2018-10-03 08:59:30 -050029 <parent>
30 <groupId>org.onap.oparent</groupId>
31 <artifactId>oparent</artifactId>
Instrumentalbe1edcb2020-01-24 14:47:48 -060032 <!-- Official Released Version
Instrumental0a15ed82020-01-28 15:54:01 -060033 <version>2.1.0</version>
Instrumental4d0a0452019-11-14 12:14:16 -060034
35 Frankfurt working Version
Instrumentalbe1edcb2020-01-24 14:47:48 -060036 -->
Instrumental0a15ed82020-01-28 15:54:01 -060037 <version>3.0.0-SNAPSHOT</version>
Instrumental7e97d0c2018-10-03 08:59:30 -050038 </parent>
IanHowell3901cf82018-04-03 11:24:27 -050039
Instrumental7e97d0c2018-10-03 08:59:30 -050040 <properties>
41 <nexusproxy>https://nexus.onap.org</nexusproxy>
42 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
43 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
44 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
45 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
46 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
IanHowell3901cf82018-04-03 11:24:27 -050047
Instrumental7e97d0c2018-10-03 08:59:30 -050048 <maven.test.failure.ignore>false</maven.test.failure.ignore>
Instrumental7e97d0c2018-10-03 08:59:30 -050049 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
50 below -->
51 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
52 <nexusproxy>https://nexus.onap.org</nexusproxy>
53 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
54 <powermock.version>1.5.1</powermock.version>
55 <mockito.version>1.9.5</mockito.version>
56 <project.interfaceVersion>${project.version}</project.interfaceVersion>
57 <project.jettyVersion>9.4.12.v20180830</project.jettyVersion>
Instrumental0a15ed82020-01-28 15:54:01 -060058 <!--
59 This version requires changes in how to start Jetty
60 <project.jettyVersion>9.4.26.v20200117</project.jettyVersion>
61 -->
Instrumental7e97d0c2018-10-03 08:59:30 -050062 <project.cassVersion>3.6.0</project.cassVersion>
Instrumental4d0a0452019-11-14 12:14:16 -060063 <project.jaxbVersion>2.3.1</project.jaxbVersion>
64 <project.glassfishJaxbVersion>3.0-b71</project.glassfishJaxbVersion>
Instrumental7e97d0c2018-10-03 08:59:30 -050065 </properties>
66 <build>
67 <plugins>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-deploy-plugin</artifactId>
71 <configuration>
Instrumentale9ae0482019-08-02 14:46:27 -050072 <skip>true</skip>
Instrumental7e97d0c2018-10-03 08:59:30 -050073 </configuration>
74 </plugin>
75 <plugin>
Instrumental7e97d0c2018-10-03 08:59:30 -050076 <groupId>org.sonarsource.scanner.maven</groupId>
77 <artifactId>sonar-maven-plugin</artifactId>
78 </plugin>
79 <plugin>
80 <groupId>org.jacoco</groupId>
81 <artifactId>jacoco-maven-plugin</artifactId>
82 <configuration>
83 <excludes>
84 <exclude>**/gen/**</exclude>
85 <exclude>**/generated-sources/**</exclude>
86 <exclude>**/yang-gen/**</exclude>
87 <exclude>**/pax/**</exclude>
88 </excludes>
89 </configuration>
90 <executions>
91 <execution>
92 <id>pre-unit-test</id>
93 <goals>
94 <goal>prepare-agent</goal>
95 </goals>
96 <configuration>
97 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
98 <propertyName>surefireArgLine</propertyName>
99 </configuration>
100 </execution>
101 <execution>
102 <id>post-unit-test</id>
103 <phase>test</phase>
104 <goals>
105 <goal>report</goal>
106 </goals>
107 <configuration>
108 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
109 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
110 </configuration>
111 </execution>
112 <execution>
113 <id>pre-integration-test</id>
114 <phase>pre-integration-test</phase>
115 <goals>
116 <goal>prepare-agent</goal>
117 </goals>
118 <configuration>
119 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
120 <propertyName>failsafeArgLine</propertyName>
121 </configuration>
122 </execution>
123 <execution>
124 <id>post-integration-test</id>
125 <phase>post-integration-test</phase>
126 <goals>
127 <goal>report</goal>
128 </goals>
129 <configuration>
130 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
131 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
132 </configuration>
133 </execution>
134 </executions>
135 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500136
Instrumentale9ae0482019-08-02 14:46:27 -0500137
Instrumental7e97d0c2018-10-03 08:59:30 -0500138 </plugins>
139 </build>
140 <modules>
141 <module>auth-client</module>
142 <module>misc</module>
143 <module>cadi</module>
144 <module>auth</module>
145 </modules>
Sai Gandhame01703c2018-03-26 22:57:09 +0000146
Instrumental7e97d0c2018-10-03 08:59:30 -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>
Instrumental9f52db12018-08-31 09:53:21 -0500154
Instrumental7e97d0c2018-10-03 08:59:30 -0500155 <dependency>
156 <groupId>org.onap.aaf.authz</groupId>
157 <artifactId>aaf-misc-log4j</artifactId>
158 <version>${project.version}</version>
159 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500160
Instrumental7e97d0c2018-10-03 08:59:30 -0500161 <dependency>
162 <groupId>org.onap.aaf.authz</groupId>
163 <artifactId>aaf-misc-rosetta</artifactId>
164 <version>${project.version}</version>
165 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500166
Instrumental7e97d0c2018-10-03 08:59:30 -0500167 <dependency>
168 <groupId>org.onap.aaf.authz</groupId>
169 <artifactId>aaf-misc-xgen</artifactId>
170 <version>${project.version}</version>
171 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500172
Instrumental7e97d0c2018-10-03 08:59:30 -0500173 <dependency>
174 <groupId>org.onap.aaf.authz</groupId>
175 <artifactId>aaf-auth-client</artifactId>
176 <version>${project.version}</version>
177 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500178
Instrumental7e97d0c2018-10-03 08:59:30 -0500179 <dependency>
180 <groupId>org.onap.aaf.authz</groupId>
181 <artifactId>aaf-auth-core</artifactId>
182 <version>${project.version}</version>
183 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500184
Instrumental7e97d0c2018-10-03 08:59:30 -0500185 <dependency>
186 <groupId>org.onap.aaf.authz</groupId>
187 <artifactId>aaf-auth-cass</artifactId>
188 <version>${project.version}</version>
189 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500190
Instrumental7e97d0c2018-10-03 08:59:30 -0500191 <dependency>
192 <groupId>org.onap.aaf.authz</groupId>
193 <artifactId>aaf-auth-cmd</artifactId>
194 <version>${project.version}</version>
195 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500196
Instrumental7e97d0c2018-10-03 08:59:30 -0500197 <dependency>
198 <groupId>org.onap.aaf.authz</groupId>
199 <artifactId>aaf-auth-oauth</artifactId>
200 <version>${project.version}</version>
201 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500202
Instrumental7e97d0c2018-10-03 08:59:30 -0500203 <dependency>
204 <groupId>org.onap.aaf.authz</groupId>
205 <artifactId>aaf-auth-deforg</artifactId>
206 <version>${project.version}</version>
207 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500208
Instrumental7e97d0c2018-10-03 08:59:30 -0500209 <dependency>
210 <groupId>org.onap.aaf.authz</groupId>
211 <artifactId>aaf-cadi-core</artifactId>
212 <version>${project.version}</version>
213 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500214
Instrumental7e97d0c2018-10-03 08:59:30 -0500215 <dependency>
216 <groupId>org.onap.aaf.authz</groupId>
217 <artifactId>aaf-cadi-client</artifactId>
218 <version>${project.version}</version>
219 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500220
Instrumental7e97d0c2018-10-03 08:59:30 -0500221 <dependency>
222 <groupId>org.onap.aaf.authz</groupId>
223 <artifactId>aaf-cadi-aaf</artifactId>
224 <version>${project.version}</version>
225 <exclusions>
226 <exclusion>
227 <groupId>org.apache.cassandra</groupId>
228 <artifactId>cassandra-all</artifactId>
229 </exclusion>
230 </exclusions>
231 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500232
Instrumental7e97d0c2018-10-03 08:59:30 -0500233 <dependency>
234 <groupId>org.onap.aaf.authz</groupId>
235 <artifactId>aaf-cadi-jetty</artifactId>
236 <version>${project.version}</version>
237 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500238
Instrumental7e97d0c2018-10-03 08:59:30 -0500239 <dependency>
240 <groupId>org.onap.aaf.authz</groupId>
241 <artifactId>aaf-cadi-cass</artifactId>
242 <version>${project.version}</version>
Instrumentale9ae0482019-08-02 14:46:27 -0500243 </dependency>
244 <dependency>
Instrumental7e97d0c2018-10-03 08:59:30 -0500245 <groupId>javax.servlet</groupId>
246 <artifactId>javax.servlet-api</artifactId>
247 <version>3.0.1</version>
248 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500249
Instrumental0a15ed82020-01-28 15:54:01 -0600250 <!-- JettyVersion is partly covered in "OParent" dependency> -->
251 <dependency>
252 <groupId>org.eclipse.jetty</groupId>
253 <artifactId>jetty-servlet</artifactId>
254 <version>${project.jettyVersion}</version>
255 </dependency>
256 <dependency>
257 <groupId>org.eclipse.jetty</groupId>
258 <artifactId>jetty-server</artifactId>
259 <version>${project.jettyVersion}</version>
260 </dependency>
261 <dependency>
262 <groupId>org.eclipse.jetty</groupId>
263 <artifactId>jetty-http</artifactId>
264 <version>${project.jettyVersion}</version>
265 </dependency>
266 <dependency>
267 <groupId>org.eclipse.jetty</groupId>
268 <artifactId>jetty-io</artifactId>
269 <version>${project.jettyVersion}</version>
270 </dependency>
271 <dependency>
272 <groupId>org.eclipse.jetty</groupId>
273 <artifactId>jetty-security</artifactId>
274 <version>${project.jettyVersion}</version>
275 </dependency>
276 <dependency>
277 <groupId>org.eclipse.jetty</groupId>
278 <artifactId>jetty-util</artifactId>
279 <version>${project.jettyVersion}</version>
280 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500281
Instrumental7e97d0c2018-10-03 08:59:30 -0500282 <dependency>
283 <groupId>org.slf4j</groupId>
284 <artifactId>slf4j-api</artifactId>
285 <version>1.7.5</version>
286 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500287
Instrumental7e97d0c2018-10-03 08:59:30 -0500288 <dependency>
289 <groupId>com.datastax.cassandra</groupId>
290 <artifactId>cassandra-all</artifactId>
291 <version>${project.cassVersion}</version>
292 <exclusions>
293 <exclusion>
294 <groupId>org.slf4j</groupId>
295 <artifactId>slf4j-log4j12</artifactId>
296 </exclusion>
297 <exclusion>
298 <groupId>log4j</groupId>
299 <artifactId>log4j</artifactId>
300 </exclusion>
301 </exclusions>
302 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500303
Instrumental7e97d0c2018-10-03 08:59:30 -0500304 <dependency>
305 <groupId>com.datastax.cassandra</groupId>
306 <artifactId>cassandra-driver-core</artifactId>
307 <version>${project.cassVersion}</version>
308 <exclusions>
309 <exclusion>
310 <groupId>org.slf4j</groupId>
311 <artifactId>slf4j-log4j12</artifactId>
312 </exclusion>
313 <exclusion>
314 <groupId>log4j</groupId>
315 <artifactId>log4j</artifactId>
316 </exclusion>
317 <exclusion>
318 <groupId>com.google.guava</groupId>
319 <artifactId>guava</artifactId>
320 </exclusion>
321 </exclusions>
322 </dependency>
323 <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
324 <dependency>
325 <groupId>io.netty</groupId>
326 <artifactId>netty-handler</artifactId>
327 <version>${project.nettyVersion}</version>
328 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500329
Instrumental7e97d0c2018-10-03 08:59:30 -0500330 <dependency>
331 <groupId>org.slf4j</groupId>
332 <artifactId>slf4j-log4j12</artifactId>
333 <version>1.7.5</version>
334 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500335
Instrumental7e97d0c2018-10-03 08:59:30 -0500336 <dependency>
337 <groupId>javax.mail</groupId>
338 <artifactId>mail</artifactId>
339 <version>1.4.7</version>
340 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500341
Instrumental7e97d0c2018-10-03 08:59:30 -0500342 <dependency>
343 <groupId>org.mockito</groupId>
344 <artifactId>mockito-all</artifactId>
345 <version>${mockito.version}</version>
346 <scope>test</scope>
347 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500348
Instrumental7e97d0c2018-10-03 08:59:30 -0500349 <dependency>
350 <groupId>org.powermock</groupId>
351 <artifactId>powermock-module-junit4</artifactId>
352 <version>${powermock.version}</version>
353 <scope>test</scope>
354 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500355
Instrumental7e97d0c2018-10-03 08:59:30 -0500356 <dependency>
357 <groupId>org.powermock</groupId>
358 <artifactId>powermock-api-mockito</artifactId>
359 <version>${powermock.version}</version>
360 <scope>test</scope>
361 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500362
Instrumental7e97d0c2018-10-03 08:59:30 -0500363 <dependency>
364 <groupId>log4j</groupId>
365 <artifactId>log4j</artifactId>
366 <version>1.2.17</version>
367 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500368
Instrumental7e97d0c2018-10-03 08:59:30 -0500369 <dependency>
370 <groupId>junit</groupId>
371 <artifactId>junit</artifactId>
372 <version>4.10</version>
373 <scope>test</scope>
374 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500375
Instrumental4d0a0452019-11-14 12:14:16 -0600376 <!-- Javax removed as of JDK 9 -->
Instrumental0a15ed82020-01-28 15:54:01 -0600377 <!-- Annotation MAY not be needed -->
378 <dependency>
379 <groupId>javax.annotation</groupId>
380 <artifactId>javax.annotation-api</artifactId>
381 <version>1.3.2</version>
382 </dependency>
Instrumental4d0a0452019-11-14 12:14:16 -0600383 <dependency>
384 <groupId>javax.xml.bind</groupId>
385 <artifactId>jaxb-api</artifactId>
386 <version>${project.jaxbVersion}</version>
387 </dependency>
388 <dependency>
389 <groupId>org.glassfish.jaxb</groupId>
390 <artifactId>jaxb-xjc</artifactId>
391 <version>${project.jaxbVersion}</version>
392 </dependency>
393 <dependency>
394 <groupId>org.glassfish.jaxb</groupId>
395 <artifactId>jaxb-runtime</artifactId>
396 <version>${project.jaxbVersion}</version>
397 </dependency>
Instrumental0a15ed82020-01-28 15:54:01 -0600398 <!--
399 <dependency>
400 <groupId>com.sun.xml.bind</groupId>
401 <artifactId>jaxb-impl</artifactId>
402 <version>2.2.11</version>
403 </dependency>
404 <dependency>
405 <groupId>com.sun.xml.bind</groupId>
406 <artifactId>jaxb-core</artifactId>
407 <version>2.2.11</version>
408 </dependency>
409 -->
Instrumental7e97d0c2018-10-03 08:59:30 -0500410 </dependencies>
411 </dependencyManagement>
Instrumental9f52db12018-08-31 09:53:21 -0500412
Instrumental7e97d0c2018-10-03 08:59:30 -0500413 <distributionManagement>
414 <repository>
415 <id>ecomp-releases</id>
416 <name>AAF Release Repository</name>
417 <url>${nexusproxy}${releaseNexusPath}</url>
418 </repository>
419 <snapshotRepository>
420 <id>ecomp-snapshots</id>
421 <name>AAF Snapshot Repository</name>
422 <url>${nexusproxy}${snapshotNexusPath}</url>
423 </snapshotRepository>
424 <site>
425 <id>ecomp-site</id>
426 <url>dav:${nexusproxy}${sitePath}</url>
427 </site>
428 </distributionManagement>
Instrumental2e84bc92019-08-02 15:54:29 -0500429
430 <profiles>
431 <profile>
432 <id>build-docker</id>
433 <build>
434 <plugins>
435 <plugin>
436 <groupId>org.codehaus.mojo</groupId>
437 <artifactId>exec-maven-plugin</artifactId>
438 <version>1.6.0</version>
439 <executions>
440 <execution>
441 <id>Docker Build</id>
442 <goals>
443 <goal>exec</goal>
444 </goals>
445 </execution>
446 </executions>
447 <configuration>
448 <skip>true</skip>
449 <executable>bash</executable>
450 <commandlineArgs>echo "No Docker Here"</commandlineArgs>
451 </configuration>
452 </plugin>
453 <plugin>
454 <groupId>org.sonarsource.scanner.maven</groupId>
455 <artifactId>sonar-maven-plugin</artifactId>
456 <configuration>
457 <skip>true</skip>
458 </configuration>
459 </plugin>
460 </plugins>
461 </build>
462
463 <modules>
Instrumental69549ce2019-08-05 14:28:17 -0500464 <module>auth-client</module>
465 <module>misc</module>
466 <module>cadi</module>
467 <module>auth</module>
Instrumental2e84bc92019-08-02 15:54:29 -0500468 <module>auth/docker</module>
469 </modules>
470 </profile>
471 </profiles>
IanHowell3901cf82018-04-03 11:24:27 -0500472</project>