2 ============LICENSE_START====================================================
4 * ===========================================================================
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 * ===========================================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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====================================================
20 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
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">
26 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.aaf.authz</groupId>
28 <artifactId>parent</artifactId>
29 <version>1.0.1-SNAPSHOT</version>
30 <name>aaf-authz</name>
31 <packaging>pom</packaging>
32 <url>https://github.com/att/AAF</url>
35 <groupId>org.onap.oparent</groupId>
36 <artifactId>oparent</artifactId>
37 <version>0.1.1</version>
42 <name>BSD License</name>
48 <name>Jonathan Gathman</name>
50 <organization>ATT</organization>
51 <organizationUrl></organizationUrl>
54 <description>This module is used to organize all of the common SWM (Software Manager)
55 artifacts and capabilities that are inherited by all modules that are SWM
56 packaged. This prevents duplication of these common artifacts, plugins, and
57 other settings and provides a single place to support this configuration.
60 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
61 <skipTests>false</skipTests>
62 <project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
63 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
64 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
65 <project.dme2Version>3.1.200</project.dme2Version>
67 <jacoco.version>0.7.7.201606060606</jacoco.version>
68 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
69 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
70 <!-- Default Sonar configuration -->
71 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
72 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
73 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
74 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
75 <nexusproxy>https://nexus.onap.org</nexusproxy>
76 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
77 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
78 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
79 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-compiler-plugin</artifactId>
87 <version>2.3.2</version>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-surefire-plugin</artifactId>
98 <version>2.17</version>
100 <skipTests>${skipTests}</skipTests>
102 <include>**/JU*.java</include>
106 <exclude>**/JU_DataFile.java</exclude>
107 <exclude>**/JU_ArtiDAO.java</exclude>
108 <exclude>**/JU_CertDAO.java</exclude>
109 <exclude>**/JU_FastCalling.java</exclude>
110 <exclude>**/JU_NsDAO.java</exclude>
111 <!-- <exclude>**/authz-cass/**</exclude> -->
112 <!-- <exclude>**/JU_UseCase1.java</exclude> -->
113 <exclude>**/JU_RoleDAO.java</exclude>
114 <exclude>**/JU_PermDAO.java</exclude>
115 <exclude>**/JU_Question.java</exclude>
116 <!-- <exclude>**/JU_NS.java</exclude> -->
117 <exclude>**/JU_HistoryDAO.java</exclude>
118 <exclude>**/JU_DelegateDAO.java</exclude>
119 <exclude>**/JU_CredDAO.java</exclude>
120 <exclude>**/JU_CacheInfoDAO.java</exclude>
121 <exclude>**/JU_ApprovalDAO.java</exclude>
122 <!-- <exclude>**/JU_Define.java</exclude> -->
123 <exclude>**/JU_Identities.java</exclude>
124 <exclude>**/JU_AuthzTransFilter.java</exclude>
125 <exclude>**/JU_CachingFileAccess.java</exclude>
126 <!-- <exclude>**/AbsServiceTest.java</exclude> -->
127 <!-- <exclude>**/JU_DefaultOrg.java</exclude> -->
128 <exclude>**/JU_FileServer.java</exclude>
129 <exclude>**/JU_DirectAAFLur.java</exclude>
130 <exclude>**/JU_AuthAPI.java</exclude>
131 <exclude>**/JU_GwAPI.java</exclude>
133 <!-- <exclude>**/JU_Perm_2_0*.java</exclude> -->
134 <!-- <exclude>**/JU_Role_2_0*.java</exclude> -->
142 <groupId>org.codehaus.mojo</groupId>
143 <artifactId>jaxb2-maven-plugin</artifactId>
144 <version>1.3</version>
147 <phase>generate-sources</phase>
154 <schemaDirectory>src/main/xsd</schemaDirectory>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-failsafe-plugin</artifactId>
161 <version>2.17</version>
163 <skipTests>true</skipTests>
167 <id>integration-test</id>
169 <goal>integration-test</goal>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-jarsigner-plugin</artifactId>
178 <version>1.2</version>
186 <!-- skip>${skipSigning}</skip -->
187 <archive>target/${project.artifactId}-${project.version}.jar</archive>
196 <archive>target/${project.artifactId}-${project.version}.jar</archive>
203 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
204 <storepass>Surprise!</storepass>
205 <keypass>Surprise!</keypass>
206 <verbose>true</verbose>
212 <groupId>org.apache.maven.plugins</groupId>
213 <artifactId>maven-javadoc-plugin</artifactId>
214 <version>2.10.4</version>
216 <failOnError>false</failOnError>
220 <id>attach-javadocs</id>
231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-source-plugin</artifactId>
233 <version>2.2.1</version>
236 <id>attach-sources</id>
238 <goal>jar-no-fork</goal>
246 <groupId>org.codehaus.mojo</groupId>
247 <artifactId>cobertura-maven-plugin</artifactId>
248 <version>2.7</version>
251 <format>html</format>
257 <groupId>org.sonatype.plugins</groupId>
258 <artifactId>nexus-staging-maven-plugin</artifactId>
259 <version>1.6.7</version>
260 <extensions>true</extensions>
262 <nexusUrl>${nexusproxy}</nexusUrl>
263 <stagingProfileId>176c31dfe190a</stagingProfileId>
264 <serverId>ecomp-staging</serverId>
268 <groupId>org.jacoco</groupId>
269 <artifactId>jacoco-maven-plugin</artifactId>
270 <version>${jacoco.version}</version>
273 <exclude>**/gen/**</exclude>
274 <exclude>**/generated-sources/**</exclude>
275 <exclude>**/yang-gen/**</exclude>
276 <exclude>**/pax/**</exclude>
282 <id>pre-unit-test</id>
284 <goal>prepare-agent</goal>
287 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
288 <propertyName>surefireArgLine</propertyName>
294 <id>post-unit-test</id>
300 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
301 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
305 <id>pre-integration-test</id>
306 <phase>pre-integration-test</phase>
308 <goal>prepare-agent</goal>
311 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
313 <propertyName>failsafeArgLine</propertyName>
319 <id>post-integration-test</id>
320 <phase>post-integration-test</phase>
325 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
326 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
338 <groupId>junit</groupId>
339 <artifactId>junit</artifactId>
340 <version>4.10</version>
345 <groupId>org.mockito</groupId>
346 <artifactId>mockito-core</artifactId>
347 <version>1.10.19</version>
351 <groupId>org.powermock</groupId>
352 <artifactId>powermock-module-junit4</artifactId>
353 <version>1.6.4</version>
357 <groupId>org.powermock</groupId>
358 <artifactId>powermock-api-mockito</artifactId>
359 <version>1.6.4</version>
368 <module> auth-client</module>
369 complile manually with mvn -N independently
371 <module>authz-client</module>
372 <module>authz-core</module>
373 <module>authz-cass</module>
374 <module>authz-defOrg</module>
375 <module>authz-cmd</module>
376 <!-- <module>authz-batch</module>-->
377 <module>authz-test</module>
378 <!-- <module>authz-gui</module> -->
379 <module>authz-gw</module>
380 <module>authz-certman</module>
381 <module>authz-fs</module>
382 <module>authz-service</module>
385 <dependencyManagement>
388 <groupId>org.onap.aaf.inno</groupId>
389 <artifactId>env</artifactId>
390 <version>${project.innoVersion}</version>
394 <groupId>org.onap.aaf.inno</groupId>
395 <artifactId>log4j</artifactId>
396 <version>${project.innoVersion}</version>
400 <groupId>org.onap.aaf.inno</groupId>
401 <artifactId>rosetta</artifactId>
402 <version>${project.innoVersion}</version>
406 <groupId>org.onap.aaf.inno</groupId>
407 <artifactId>xgen</artifactId>
408 <version>${project.innoVersion}</version>
412 <groupId>org.onap.aaf.cadi</groupId>
413 <artifactId>cadi-core</artifactId>
414 <version>${project.cadiVersion}</version>
418 <groupId>org.onap.aaf.cadi</groupId>
419 <artifactId>cadi-client</artifactId>
420 <version>${project.cadiVersion}</version>
425 <groupId>org.onap.aaf.cadi</groupId>
426 <artifactId>cadi-aaf</artifactId>
427 <version>${project.cadiVersion}</version>
430 <groupId>org.apache.cassandra</groupId>
431 <artifactId>cassandra-all</artifactId>
437 <groupId>org.onap.aaf.authz</groupId>
438 <artifactId>authz-client</artifactId>
439 <version>${project.interfaceVersion}</version>
444 <groupId>org.onap.aaf.authz</groupId>
445 <artifactId>authz-core</artifactId>
446 <version>${project.version}</version>
450 <groupId>org.onap.aaf.authz</groupId>
451 <artifactId>authz-cass</artifactId>
452 <version>${project.version}</version>
456 <groupId>org.onap.aaf.authz</groupId>
457 <artifactId>authz-batch</artifactId>
458 <version>${project.interfaceVersion}</version>
464 <groupId>org.onap.aaf.authz</groupId>
465 <artifactId>authz-cmd</artifactId>
466 <version>${project.version}</version>
469 <groupId>org.onap.aaf.authz</groupId>
470 <artifactId>authz-gw</artifactId>
471 <version>${project.version}</version>
475 <groupId>com.att.aft</groupId>
476 <artifactId>dme2</artifactId>
477 <version>${project.dme2Version}</version>
481 <groupId>javax.servlet</groupId>
482 <artifactId>servlet-api</artifactId>
483 <version>2.5</version>
487 <groupId>org.eclipse.jetty</groupId>
488 <artifactId>jetty-servlet</artifactId>
489 <version>9.0.3.v20130506</version>
493 <groupId>com.datastax.cassandra</groupId>
494 <artifactId>cassandra-all</artifactId>
495 <version>2.1.10</version>
498 <groupId>org.slf4j</groupId>
499 <artifactId>slf4j-log4j12</artifactId>
502 <groupId>log4j</groupId>
503 <artifactId>log4j</artifactId>
508 <groupId>com.datastax.cassandra</groupId>
509 <artifactId>cassandra-driver-core</artifactId>
510 <!-- version>1.0.3</version -->
511 <!-- version>1.0.5</version -->
512 <version>2.1.10</version>
515 <groupId>org.slf4j</groupId>
516 <artifactId>slf4j-log4j12</artifactId>
519 <groupId>log4j</groupId>
520 <artifactId>log4j</artifactId>
526 <groupId>org.slf4j</groupId>
527 <artifactId>slf4j-log4j12</artifactId>
528 <version>1.7.5</version>
532 <groupId>javax.mail</groupId>
533 <artifactId>mail</artifactId>
534 <version>1.4.5</version>
539 </dependencyManagement>
540 <distributionManagement>
542 <id>ecomp-releases</id>
543 <name>AAF Release Repository</name>
544 <url>${nexusproxy}${releaseNexusPath}</url>
547 <id>ecomp-snapshots</id>
548 <name>AAF Snapshot Repository</name>
549 <url>${nexusproxy}${snapshotNexusPath}</url>
550 </snapshotRepository>
553 <url>dav:${nexusproxy}${sitePath}</url>
555 </distributionManagement>