blob: 976de89d24b3a285d081cc7d1795e551318df743 [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>
Instrumental54f1bd22019-08-06 17:34:04 -050025 <version>2.1.16-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>
Instrumental7cd09772019-06-03 13:28:19 -050032 <version>2.0.0</version>
Instrumental7e97d0c2018-10-03 08:59:30 -050033 </parent>
IanHowell3901cf82018-04-03 11:24:27 -050034
Instrumental7e97d0c2018-10-03 08:59:30 -050035 <properties>
36 <nexusproxy>https://nexus.onap.org</nexusproxy>
37 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
38 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
39 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
40 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
41 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
IanHowell3901cf82018-04-03 11:24:27 -050042
Instrumental7e97d0c2018-10-03 08:59:30 -050043 <maven.test.failure.ignore>false</maven.test.failure.ignore>
Instrumental7e97d0c2018-10-03 08:59:30 -050044 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
45 below -->
46 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47 <nexusproxy>https://nexus.onap.org</nexusproxy>
48 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
49 <powermock.version>1.5.1</powermock.version>
50 <mockito.version>1.9.5</mockito.version>
51 <project.interfaceVersion>${project.version}</project.interfaceVersion>
52 <project.jettyVersion>9.4.12.v20180830</project.jettyVersion>
53 <project.cassVersion>3.6.0</project.cassVersion>
Instrumental9f52db12018-08-31 09:53:21 -050054
Instrumental7e97d0c2018-10-03 08:59:30 -050055 </properties>
56 <build>
57 <plugins>
58 <plugin>
59 <groupId>org.apache.maven.plugins</groupId>
60 <artifactId>maven-deploy-plugin</artifactId>
61 <configuration>
Instrumentale9ae0482019-08-02 14:46:27 -050062 <skip>true</skip>
Instrumental7e97d0c2018-10-03 08:59:30 -050063 </configuration>
64 </plugin>
65 <plugin>
Instrumental7e97d0c2018-10-03 08:59:30 -050066 <groupId>org.sonarsource.scanner.maven</groupId>
67 <artifactId>sonar-maven-plugin</artifactId>
68 </plugin>
69 <plugin>
70 <groupId>org.jacoco</groupId>
71 <artifactId>jacoco-maven-plugin</artifactId>
72 <configuration>
73 <excludes>
74 <exclude>**/gen/**</exclude>
75 <exclude>**/generated-sources/**</exclude>
76 <exclude>**/yang-gen/**</exclude>
77 <exclude>**/pax/**</exclude>
78 </excludes>
79 </configuration>
80 <executions>
81 <execution>
82 <id>pre-unit-test</id>
83 <goals>
84 <goal>prepare-agent</goal>
85 </goals>
86 <configuration>
87 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
88 <propertyName>surefireArgLine</propertyName>
89 </configuration>
90 </execution>
91 <execution>
92 <id>post-unit-test</id>
93 <phase>test</phase>
94 <goals>
95 <goal>report</goal>
96 </goals>
97 <configuration>
98 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
99 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
100 </configuration>
101 </execution>
102 <execution>
103 <id>pre-integration-test</id>
104 <phase>pre-integration-test</phase>
105 <goals>
106 <goal>prepare-agent</goal>
107 </goals>
108 <configuration>
109 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
110 <propertyName>failsafeArgLine</propertyName>
111 </configuration>
112 </execution>
113 <execution>
114 <id>post-integration-test</id>
115 <phase>post-integration-test</phase>
116 <goals>
117 <goal>report</goal>
118 </goals>
119 <configuration>
120 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
121 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
122 </configuration>
123 </execution>
124 </executions>
125 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500126
Instrumentale9ae0482019-08-02 14:46:27 -0500127
Instrumental7e97d0c2018-10-03 08:59:30 -0500128 </plugins>
129 </build>
130 <modules>
131 <module>auth-client</module>
132 <module>misc</module>
133 <module>cadi</module>
134 <module>auth</module>
135 </modules>
Sai Gandhame01703c2018-03-26 22:57:09 +0000136
Instrumental7e97d0c2018-10-03 08:59:30 -0500137 <dependencyManagement>
138 <dependencies>
139 <dependency>
140 <groupId>org.onap.aaf.authz</groupId>
141 <artifactId>aaf-misc-env</artifactId>
142 <version>${project.version}</version>
143 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500144
Instrumental7e97d0c2018-10-03 08:59:30 -0500145 <dependency>
146 <groupId>org.onap.aaf.authz</groupId>
147 <artifactId>aaf-misc-log4j</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-rosetta</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-xgen</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-auth-client</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-core</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-cass</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-cmd</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-oauth</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-deforg</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-cadi-core</artifactId>
202 <version>${project.version}</version>
203 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500204
Instrumental7e97d0c2018-10-03 08:59:30 -0500205 <dependency>
206 <groupId>org.onap.aaf.authz</groupId>
207 <artifactId>aaf-cadi-client</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-aaf</artifactId>
214 <version>${project.version}</version>
215 <exclusions>
216 <exclusion>
217 <groupId>org.apache.cassandra</groupId>
218 <artifactId>cassandra-all</artifactId>
219 </exclusion>
220 </exclusions>
221 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500222
Instrumental7e97d0c2018-10-03 08:59:30 -0500223 <dependency>
224 <groupId>org.onap.aaf.authz</groupId>
225 <artifactId>aaf-cadi-jetty</artifactId>
226 <version>${project.version}</version>
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-cass</artifactId>
232 <version>${project.version}</version>
Instrumentale9ae0482019-08-02 14:46:27 -0500233 </dependency>
234 <dependency>
Instrumental7e97d0c2018-10-03 08:59:30 -0500235 <groupId>javax.servlet</groupId>
236 <artifactId>javax.servlet-api</artifactId>
237 <version>3.0.1</version>
238 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500239
Instrumentale9ae0482019-08-02 14:46:27 -0500240 <!-- JettyVersion is partly covered in "OParent" dependency> <groupId>org.eclipse.jetty</groupId>
241 <artifactId>jetty-servlet</artifactId> <version>${project.jettyVersion}</version>
242 </dependency><dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId>
243 <version>${project.jettyVersion}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId>
244 <artifactId>jetty-http</artifactId> <version>${project.jettyVersion}</version>
245 </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-io</artifactId>
246 <version>${project.jettyVersion}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId>
247 <artifactId>jetty-security</artifactId> <version>${project.jettyVersion}</version>
248 </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-util</artifactId>
249 <version>${project.jettyVersion}</version> </dependency> -->
Instrumental9f52db12018-08-31 09:53:21 -0500250
Instrumental7e97d0c2018-10-03 08:59:30 -0500251 <dependency>
252 <groupId>org.slf4j</groupId>
253 <artifactId>slf4j-api</artifactId>
254 <version>1.7.5</version>
255 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500256
Instrumental7e97d0c2018-10-03 08:59:30 -0500257 <dependency>
258 <groupId>com.datastax.cassandra</groupId>
259 <artifactId>cassandra-all</artifactId>
260 <version>${project.cassVersion}</version>
261 <exclusions>
262 <exclusion>
263 <groupId>org.slf4j</groupId>
264 <artifactId>slf4j-log4j12</artifactId>
265 </exclusion>
266 <exclusion>
267 <groupId>log4j</groupId>
268 <artifactId>log4j</artifactId>
269 </exclusion>
270 </exclusions>
271 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500272
Instrumental7e97d0c2018-10-03 08:59:30 -0500273 <dependency>
274 <groupId>com.datastax.cassandra</groupId>
275 <artifactId>cassandra-driver-core</artifactId>
276 <version>${project.cassVersion}</version>
277 <exclusions>
278 <exclusion>
279 <groupId>org.slf4j</groupId>
280 <artifactId>slf4j-log4j12</artifactId>
281 </exclusion>
282 <exclusion>
283 <groupId>log4j</groupId>
284 <artifactId>log4j</artifactId>
285 </exclusion>
286 <exclusion>
287 <groupId>com.google.guava</groupId>
288 <artifactId>guava</artifactId>
289 </exclusion>
290 </exclusions>
291 </dependency>
292 <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
293 <dependency>
294 <groupId>io.netty</groupId>
295 <artifactId>netty-handler</artifactId>
296 <version>${project.nettyVersion}</version>
297 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500298
Instrumental7e97d0c2018-10-03 08:59:30 -0500299 <dependency>
300 <groupId>org.slf4j</groupId>
301 <artifactId>slf4j-log4j12</artifactId>
302 <version>1.7.5</version>
303 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500304
Instrumental7e97d0c2018-10-03 08:59:30 -0500305 <dependency>
306 <groupId>javax.mail</groupId>
307 <artifactId>mail</artifactId>
308 <version>1.4.7</version>
309 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500310
Instrumental7e97d0c2018-10-03 08:59:30 -0500311 <dependency>
312 <groupId>org.mockito</groupId>
313 <artifactId>mockito-all</artifactId>
314 <version>${mockito.version}</version>
315 <scope>test</scope>
316 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500317
Instrumental7e97d0c2018-10-03 08:59:30 -0500318 <dependency>
319 <groupId>org.powermock</groupId>
320 <artifactId>powermock-module-junit4</artifactId>
321 <version>${powermock.version}</version>
322 <scope>test</scope>
323 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500324
Instrumental7e97d0c2018-10-03 08:59:30 -0500325 <dependency>
326 <groupId>org.powermock</groupId>
327 <artifactId>powermock-api-mockito</artifactId>
328 <version>${powermock.version}</version>
329 <scope>test</scope>
330 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500331
Instrumental7e97d0c2018-10-03 08:59:30 -0500332 <dependency>
333 <groupId>log4j</groupId>
334 <artifactId>log4j</artifactId>
335 <version>1.2.17</version>
336 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500337
Instrumental7e97d0c2018-10-03 08:59:30 -0500338 <dependency>
339 <groupId>junit</groupId>
340 <artifactId>junit</artifactId>
341 <version>4.10</version>
342 <scope>test</scope>
343 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500344
Instrumental7e97d0c2018-10-03 08:59:30 -0500345 </dependencies>
346 </dependencyManagement>
Instrumental9f52db12018-08-31 09:53:21 -0500347
Instrumental7e97d0c2018-10-03 08:59:30 -0500348 <distributionManagement>
349 <repository>
350 <id>ecomp-releases</id>
351 <name>AAF Release Repository</name>
352 <url>${nexusproxy}${releaseNexusPath}</url>
353 </repository>
354 <snapshotRepository>
355 <id>ecomp-snapshots</id>
356 <name>AAF Snapshot Repository</name>
357 <url>${nexusproxy}${snapshotNexusPath}</url>
358 </snapshotRepository>
359 <site>
360 <id>ecomp-site</id>
361 <url>dav:${nexusproxy}${sitePath}</url>
362 </site>
363 </distributionManagement>
Instrumental2e84bc92019-08-02 15:54:29 -0500364
365 <profiles>
366 <profile>
367 <id>build-docker</id>
368 <build>
369 <plugins>
370 <plugin>
371 <groupId>org.codehaus.mojo</groupId>
372 <artifactId>exec-maven-plugin</artifactId>
373 <version>1.6.0</version>
374 <executions>
375 <execution>
376 <id>Docker Build</id>
377 <goals>
378 <goal>exec</goal>
379 </goals>
380 </execution>
381 </executions>
382 <configuration>
383 <skip>true</skip>
384 <executable>bash</executable>
385 <commandlineArgs>echo "No Docker Here"</commandlineArgs>
386 </configuration>
387 </plugin>
388 <plugin>
389 <groupId>org.sonarsource.scanner.maven</groupId>
390 <artifactId>sonar-maven-plugin</artifactId>
391 <configuration>
392 <skip>true</skip>
393 </configuration>
394 </plugin>
395 </plugins>
396 </build>
397
398 <modules>
Instrumental69549ce2019-08-05 14:28:17 -0500399 <module>auth-client</module>
400 <module>misc</module>
401 <module>cadi</module>
402 <module>auth</module>
Instrumental2e84bc92019-08-02 15:54:29 -0500403 <module>auth/docker</module>
404 </modules>
405 </profile>
406 </profiles>
IanHowell3901cf82018-04-03 11:24:27 -0500407</project>