blob: a75307086e3553237bdf4ceea0e8ef3333ae8d69 [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>
Instrumental4d0a0452019-11-14 12:14:16 -060032 <!-- Official Released Version
Instrumental4872ec02019-09-10 06:52:52 -050033 <version>2.1.0</version>
Instrumental4d0a0452019-11-14 12:14:16 -060034
35 Frankfurt working Version
36 -->
37 <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>
58 <project.cassVersion>3.6.0</project.cassVersion>
Instrumental4d0a0452019-11-14 12:14:16 -060059 <project.jaxbVersion>2.3.1</project.jaxbVersion>
60 <project.glassfishJaxbVersion>3.0-b71</project.glassfishJaxbVersion>
Instrumental7e97d0c2018-10-03 08:59:30 -050061 </properties>
62 <build>
63 <plugins>
64 <plugin>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-deploy-plugin</artifactId>
67 <configuration>
Instrumentale9ae0482019-08-02 14:46:27 -050068 <skip>true</skip>
Instrumental7e97d0c2018-10-03 08:59:30 -050069 </configuration>
70 </plugin>
71 <plugin>
Instrumental7e97d0c2018-10-03 08:59:30 -050072 <groupId>org.sonarsource.scanner.maven</groupId>
73 <artifactId>sonar-maven-plugin</artifactId>
74 </plugin>
75 <plugin>
76 <groupId>org.jacoco</groupId>
77 <artifactId>jacoco-maven-plugin</artifactId>
78 <configuration>
79 <excludes>
80 <exclude>**/gen/**</exclude>
81 <exclude>**/generated-sources/**</exclude>
82 <exclude>**/yang-gen/**</exclude>
83 <exclude>**/pax/**</exclude>
84 </excludes>
85 </configuration>
86 <executions>
87 <execution>
88 <id>pre-unit-test</id>
89 <goals>
90 <goal>prepare-agent</goal>
91 </goals>
92 <configuration>
93 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
94 <propertyName>surefireArgLine</propertyName>
95 </configuration>
96 </execution>
97 <execution>
98 <id>post-unit-test</id>
99 <phase>test</phase>
100 <goals>
101 <goal>report</goal>
102 </goals>
103 <configuration>
104 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
105 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
106 </configuration>
107 </execution>
108 <execution>
109 <id>pre-integration-test</id>
110 <phase>pre-integration-test</phase>
111 <goals>
112 <goal>prepare-agent</goal>
113 </goals>
114 <configuration>
115 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
116 <propertyName>failsafeArgLine</propertyName>
117 </configuration>
118 </execution>
119 <execution>
120 <id>post-integration-test</id>
121 <phase>post-integration-test</phase>
122 <goals>
123 <goal>report</goal>
124 </goals>
125 <configuration>
126 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
127 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
128 </configuration>
129 </execution>
130 </executions>
131 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500132
Instrumentale9ae0482019-08-02 14:46:27 -0500133
Instrumental7e97d0c2018-10-03 08:59:30 -0500134 </plugins>
135 </build>
136 <modules>
137 <module>auth-client</module>
138 <module>misc</module>
139 <module>cadi</module>
140 <module>auth</module>
141 </modules>
Sai Gandhame01703c2018-03-26 22:57:09 +0000142
Instrumental7e97d0c2018-10-03 08:59:30 -0500143 <dependencyManagement>
144 <dependencies>
145 <dependency>
146 <groupId>org.onap.aaf.authz</groupId>
147 <artifactId>aaf-misc-env</artifactId>
148 <version>${project.version}</version>
149 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500150
Instrumental7e97d0c2018-10-03 08:59:30 -0500151 <dependency>
152 <groupId>org.onap.aaf.authz</groupId>
153 <artifactId>aaf-misc-log4j</artifactId>
154 <version>${project.version}</version>
155 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500156
Instrumental7e97d0c2018-10-03 08:59:30 -0500157 <dependency>
158 <groupId>org.onap.aaf.authz</groupId>
159 <artifactId>aaf-misc-rosetta</artifactId>
160 <version>${project.version}</version>
161 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500162
Instrumental7e97d0c2018-10-03 08:59:30 -0500163 <dependency>
164 <groupId>org.onap.aaf.authz</groupId>
165 <artifactId>aaf-misc-xgen</artifactId>
166 <version>${project.version}</version>
167 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500168
Instrumental7e97d0c2018-10-03 08:59:30 -0500169 <dependency>
170 <groupId>org.onap.aaf.authz</groupId>
171 <artifactId>aaf-auth-client</artifactId>
172 <version>${project.version}</version>
173 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500174
Instrumental7e97d0c2018-10-03 08:59:30 -0500175 <dependency>
176 <groupId>org.onap.aaf.authz</groupId>
177 <artifactId>aaf-auth-core</artifactId>
178 <version>${project.version}</version>
179 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500180
Instrumental7e97d0c2018-10-03 08:59:30 -0500181 <dependency>
182 <groupId>org.onap.aaf.authz</groupId>
183 <artifactId>aaf-auth-cass</artifactId>
184 <version>${project.version}</version>
185 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500186
Instrumental7e97d0c2018-10-03 08:59:30 -0500187 <dependency>
188 <groupId>org.onap.aaf.authz</groupId>
189 <artifactId>aaf-auth-cmd</artifactId>
190 <version>${project.version}</version>
191 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500192
Instrumental7e97d0c2018-10-03 08:59:30 -0500193 <dependency>
194 <groupId>org.onap.aaf.authz</groupId>
195 <artifactId>aaf-auth-oauth</artifactId>
196 <version>${project.version}</version>
197 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500198
Instrumental7e97d0c2018-10-03 08:59:30 -0500199 <dependency>
200 <groupId>org.onap.aaf.authz</groupId>
201 <artifactId>aaf-auth-deforg</artifactId>
202 <version>${project.version}</version>
203 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500204
Instrumental7e97d0c2018-10-03 08:59:30 -0500205 <dependency>
206 <groupId>org.onap.aaf.authz</groupId>
207 <artifactId>aaf-cadi-core</artifactId>
208 <version>${project.version}</version>
209 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500210
Instrumental7e97d0c2018-10-03 08:59:30 -0500211 <dependency>
212 <groupId>org.onap.aaf.authz</groupId>
213 <artifactId>aaf-cadi-client</artifactId>
214 <version>${project.version}</version>
215 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500216
Instrumental7e97d0c2018-10-03 08:59:30 -0500217 <dependency>
218 <groupId>org.onap.aaf.authz</groupId>
219 <artifactId>aaf-cadi-aaf</artifactId>
220 <version>${project.version}</version>
221 <exclusions>
222 <exclusion>
223 <groupId>org.apache.cassandra</groupId>
224 <artifactId>cassandra-all</artifactId>
225 </exclusion>
226 </exclusions>
227 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500228
Instrumental7e97d0c2018-10-03 08:59:30 -0500229 <dependency>
230 <groupId>org.onap.aaf.authz</groupId>
231 <artifactId>aaf-cadi-jetty</artifactId>
232 <version>${project.version}</version>
233 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500234
Instrumental7e97d0c2018-10-03 08:59:30 -0500235 <dependency>
236 <groupId>org.onap.aaf.authz</groupId>
237 <artifactId>aaf-cadi-cass</artifactId>
238 <version>${project.version}</version>
Instrumentale9ae0482019-08-02 14:46:27 -0500239 </dependency>
240 <dependency>
Instrumental7e97d0c2018-10-03 08:59:30 -0500241 <groupId>javax.servlet</groupId>
242 <artifactId>javax.servlet-api</artifactId>
243 <version>3.0.1</version>
244 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500245
Instrumentale9ae0482019-08-02 14:46:27 -0500246 <!-- JettyVersion is partly covered in "OParent" dependency> <groupId>org.eclipse.jetty</groupId>
247 <artifactId>jetty-servlet</artifactId> <version>${project.jettyVersion}</version>
248 </dependency><dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId>
249 <version>${project.jettyVersion}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId>
250 <artifactId>jetty-http</artifactId> <version>${project.jettyVersion}</version>
251 </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-io</artifactId>
252 <version>${project.jettyVersion}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId>
253 <artifactId>jetty-security</artifactId> <version>${project.jettyVersion}</version>
254 </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-util</artifactId>
255 <version>${project.jettyVersion}</version> </dependency> -->
Instrumental9f52db12018-08-31 09:53:21 -0500256
Instrumental7e97d0c2018-10-03 08:59:30 -0500257 <dependency>
258 <groupId>org.slf4j</groupId>
259 <artifactId>slf4j-api</artifactId>
260 <version>1.7.5</version>
261 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500262
Instrumental7e97d0c2018-10-03 08:59:30 -0500263 <dependency>
264 <groupId>com.datastax.cassandra</groupId>
265 <artifactId>cassandra-all</artifactId>
266 <version>${project.cassVersion}</version>
267 <exclusions>
268 <exclusion>
269 <groupId>org.slf4j</groupId>
270 <artifactId>slf4j-log4j12</artifactId>
271 </exclusion>
272 <exclusion>
273 <groupId>log4j</groupId>
274 <artifactId>log4j</artifactId>
275 </exclusion>
276 </exclusions>
277 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500278
Instrumental7e97d0c2018-10-03 08:59:30 -0500279 <dependency>
280 <groupId>com.datastax.cassandra</groupId>
281 <artifactId>cassandra-driver-core</artifactId>
282 <version>${project.cassVersion}</version>
283 <exclusions>
284 <exclusion>
285 <groupId>org.slf4j</groupId>
286 <artifactId>slf4j-log4j12</artifactId>
287 </exclusion>
288 <exclusion>
289 <groupId>log4j</groupId>
290 <artifactId>log4j</artifactId>
291 </exclusion>
292 <exclusion>
293 <groupId>com.google.guava</groupId>
294 <artifactId>guava</artifactId>
295 </exclusion>
296 </exclusions>
297 </dependency>
298 <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
299 <dependency>
300 <groupId>io.netty</groupId>
301 <artifactId>netty-handler</artifactId>
302 <version>${project.nettyVersion}</version>
303 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500304
Instrumental7e97d0c2018-10-03 08:59:30 -0500305 <dependency>
306 <groupId>org.slf4j</groupId>
307 <artifactId>slf4j-log4j12</artifactId>
308 <version>1.7.5</version>
309 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500310
Instrumental7e97d0c2018-10-03 08:59:30 -0500311 <dependency>
312 <groupId>javax.mail</groupId>
313 <artifactId>mail</artifactId>
314 <version>1.4.7</version>
315 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500316
Instrumental7e97d0c2018-10-03 08:59:30 -0500317 <dependency>
318 <groupId>org.mockito</groupId>
319 <artifactId>mockito-all</artifactId>
320 <version>${mockito.version}</version>
321 <scope>test</scope>
322 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500323
Instrumental7e97d0c2018-10-03 08:59:30 -0500324 <dependency>
325 <groupId>org.powermock</groupId>
326 <artifactId>powermock-module-junit4</artifactId>
327 <version>${powermock.version}</version>
328 <scope>test</scope>
329 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500330
Instrumental7e97d0c2018-10-03 08:59:30 -0500331 <dependency>
332 <groupId>org.powermock</groupId>
333 <artifactId>powermock-api-mockito</artifactId>
334 <version>${powermock.version}</version>
335 <scope>test</scope>
336 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500337
Instrumental7e97d0c2018-10-03 08:59:30 -0500338 <dependency>
339 <groupId>log4j</groupId>
340 <artifactId>log4j</artifactId>
341 <version>1.2.17</version>
342 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500343
Instrumental7e97d0c2018-10-03 08:59:30 -0500344 <dependency>
345 <groupId>junit</groupId>
346 <artifactId>junit</artifactId>
347 <version>4.10</version>
348 <scope>test</scope>
349 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500350
Instrumental4d0a0452019-11-14 12:14:16 -0600351 <!-- Javax removed as of JDK 9 -->
352 <dependency>
353 <groupId>javax.xml.bind</groupId>
354 <artifactId>jaxb-api</artifactId>
355 <version>${project.jaxbVersion}</version>
356 </dependency>
357 <dependency>
358 <groupId>org.glassfish.jaxb</groupId>
359 <artifactId>jaxb-xjc</artifactId>
360 <version>${project.jaxbVersion}</version>
361 </dependency>
362 <dependency>
363 <groupId>org.glassfish.jaxb</groupId>
364 <artifactId>jaxb-runtime</artifactId>
365 <version>${project.jaxbVersion}</version>
366 </dependency>
367
Instrumental7e97d0c2018-10-03 08:59:30 -0500368 </dependencies>
369 </dependencyManagement>
Instrumental9f52db12018-08-31 09:53:21 -0500370
Instrumental7e97d0c2018-10-03 08:59:30 -0500371 <distributionManagement>
372 <repository>
373 <id>ecomp-releases</id>
374 <name>AAF Release Repository</name>
375 <url>${nexusproxy}${releaseNexusPath}</url>
376 </repository>
377 <snapshotRepository>
378 <id>ecomp-snapshots</id>
379 <name>AAF Snapshot Repository</name>
380 <url>${nexusproxy}${snapshotNexusPath}</url>
381 </snapshotRepository>
382 <site>
383 <id>ecomp-site</id>
384 <url>dav:${nexusproxy}${sitePath}</url>
385 </site>
386 </distributionManagement>
Instrumental2e84bc92019-08-02 15:54:29 -0500387
388 <profiles>
389 <profile>
390 <id>build-docker</id>
391 <build>
392 <plugins>
393 <plugin>
394 <groupId>org.codehaus.mojo</groupId>
395 <artifactId>exec-maven-plugin</artifactId>
396 <version>1.6.0</version>
397 <executions>
398 <execution>
399 <id>Docker Build</id>
400 <goals>
401 <goal>exec</goal>
402 </goals>
403 </execution>
404 </executions>
405 <configuration>
406 <skip>true</skip>
407 <executable>bash</executable>
408 <commandlineArgs>echo "No Docker Here"</commandlineArgs>
409 </configuration>
410 </plugin>
411 <plugin>
412 <groupId>org.sonarsource.scanner.maven</groupId>
413 <artifactId>sonar-maven-plugin</artifactId>
414 <configuration>
415 <skip>true</skip>
416 </configuration>
417 </plugin>
418 </plugins>
419 </build>
420
421 <modules>
Instrumental69549ce2019-08-05 14:28:17 -0500422 <module>auth-client</module>
423 <module>misc</module>
424 <module>cadi</module>
425 <module>auth</module>
Instrumental2e84bc92019-08-02 15:54:29 -0500426 <module>auth/docker</module>
427 </modules>
428 </profile>
429 </profiles>
IanHowell3901cf82018-04-03 11:24:27 -0500430</project>