blob: 78834386907b2cf979d8eb3591ed43beac3ede20 [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>
Instrumental50c23cc2018-10-31 02:40:03 -050025 <version>2.1.7-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>
32 <version>1.2.1</version>
33 </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>
69 <skip>false</skip>
70 </configuration>
71 </plugin>
72 <plugin>
73 <groupId>org.sonatype.plugins</groupId>
74 <artifactId>nexus-staging-maven-plugin</artifactId>
75 <extensions>true</extensions>
76 <configuration>
77 <nexusUrl>${nexusproxy}</nexusUrl>
78 <stagingProfileId>176c31dfe190a</stagingProfileId>
79 <serverId>ecomp-staging</serverId>
80 </configuration>
81 </plugin>
82 <plugin>
83 <groupId>org.sonarsource.scanner.maven</groupId>
84 <artifactId>sonar-maven-plugin</artifactId>
85 </plugin>
86 <plugin>
87 <groupId>org.jacoco</groupId>
88 <artifactId>jacoco-maven-plugin</artifactId>
89 <configuration>
90 <excludes>
91 <exclude>**/gen/**</exclude>
92 <exclude>**/generated-sources/**</exclude>
93 <exclude>**/yang-gen/**</exclude>
94 <exclude>**/pax/**</exclude>
95 </excludes>
96 </configuration>
97 <executions>
98 <execution>
99 <id>pre-unit-test</id>
100 <goals>
101 <goal>prepare-agent</goal>
102 </goals>
103 <configuration>
104 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
105 <propertyName>surefireArgLine</propertyName>
106 </configuration>
107 </execution>
108 <execution>
109 <id>post-unit-test</id>
110 <phase>test</phase>
111 <goals>
112 <goal>report</goal>
113 </goals>
114 <configuration>
115 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
116 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
117 </configuration>
118 </execution>
119 <execution>
120 <id>pre-integration-test</id>
121 <phase>pre-integration-test</phase>
122 <goals>
123 <goal>prepare-agent</goal>
124 </goals>
125 <configuration>
126 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
127 <propertyName>failsafeArgLine</propertyName>
128 </configuration>
129 </execution>
130 <execution>
131 <id>post-integration-test</id>
132 <phase>post-integration-test</phase>
133 <goals>
134 <goal>report</goal>
135 </goals>
136 <configuration>
137 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
138 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
139 </configuration>
140 </execution>
141 </executions>
142 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500143
Instrumental7e97d0c2018-10-03 08:59:30 -0500144 </plugins>
145 </build>
146 <modules>
147 <module>auth-client</module>
148 <module>misc</module>
149 <module>cadi</module>
150 <module>auth</module>
151 </modules>
Sai Gandhame01703c2018-03-26 22:57:09 +0000152
Instrumental7e97d0c2018-10-03 08:59:30 -0500153 <dependencyManagement>
154 <dependencies>
155 <dependency>
156 <groupId>org.onap.aaf.authz</groupId>
157 <artifactId>aaf-misc-env</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-log4j</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-rosetta</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-misc-xgen</artifactId>
176 <version>${project.version}</version>
177 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500178
Instrumental7e97d0c2018-10-03 08:59:30 -0500179
Instrumental9f52db12018-08-31 09:53:21 -0500180
Instrumental7e97d0c2018-10-03 08:59:30 -0500181
Instrumental9f52db12018-08-31 09:53:21 -0500182
Instrumental7e97d0c2018-10-03 08:59:30 -0500183
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-client</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-core</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-cass</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-cmd</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-auth-oauth</artifactId>
212 <version>${project.version}</version>
213 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500214
Instrumental7e97d0c2018-10-03 08:59:30 -0500215 <dependency>
216 <groupId>org.onap.aaf.authz</groupId>
217 <artifactId>aaf-auth-deforg</artifactId>
218 <version>${project.version}</version>
219 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500220
Instrumental7e97d0c2018-10-03 08:59:30 -0500221 <dependency>
222 <groupId>org.onap.aaf.authz</groupId>
223 <artifactId>aaf-cadi-core</artifactId>
224 <version>${project.version}</version>
225 </dependency>
226
227 <dependency>
228 <groupId>org.onap.aaf.authz</groupId>
229 <artifactId>aaf-cadi-client</artifactId>
230 <version>${project.version}</version>
231 </dependency>
232
233 <dependency>
234 <groupId>org.onap.aaf.authz</groupId>
235 <artifactId>aaf-cadi-aaf</artifactId>
236 <version>${project.version}</version>
237 <exclusions>
238 <exclusion>
239 <groupId>org.apache.cassandra</groupId>
240 <artifactId>cassandra-all</artifactId>
241 </exclusion>
242 </exclusions>
243 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500244
Instrumental7e97d0c2018-10-03 08:59:30 -0500245 <dependency>
246 <groupId>org.onap.aaf.authz</groupId>
247 <artifactId>aaf-cadi-jetty</artifactId>
248 <version>${project.version}</version>
249 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500250
Instrumental7e97d0c2018-10-03 08:59:30 -0500251 <dependency>
252 <groupId>org.onap.aaf.authz</groupId>
253 <artifactId>aaf-cadi-cass</artifactId>
254 <version>${project.version}</version>
255 </dependency><dependency>
256 <groupId>javax.servlet</groupId>
257 <artifactId>javax.servlet-api</artifactId>
258 <version>3.0.1</version>
259 </dependency>
260
261 <!-- JettyVersion is partly covered in "OParent"
262 dependency>
263 <groupId>org.eclipse.jetty</groupId>
264 <artifactId>jetty-servlet</artifactId>
265 <version>${project.jettyVersion}</version>
266 </dependency><dependency>
267 <groupId>org.eclipse.jetty</groupId>
268 <artifactId>jetty-server</artifactId>
269 <version>${project.jettyVersion}</version>
270 </dependency>
271
272 <dependency>
273 <groupId>org.eclipse.jetty</groupId>
274 <artifactId>jetty-http</artifactId>
275 <version>${project.jettyVersion}</version>
276 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500277
Instrumental7e97d0c2018-10-03 08:59:30 -0500278 <dependency>
279 <groupId>org.eclipse.jetty</groupId>
280 <artifactId>jetty-io</artifactId>
281 <version>${project.jettyVersion}</version>
282 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500283
Instrumental7e97d0c2018-10-03 08:59:30 -0500284 <dependency>
285 <groupId>org.eclipse.jetty</groupId>
286 <artifactId>jetty-security</artifactId>
287 <version>${project.jettyVersion}</version>
288 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500289
Instrumental9f52db12018-08-31 09:53:21 -0500290
Instrumental7e97d0c2018-10-03 08:59:30 -0500291 <dependency>
292 <groupId>org.eclipse.jetty</groupId>
293 <artifactId>jetty-util</artifactId>
294 <version>${project.jettyVersion}</version>
295 </dependency>
296 -->
Instrumental9f52db12018-08-31 09:53:21 -0500297
Instrumental7e97d0c2018-10-03 08:59:30 -0500298 <dependency>
299 <groupId>org.slf4j</groupId>
300 <artifactId>slf4j-api</artifactId>
301 <version>1.7.5</version>
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-all</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 </exclusions>
318 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500319
Instrumental7e97d0c2018-10-03 08:59:30 -0500320 <dependency>
321 <groupId>com.datastax.cassandra</groupId>
322 <artifactId>cassandra-driver-core</artifactId>
323 <version>${project.cassVersion}</version>
324 <exclusions>
325 <exclusion>
326 <groupId>org.slf4j</groupId>
327 <artifactId>slf4j-log4j12</artifactId>
328 </exclusion>
329 <exclusion>
330 <groupId>log4j</groupId>
331 <artifactId>log4j</artifactId>
332 </exclusion>
333 <exclusion>
334 <groupId>com.google.guava</groupId>
335 <artifactId>guava</artifactId>
336 </exclusion>
337 </exclusions>
338 </dependency>
339 <!-- Note: Ensure DataStax uses more up-to-date netty handler -->
340 <dependency>
341 <groupId>io.netty</groupId>
342 <artifactId>netty-handler</artifactId>
343 <version>${project.nettyVersion}</version>
344 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500345
Instrumental7e97d0c2018-10-03 08:59:30 -0500346 <dependency>
347 <groupId>org.slf4j</groupId>
348 <artifactId>slf4j-log4j12</artifactId>
349 <version>1.7.5</version>
350 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500351
Instrumental7e97d0c2018-10-03 08:59:30 -0500352 <dependency>
353 <groupId>javax.mail</groupId>
354 <artifactId>mail</artifactId>
355 <version>1.4.7</version>
356 </dependency>
357
358 <dependency>
359 <groupId>org.mockito</groupId>
360 <artifactId>mockito-all</artifactId>
361 <version>${mockito.version}</version>
362 <scope>test</scope>
363 </dependency>
Instrumental9f52db12018-08-31 09:53:21 -0500364
Instrumental7e97d0c2018-10-03 08:59:30 -0500365 <dependency>
366 <groupId>org.powermock</groupId>
367 <artifactId>powermock-module-junit4</artifactId>
368 <version>${powermock.version}</version>
369 <scope>test</scope>
370 </dependency>
371
372 <dependency>
373 <groupId>org.powermock</groupId>
374 <artifactId>powermock-api-mockito</artifactId>
375 <version>${powermock.version}</version>
376 <scope>test</scope>
377 </dependency>
378
379 <dependency>
380 <groupId>log4j</groupId>
381 <artifactId>log4j</artifactId>
382 <version>1.2.17</version>
383 </dependency>
384
385 <dependency>
386 <groupId>junit</groupId>
387 <artifactId>junit</artifactId>
388 <version>4.10</version>
389 <scope>test</scope>
390 </dependency>
391
392 </dependencies>
393 </dependencyManagement>
Instrumental9f52db12018-08-31 09:53:21 -0500394
395
396
397
398
Instrumental7e97d0c2018-10-03 08:59:30 -0500399 <distributionManagement>
400 <repository>
401 <id>ecomp-releases</id>
402 <name>AAF Release Repository</name>
403 <url>${nexusproxy}${releaseNexusPath}</url>
404 </repository>
405 <snapshotRepository>
406 <id>ecomp-snapshots</id>
407 <name>AAF Snapshot Repository</name>
408 <url>${nexusproxy}${snapshotNexusPath}</url>
409 </snapshotRepository>
410 <site>
411 <id>ecomp-site</id>
412 <url>dav:${nexusproxy}${sitePath}</url>
413 </site>
414 </distributionManagement>
IanHowell3901cf82018-04-03 11:24:27 -0500415
416</project>