blob: e4e5f2f2799db62431dd1f5a11ce0c698499fd43 [file] [log] [blame]
sg481n43854a92017-08-03 17:27:34 -04001<!--
2 ============LICENSE_START====================================================
sg481ndc5fcf12017-09-15 13:06:30 -04003 * org.onap.aaf
sg481n43854a92017-08-03 17:27:34 -04004 * ===========================================================================
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
sg481n43854a92017-08-03 17:27:34 -04006 * ===========================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END====================================================
19 *
20 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
21 *
22-->
23<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25
26 <modelVersion>4.0.0</modelVersion>
sg481n0e5efc62017-08-25 00:57:25 -040027 <groupId>org.onap.aaf.authz</groupId>
sg481n43854a92017-08-03 17:27:34 -040028 <artifactId>parent</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040029 <version>1.0.1-SNAPSHOT</version>
sg481n20e26942017-09-17 14:42:09 -040030 <name>aaf-authz</name>
sg481n43854a92017-08-03 17:27:34 -040031 <packaging>pom</packaging>
32 <url>https://github.com/att/AAF</url>
sg481na2ac6782017-09-18 16:35:50 -040033
sg481na9d21082017-09-23 14:26:06 +000034 <parent>
35 <groupId>org.onap.oparent</groupId>
36 <artifactId>oparent</artifactId>
37 <version>0.1.1</version>
38 </parent>
sg481na2ac6782017-09-18 16:35:50 -040039
sg481n72aacef2017-10-05 16:13:21 +000040
sg481n43854a92017-08-03 17:27:34 -040041 <developers>
42 <developer>
43 <name>Jonathan Gathman</name>
44 <email></email>
45 <organization>ATT</organization>
46 <organizationUrl></organizationUrl>
47 </developer>
48 </developers>
49 <description>This module is used to organize all of the common SWM (Software Manager)
50 artifacts and capabilities that are inherited by all modules that are SWM
51 packaged. This prevents duplication of these common artifacts, plugins, and
52 other settings and provides a single place to support this configuration.
53 </description>
54 <properties>
55 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
sg481n08e11042017-09-29 12:33:53 +000056 <skipTests>false</skipTests>
sg481nbd890c52017-08-28 12:11:35 -040057 <project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
sg481ndcf76982017-08-10 17:50:54 -040058 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
59 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n43854a92017-08-03 17:27:34 -040060 <project.dme2Version>3.1.200</project.dme2Version>
GUNDAPANENI0a38f422017-10-03 11:42:40 -050061 <!-- SONAR -->
62 <jacoco.version>0.7.7.201606060606</jacoco.version>
63 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
64 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
65 <!-- Default Sonar configuration -->
66 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
67 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
68 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
69 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
sg481naa2c01c2017-08-25 01:29:57 -040070 <nexusproxy>https://nexus.onap.org</nexusproxy>
71 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
72 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
73 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
74 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481n43854a92017-08-03 17:27:34 -040075 </properties>
sg481n43854a92017-08-03 17:27:34 -040076 <build>
77 <pluginManagement>
78 <plugins>
79 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-compiler-plugin</artifactId>
82 <version>2.3.2</version>
83 <configuration>
84 <source>1.8</source>
85 <target>1.8</target>
86 </configuration>
87 </plugin>
sg481na2ac6782017-09-18 16:35:50 -040088
sg481n43854a92017-08-03 17:27:34 -040089
sg481nbd890c52017-08-28 12:11:35 -040090 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-surefire-plugin</artifactId>
93 <version>2.17</version>
94 <configuration>
sg481n08e11042017-09-29 12:33:53 +000095 <skipTests>${skipTests}</skipTests>
sg481nbd890c52017-08-28 12:11:35 -040096 <includes>
97 <include>**/JU*.java</include>
98 </includes>
99 <excludes>
sg481nf33ea6d2017-10-01 17:28:44 +0000100
101 <exclude>**/JU_DataFile.java</exclude>
sg481nbd890c52017-08-28 12:11:35 -0400102 <exclude>**/JU_ArtiDAO.java</exclude>
103 <exclude>**/JU_CertDAO.java</exclude>
104 <exclude>**/JU_FastCalling.java</exclude>
105 <exclude>**/JU_NsDAO.java</exclude>
106 <!-- <exclude>**/authz-cass/**</exclude> -->
107 <!-- <exclude>**/JU_UseCase1.java</exclude> -->
108 <exclude>**/JU_RoleDAO.java</exclude>
109 <exclude>**/JU_PermDAO.java</exclude>
110 <exclude>**/JU_Question.java</exclude>
111 <!-- <exclude>**/JU_NS.java</exclude> -->
112 <exclude>**/JU_HistoryDAO.java</exclude>
113 <exclude>**/JU_DelegateDAO.java</exclude>
114 <exclude>**/JU_CredDAO.java</exclude>
115 <exclude>**/JU_CacheInfoDAO.java</exclude>
116 <exclude>**/JU_ApprovalDAO.java</exclude>
GUNDAPANENI0a38f422017-10-03 11:42:40 -0500117 <!-- <exclude>**/JU_Define.java</exclude> -->
118 <exclude>**/JU_Identities.java</exclude>
sg481nbd890c52017-08-28 12:11:35 -0400119 <exclude>**/JU_AuthzTransFilter.java</exclude>
120 <exclude>**/JU_CachingFileAccess.java</exclude>
GUNDAPANENI6b0e4062017-10-03 13:55:11 -0500121 <!-- <exclude>**/AbsServiceTest.java</exclude> -->
122 <!-- <exclude>**/JU_DefaultOrg.java</exclude> -->
sg481na9d21082017-09-23 14:26:06 +0000123 <exclude>**/JU_FileServer.java</exclude>
124 <exclude>**/JU_DirectAAFLur.java</exclude>
125 <exclude>**/JU_AuthAPI.java</exclude>
sg481nf33ea6d2017-10-01 17:28:44 +0000126 <exclude>**/JU_GwAPI.java</exclude>
sg481na9d21082017-09-23 14:26:06 +0000127
sg481nbd890c52017-08-28 12:11:35 -0400128 <!-- <exclude>**/JU_Perm_2_0*.java</exclude> -->
129 <!-- <exclude>**/JU_Role_2_0*.java</exclude> -->
sg481nf33ea6d2017-10-01 17:28:44 +0000130
sg481nbd890c52017-08-28 12:11:35 -0400131 </excludes>
132
133 </configuration>
134 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400135
136 <plugin>
137 <groupId>org.codehaus.mojo</groupId>
138 <artifactId>jaxb2-maven-plugin</artifactId>
139 <version>1.3</version>
140 <executions>
141 <execution>
142 <phase>generate-sources</phase>
143 <goals>
144 <goal>xjc</goal>
145 </goals>
146 </execution>
147 </executions>
148 <configuration>
149 <schemaDirectory>src/main/xsd</schemaDirectory>
150 </configuration>
151 </plugin>
152
153 <plugin>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-failsafe-plugin</artifactId>
156 <version>2.17</version>
157 <configuration>
158 <skipTests>true</skipTests>
159 </configuration>
160 <executions>
161 <execution>
162 <id>integration-test</id>
163 <goals>
164 <goal>integration-test</goal>
165 <goal>verify</goal>
166 </goals>
167 </execution>
168 </executions>
169 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400170 <plugin>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-jarsigner-plugin</artifactId>
173 <version>1.2</version>
174 <executions>
175 <execution>
176 <id>sign</id>
177 <goals>
178 <goal>sign</goal>
179 </goals>
180 <configuration>
181 <!-- skip>${skipSigning}</skip -->
182 <archive>target/${project.artifactId}-${project.version}.jar</archive>
183 </configuration>
184 </execution>
185 <execution>
186 <id>verify</id>
187 <goals>
188 <goal>verify</goal>
189 </goals>
190 <configuration>
191 <archive>target/${project.artifactId}-${project.version}.jar</archive>
192 </configuration>
193 </execution>
194 </executions>
195 <configuration>
196 <skip>true</skip>
197 <alias>aaf</alias>
198 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
199 <storepass>Surprise!</storepass>
200 <keypass>Surprise!</keypass>
201 <verbose>true</verbose>
202 <certs>true</certs>
203 </configuration>
204 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400205
sg481na9d21082017-09-23 14:26:06 +0000206 <plugin>
sg481n43854a92017-08-03 17:27:34 -0400207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000209 <version>2.10.4</version>
sg481n43854a92017-08-03 17:27:34 -0400210 <configuration>
211 <failOnError>false</failOnError>
212 </configuration>
213 <executions>
214 <execution>
215 <id>attach-javadocs</id>
216 <goals>
217 <goal>jar</goal>
218 </goals>
219 </execution>
220 </executions>
221 </plugin>
sg481na9d21082017-09-23 14:26:06 +0000222
223
sg481n43854a92017-08-03 17:27:34 -0400224
225 <plugin>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-source-plugin</artifactId>
228 <version>2.2.1</version>
229 <executions>
230 <execution>
231 <id>attach-sources</id>
232 <goals>
233 <goal>jar-no-fork</goal>
234 </goals>
235 </execution>
236 </executions>
237 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400238
sg481n43854a92017-08-03 17:27:34 -0400239
240 <plugin>
241 <groupId>org.codehaus.mojo</groupId>
242 <artifactId>cobertura-maven-plugin</artifactId>
243 <version>2.7</version>
244 <configuration>
245 <formats>
246 <format>html</format>
247 <format>xml</format>
248 </formats>
249 </configuration>
250 </plugin>
sg481naa2c01c2017-08-25 01:29:57 -0400251 <plugin>
252 <groupId>org.sonatype.plugins</groupId>
253 <artifactId>nexus-staging-maven-plugin</artifactId>
254 <version>1.6.7</version>
255 <extensions>true</extensions>
256 <configuration>
257 <nexusUrl>${nexusproxy}</nexusUrl>
258 <stagingProfileId>176c31dfe190a</stagingProfileId>
259 <serverId>ecomp-staging</serverId>
260 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400261 </plugin>
sg481n2783a8d2017-10-02 04:11:12 +0000262 <plugin>
GUNDAPANENI0a38f422017-10-03 11:42:40 -0500263 <groupId>org.jacoco</groupId>
264 <artifactId>jacoco-maven-plugin</artifactId>
265 <version>${jacoco.version}</version>
266 <configuration>
267 <excludes>
268 <exclude>**/gen/**</exclude>
269 <exclude>**/generated-sources/**</exclude>
270 <exclude>**/yang-gen/**</exclude>
271 <exclude>**/pax/**</exclude>
272 </excludes>
273 </configuration>
274 <executions>
sg481nf33ea6d2017-10-01 17:28:44 +0000275
GUNDAPANENI0a38f422017-10-03 11:42:40 -0500276 <execution>
277 <id>pre-unit-test</id>
278 <goals>
279 <goal>prepare-agent</goal>
280 </goals>
281 <configuration>
282 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
283 <propertyName>surefireArgLine</propertyName>
284 </configuration>
285 </execution>
286
287
288 <execution>
289 <id>post-unit-test</id>
290 <phase>test</phase>
291 <goals>
292 <goal>report</goal>
293 </goals>
294 <configuration>
295 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
296 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
297 </configuration>
298 </execution>
299 <execution>
300 <id>pre-integration-test</id>
301 <phase>pre-integration-test</phase>
302 <goals>
303 <goal>prepare-agent</goal>
304 </goals>
305 <configuration>
306 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
307
308 <propertyName>failsafeArgLine</propertyName>
309 </configuration>
310 </execution>
311
312
313 <execution>
314 <id>post-integration-test</id>
315 <phase>post-integration-test</phase>
316 <goals>
317 <goal>report</goal>
318 </goals>
319 <configuration>
320 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
321 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
322 </configuration>
323 </execution>
324 </executions>
325 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400326
327 </plugins>
328 </pluginManagement>
329 </build>
sg481n70529ba2017-09-21 13:29:12 +0000330
sg481n43854a92017-08-03 17:27:34 -0400331 <dependencies>
332 <dependency>
333 <groupId>junit</groupId>
334 <artifactId>junit</artifactId>
335 <version>4.10</version>
336 <scope>test</scope>
337 </dependency>
338
339 <dependency>
340 <groupId>org.mockito</groupId>
341 <artifactId>mockito-core</artifactId>
342 <version>1.10.19</version>
343 <scope>test</scope>
344 </dependency>
345 <dependency>
346 <groupId>org.powermock</groupId>
347 <artifactId>powermock-module-junit4</artifactId>
348 <version>1.6.4</version>
349 <scope>test</scope>
350 </dependency>
351 <dependency>
352 <groupId>org.powermock</groupId>
353 <artifactId>powermock-api-mockito</artifactId>
354 <version>1.6.4</version>
355 <scope>test</scope>
356 </dependency>
357
358
359 </dependencies>
360
361 <modules>
sg481nbd890c52017-08-28 12:11:35 -0400362 <!--
363 <module> auth-client</module>
364 complile manually with mvn -N independently
365 -->
sg481n43854a92017-08-03 17:27:34 -0400366 <module>authz-client</module>
sg481nbd890c52017-08-28 12:11:35 -0400367 <module>authz-core</module>
368 <module>authz-cass</module>
369 <module>authz-defOrg</module>
sg481nbd890c52017-08-28 12:11:35 -0400370 <module>authz-cmd</module>
371 <!-- <module>authz-batch</module>-->
372 <module>authz-test</module>
373 <!-- <module>authz-gui</module> -->
374 <module>authz-gw</module>
375 <module>authz-certman</module>
376 <module>authz-fs</module>
sg481n5c30b7f2017-09-17 11:37:00 -0400377 <module>authz-service</module>
sg481n43854a92017-08-03 17:27:34 -0400378 </modules>
379
380 <dependencyManagement>
381 <dependencies>
382 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400383 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400384 <artifactId>env</artifactId>
385 <version>${project.innoVersion}</version>
386 </dependency>
387
388 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400389 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400390 <artifactId>log4j</artifactId>
391 <version>${project.innoVersion}</version>
392 </dependency>
393
394 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400395 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400396 <artifactId>rosetta</artifactId>
397 <version>${project.innoVersion}</version>
398 </dependency>
399
400 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400401 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400402 <artifactId>xgen</artifactId>
403 <version>${project.innoVersion}</version>
404 </dependency>
405
sg481nbd890c52017-08-28 12:11:35 -0400406 <dependency>
407 <groupId>org.onap.aaf.cadi</groupId>
408 <artifactId>cadi-core</artifactId>
409 <version>${project.cadiVersion}</version>
410 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400411
sg481nbd890c52017-08-28 12:11:35 -0400412 <dependency>
413 <groupId>org.onap.aaf.cadi</groupId>
414 <artifactId>cadi-client</artifactId>
415 <version>${project.cadiVersion}</version>
416 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400417
sg481nbd890c52017-08-28 12:11:35 -0400418
419 <dependency>
420 <groupId>org.onap.aaf.cadi</groupId>
421 <artifactId>cadi-aaf</artifactId>
422 <version>${project.cadiVersion}</version>
423 <exclusions>
424 <exclusion>
425 <groupId>org.apache.cassandra</groupId>
426 <artifactId>cassandra-all</artifactId>
427 </exclusion>
428 </exclusions>
429 </dependency>
430
431 <dependency>
432 <groupId>org.onap.aaf.authz</groupId>
433 <artifactId>authz-client</artifactId>
434 <version>${project.interfaceVersion}</version>
435 </dependency>
436
437
438 <dependency>
439 <groupId>org.onap.aaf.authz</groupId>
440 <artifactId>authz-core</artifactId>
441 <version>${project.version}</version>
442 </dependency>
443
444 <dependency>
445 <groupId>org.onap.aaf.authz</groupId>
446 <artifactId>authz-cass</artifactId>
447 <version>${project.version}</version>
448 </dependency>
449
450 <dependency>
451 <groupId>org.onap.aaf.authz</groupId>
452 <artifactId>authz-batch</artifactId>
453 <version>${project.interfaceVersion}</version>
454 </dependency>
455
456
457
458 <dependency>
459 <groupId>org.onap.aaf.authz</groupId>
460 <artifactId>authz-cmd</artifactId>
461 <version>${project.version}</version>
462 </dependency>
463 <dependency>
464 <groupId>org.onap.aaf.authz</groupId>
465 <artifactId>authz-gw</artifactId>
466 <version>${project.version}</version>
467 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400468
469 <dependency>
470 <groupId>com.att.aft</groupId>
471 <artifactId>dme2</artifactId>
sg481n43854a92017-08-03 17:27:34 -0400472 <version>${project.dme2Version}</version>
473 </dependency>
474
475 <dependency>
476 <groupId>javax.servlet</groupId>
477 <artifactId>servlet-api</artifactId>
478 <version>2.5</version>
479 </dependency>
480
481 <dependency>
482 <groupId>org.eclipse.jetty</groupId>
483 <artifactId>jetty-servlet</artifactId>
484 <version>9.0.3.v20130506</version>
485 </dependency>
486
487 <dependency>
488 <groupId>com.datastax.cassandra</groupId>
489 <artifactId>cassandra-all</artifactId>
490 <version>2.1.10</version>
491 <exclusions>
492 <exclusion>
493 <groupId>org.slf4j</groupId>
494 <artifactId>slf4j-log4j12</artifactId>
495 </exclusion>
496 <exclusion>
497 <groupId>log4j</groupId>
498 <artifactId>log4j</artifactId>
499 </exclusion>
500 </exclusions>
501 </dependency>
502 <dependency>
503 <groupId>com.datastax.cassandra</groupId>
504 <artifactId>cassandra-driver-core</artifactId>
505 <!-- version>1.0.3</version -->
506 <!-- version>1.0.5</version -->
507 <version>2.1.10</version>
508 <exclusions>
509 <exclusion>
510 <groupId>org.slf4j</groupId>
511 <artifactId>slf4j-log4j12</artifactId>
512 </exclusion>
513 <exclusion>
514 <groupId>log4j</groupId>
515 <artifactId>log4j</artifactId>
516 </exclusion>
517 </exclusions>
518 </dependency>
519
520 <dependency>
521 <groupId>org.slf4j</groupId>
522 <artifactId>slf4j-log4j12</artifactId>
523 <version>1.7.5</version>
524 </dependency>
525
526 <dependency>
527 <groupId>javax.mail</groupId>
528 <artifactId>mail</artifactId>
529 <version>1.4.5</version>
530 </dependency>
531
532
533 </dependencies>
534 </dependencyManagement>
sg481nbd890c52017-08-28 12:11:35 -0400535 <distributionManagement>
sg481naa2c01c2017-08-25 01:29:57 -0400536 <repository>
537 <id>ecomp-releases</id>
538 <name>AAF Release Repository</name>
539 <url>${nexusproxy}${releaseNexusPath}</url>
540 </repository>
541 <snapshotRepository>
542 <id>ecomp-snapshots</id>
543 <name>AAF Snapshot Repository</name>
544 <url>${nexusproxy}${snapshotNexusPath}</url>
545 </snapshotRepository>
546 <site>
547 <id>ecomp-site</id>
548 <url>dav:${nexusproxy}${sitePath}</url>
549 </site>
550 </distributionManagement>
sg481na9d21082017-09-23 14:26:06 +0000551
sg481n43854a92017-08-03 17:27:34 -0400552</project>