blob: f3e6241626b83d41cbcbec0ac0eed43b5d9c2ab3 [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>
Gathman, Jonathan (jg1555)58c2a712019-07-17 16:07:20 -050025 <version>2.1.15-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>
44 <!-- SONAR -->
45 <jacoco.version>0.7.7.201606060606</jacoco.version>
46 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
47 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
48 <!-- Default Sonar configuration -->
49 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
50 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
51 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
52 below -->
53 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
54 <nexusproxy>https://nexus.onap.org</nexusproxy>
55 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
56 <powermock.version>1.5.1</powermock.version>
57 <mockito.version>1.9.5</mockito.version>
58 <project.interfaceVersion>${project.version}</project.interfaceVersion>
59 <project.jettyVersion>9.4.12.v20180830</project.jettyVersion>
60 <project.cassVersion>3.6.0</project.cassVersion>
Instrumental9f52db12018-08-31 09:53:21 -050061
Instrumental7e97d0c2018-10-03 08:59:30 -050062 </properties>
63 <build>
64 <plugins>
65 <plugin>
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-deploy-plugin</artifactId>
68 <configuration>
Instrumentale9ae0482019-08-02 14:46:27 -050069 <skip>true</skip>
Instrumental7e97d0c2018-10-03 08:59:30 -050070 </configuration>
71 </plugin>
72 <plugin>
Instrumental7e97d0c2018-10-03 08:59:30 -050073 <groupId>org.sonarsource.scanner.maven</groupId>
74 <artifactId>sonar-maven-plugin</artifactId>
75 </plugin>
76 <plugin>
77 <groupId>org.jacoco</groupId>
78 <artifactId>jacoco-maven-plugin</artifactId>
79 <configuration>
80 <excludes>
81 <exclude>**/gen/**</exclude>
82 <exclude>**/generated-sources/**</exclude>
83 <exclude>**/yang-gen/**</exclude>
84 <exclude>**/pax/**</exclude>
85 </excludes>
86 </configuration>
87 <executions>
88 <execution>
89 <id>pre-unit-test</id>
90 <goals>
91 <goal>prepare-agent</goal>
92 </goals>
93 <configuration>
94 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
95 <propertyName>surefireArgLine</propertyName>
96 </configuration>
97 </execution>
98 <execution>
99 <id>post-unit-test</id>
100 <phase>test</phase>
101 <goals>
102 <goal>report</goal>
103 </goals>
104 <configuration>
105 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
106 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
107 </configuration>
108 </execution>
109 <execution>
110 <id>pre-integration-test</id>
111 <phase>pre-integration-test</phase>
112 <goals>
113 <goal>prepare-agent</goal>
114 </goals>
115 <configuration>
116 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
117 <propertyName>failsafeArgLine</propertyName>
118 </configuration>
119 </execution>
120 <execution>
121 <id>post-integration-test</id>
122 <phase>post-integration-test</phase>
123 <goals>
124 <goal>report</goal>
125 </goals>
126 <configuration>
127 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
128 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
129 </configuration>
130 </execution>
131 </executions>
132 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500133
Instrumentale9ae0482019-08-02 14:46:27 -0500134
Instrumental7e97d0c2018-10-03 08:59:30 -0500135 </plugins>
136 </build>
137 <modules>
138 <module>auth-client</module>
139 <module>misc</module>
140 <module>cadi</module>
141 <module>auth</module>
142 </modules>
Sai Gandhame01703c2018-03-26 22:57:09 +0000143
Instrumental7e97d0c2018-10-03 08:59:30 -0500144 <dependencyManagement>
145 <dependencies>
146 <dependency>
147 <groupId>org.onap.aaf.authz</groupId>
148 <artifactId>aaf-misc-env</artifactId>
149 <version>${project.version}</version>
150 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500151
Instrumental7e97d0c2018-10-03 08:59:30 -0500152 <dependency>
153 <groupId>org.onap.aaf.authz</groupId>
154 <artifactId>aaf-misc-log4j</artifactId>
155 <version>${project.version}</version>
156 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500157
Instrumental7e97d0c2018-10-03 08:59:30 -0500158 <dependency>
159 <groupId>org.onap.aaf.authz</groupId>
160 <artifactId>aaf-misc-rosetta</artifactId>
161 <version>${project.version}</version>
162 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500163
Instrumental7e97d0c2018-10-03 08:59:30 -0500164 <dependency>
165 <groupId>org.onap.aaf.authz</groupId>
166 <artifactId>aaf-misc-xgen</artifactId>
167 <version>${project.version}</version>
168 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500169
Instrumental7e97d0c2018-10-03 08:59:30 -0500170 <dependency>
171 <groupId>org.onap.aaf.authz</groupId>
172 <artifactId>aaf-auth-client</artifactId>
173 <version>${project.version}</version>
174 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500175
Instrumental7e97d0c2018-10-03 08:59:30 -0500176 <dependency>
177 <groupId>org.onap.aaf.authz</groupId>
178 <artifactId>aaf-auth-core</artifactId>
179 <version>${project.version}</version>
180 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500181
Instrumental7e97d0c2018-10-03 08:59:30 -0500182 <dependency>
183 <groupId>org.onap.aaf.authz</groupId>
184 <artifactId>aaf-auth-cass</artifactId>
185 <version>${project.version}</version>
186 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500187
Instrumental7e97d0c2018-10-03 08:59:30 -0500188 <dependency>
189 <groupId>org.onap.aaf.authz</groupId>
190 <artifactId>aaf-auth-cmd</artifactId>
191 <version>${project.version}</version>
192 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500193
Instrumental7e97d0c2018-10-03 08:59:30 -0500194 <dependency>
195 <groupId>org.onap.aaf.authz</groupId>
196 <artifactId>aaf-auth-oauth</artifactId>
197 <version>${project.version}</version>
198 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500199
Instrumental7e97d0c2018-10-03 08:59:30 -0500200 <dependency>
201 <groupId>org.onap.aaf.authz</groupId>
202 <artifactId>aaf-auth-deforg</artifactId>
203 <version>${project.version}</version>
204 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500205
Instrumental7e97d0c2018-10-03 08:59:30 -0500206 <dependency>
207 <groupId>org.onap.aaf.authz</groupId>
208 <artifactId>aaf-cadi-core</artifactId>
209 <version>${project.version}</version>
210 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500211
Instrumental7e97d0c2018-10-03 08:59:30 -0500212 <dependency>
213 <groupId>org.onap.aaf.authz</groupId>
214 <artifactId>aaf-cadi-client</artifactId>
215 <version>${project.version}</version>
216 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500217
Instrumental7e97d0c2018-10-03 08:59:30 -0500218 <dependency>
219 <groupId>org.onap.aaf.authz</groupId>
220 <artifactId>aaf-cadi-aaf</artifactId>
221 <version>${project.version}</version>
222 <exclusions>
223 <exclusion>
224 <groupId>org.apache.cassandra</groupId>
225 <artifactId>cassandra-all</artifactId>
226 </exclusion>
227 </exclusions>
228 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500229
Instrumental7e97d0c2018-10-03 08:59:30 -0500230 <dependency>
231 <groupId>org.onap.aaf.authz</groupId>
232 <artifactId>aaf-cadi-jetty</artifactId>
233 <version>${project.version}</version>
234 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500235
Instrumental7e97d0c2018-10-03 08:59:30 -0500236 <dependency>
237 <groupId>org.onap.aaf.authz</groupId>
238 <artifactId>aaf-cadi-cass</artifactId>
239 <version>${project.version}</version>
Instrumentale9ae0482019-08-02 14:46:27 -0500240 </dependency>
241 <dependency>
Instrumental7e97d0c2018-10-03 08:59:30 -0500242 <groupId>javax.servlet</groupId>
243 <artifactId>javax.servlet-api</artifactId>
244 <version>3.0.1</version>
245 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500246
Instrumentale9ae0482019-08-02 14:46:27 -0500247 <!-- JettyVersion is partly covered in "OParent" dependency> <groupId>org.eclipse.jetty</groupId>
248 <artifactId>jetty-servlet</artifactId> <version>${project.jettyVersion}</version>
249 </dependency><dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId>
250 <version>${project.jettyVersion}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId>
251 <artifactId>jetty-http</artifactId> <version>${project.jettyVersion}</version>
252 </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-io</artifactId>
253 <version>${project.jettyVersion}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId>
254 <artifactId>jetty-security</artifactId> <version>${project.jettyVersion}</version>
255 </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-util</artifactId>
256 <version>${project.jettyVersion}</version> </dependency> -->
Instrumental9f52db12018-08-31 09:53:21 -0500257
Instrumental7e97d0c2018-10-03 08:59:30 -0500258 <dependency>
259 <groupId>org.slf4j</groupId>
260 <artifactId>slf4j-api</artifactId>
261 <version>1.7.5</version>
262 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500263
Instrumental7e97d0c2018-10-03 08:59:30 -0500264 <dependency>
265 <groupId>com.datastax.cassandra</groupId>
266 <artifactId>cassandra-all</artifactId>
267 <version>${project.cassVersion}</version>
268 <exclusions>
269 <exclusion>
270 <groupId>org.slf4j</groupId>
271 <artifactId>slf4j-log4j12</artifactId>
272 </exclusion>
273 <exclusion>
274 <groupId>log4j</groupId>
275 <artifactId>log4j</artifactId>
276 </exclusion>
277 </exclusions>
278 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500279
Instrumental7e97d0c2018-10-03 08:59:30 -0500280 <dependency>
281 <groupId>com.datastax.cassandra</groupId>
282 <artifactId>cassandra-driver-core</artifactId>
283 <version>${project.cassVersion}</version>
284 <exclusions>
285 <exclusion>
286 <groupId>org.slf4j</groupId>
287 <artifactId>slf4j-log4j12</artifactId>
288 </exclusion>
289 <exclusion>
290 <groupId>log4j</groupId>
291 <artifactId>log4j</artifactId>
292 </exclusion>
293 <exclusion>
294 <groupId>com.google.guava</groupId>
295 <artifactId>guava</artifactId>
296 </exclusion>
297 </exclusions>
298 </dependency>
299 <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
300 <dependency>
301 <groupId>io.netty</groupId>
302 <artifactId>netty-handler</artifactId>
303 <version>${project.nettyVersion}</version>
304 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500305
Instrumental7e97d0c2018-10-03 08:59:30 -0500306 <dependency>
307 <groupId>org.slf4j</groupId>
308 <artifactId>slf4j-log4j12</artifactId>
309 <version>1.7.5</version>
310 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500311
Instrumental7e97d0c2018-10-03 08:59:30 -0500312 <dependency>
313 <groupId>javax.mail</groupId>
314 <artifactId>mail</artifactId>
315 <version>1.4.7</version>
316 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500317
Instrumental7e97d0c2018-10-03 08:59:30 -0500318 <dependency>
319 <groupId>org.mockito</groupId>
320 <artifactId>mockito-all</artifactId>
321 <version>${mockito.version}</version>
322 <scope>test</scope>
323 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500324
Instrumental7e97d0c2018-10-03 08:59:30 -0500325 <dependency>
326 <groupId>org.powermock</groupId>
327 <artifactId>powermock-module-junit4</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>org.powermock</groupId>
334 <artifactId>powermock-api-mockito</artifactId>
335 <version>${powermock.version}</version>
336 <scope>test</scope>
337 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500338
Instrumental7e97d0c2018-10-03 08:59:30 -0500339 <dependency>
340 <groupId>log4j</groupId>
341 <artifactId>log4j</artifactId>
342 <version>1.2.17</version>
343 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500344
Instrumental7e97d0c2018-10-03 08:59:30 -0500345 <dependency>
346 <groupId>junit</groupId>
347 <artifactId>junit</artifactId>
348 <version>4.10</version>
349 <scope>test</scope>
350 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -0500351
Instrumental7e97d0c2018-10-03 08:59:30 -0500352 </dependencies>
353 </dependencyManagement>
Instrumental9f52db12018-08-31 09:53:21 -0500354
Instrumental7e97d0c2018-10-03 08:59:30 -0500355 <distributionManagement>
356 <repository>
357 <id>ecomp-releases</id>
358 <name>AAF Release Repository</name>
359 <url>${nexusproxy}${releaseNexusPath}</url>
360 </repository>
361 <snapshotRepository>
362 <id>ecomp-snapshots</id>
363 <name>AAF Snapshot Repository</name>
364 <url>${nexusproxy}${snapshotNexusPath}</url>
365 </snapshotRepository>
366 <site>
367 <id>ecomp-site</id>
368 <url>dav:${nexusproxy}${sitePath}</url>
369 </site>
370 </distributionManagement>
Instrumental2e84bc92019-08-02 15:54:29 -0500371
372 <profiles>
373 <profile>
374 <id>build-docker</id>
375 <build>
376 <plugins>
377 <plugin>
378 <groupId>org.codehaus.mojo</groupId>
379 <artifactId>exec-maven-plugin</artifactId>
380 <version>1.6.0</version>
381 <executions>
382 <execution>
383 <id>Docker Build</id>
384 <goals>
385 <goal>exec</goal>
386 </goals>
387 </execution>
388 </executions>
389 <configuration>
390 <skip>true</skip>
391 <executable>bash</executable>
392 <commandlineArgs>echo "No Docker Here"</commandlineArgs>
393 </configuration>
394 </plugin>
395 <plugin>
396 <groupId>org.sonarsource.scanner.maven</groupId>
397 <artifactId>sonar-maven-plugin</artifactId>
398 <configuration>
399 <skip>true</skip>
400 </configuration>
401 </plugin>
402 </plugins>
403 </build>
404
405 <modules>
Instrumental69549ce2019-08-05 14:28:17 -0500406 <module>auth-client</module>
407 <module>misc</module>
408 <module>cadi</module>
409 <module>auth</module>
Instrumental2e84bc92019-08-02 15:54:29 -0500410 <module>auth/docker</module>
411 </modules>
412 </profile>
413 </profiles>
IanHowell3901cf82018-04-03 11:24:27 -0500414</project>