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.0-SNAPSHOT</version>
30 <name>aaf-authz</name>
31 <packaging>pom</packaging>
32 <url>https://github.com/att/AAF</url>
35 <name>BSD License</name>
41 <name>Jonathan Gathman</name>
43 <organization>ATT</organization>
44 <organizationUrl></organizationUrl>
47 <description>This module is used to organize all of the common SWM (Software Manager)
48 artifacts and capabilities that are inherited by all modules that are SWM
49 packaged. This prevents duplication of these common artifacts, plugins, and
50 other settings and provides a single place to support this configuration.
53 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
54 <skipTests>false</skipTests>
55 <project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
56 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
57 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
58 <project.dme2Version>3.1.200</project.dme2Version>
59 <sonar.language>java</sonar.language>
60 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
61 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
62 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
63 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
64 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
65 <sonar.projectVersion>${project.version}</sonar.projectVersion>
66 <nexusproxy>https://nexus.onap.org</nexusproxy>
67 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
68 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
69 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
70 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-compiler-plugin</artifactId>
79 <version>2.3.2</version>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-deploy-plugin</artifactId>
88 <version>2.6</version>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-surefire-plugin</artifactId>
97 <version>2.17</version>
99 <skipTests>${skipTests}</skipTests>
101 <include>**/JU*.java</include>
104 <exclude>**/JU_DataFile.java</exclude>
105 <exclude>**/JU_ArtiDAO.java</exclude>
106 <exclude>**/JU_CertDAO.java</exclude>
107 <exclude>**/JU_FastCalling.java</exclude>
108 <exclude>**/JU_NsDAO.java</exclude>
109 <!-- <exclude>**/authz-cass/**</exclude> -->
110 <!-- <exclude>**/JU_UseCase1.java</exclude> -->
111 <exclude>**/JU_RoleDAO.java</exclude>
112 <exclude>**/JU_PermDAO.java</exclude>
113 <exclude>**/JU_Question.java</exclude>
114 <!-- <exclude>**/JU_NS.java</exclude> -->
115 <exclude>**/JU_HistoryDAO.java</exclude>
116 <exclude>**/JU_DelegateDAO.java</exclude>
117 <exclude>**/JU_CredDAO.java</exclude>
118 <exclude>**/JU_CacheInfoDAO.java</exclude>
119 <exclude>**/JU_ApprovalDAO.java</exclude>
120 <exclude>**/JU_Define.java</exclude>
121 <exclude>**/JU_AuthzTransFilter.java</exclude>
122 <exclude>**/JU_CachingFileAccess.java</exclude>
123 <!-- <exclude>**/AbsServiceTest.java</exclude> -->
124 <exclude>**/JU_DefaultOrg.java</exclude>
125 <!-- <exclude>**/JU_Perm_2_0*.java</exclude> -->
126 <!-- <exclude>**/JU_Role_2_0*.java</exclude> -->
133 <groupId>org.codehaus.mojo</groupId>
134 <artifactId>jaxb2-maven-plugin</artifactId>
135 <version>1.3</version>
138 <phase>generate-sources</phase>
145 <schemaDirectory>src/main/xsd</schemaDirectory>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-failsafe-plugin</artifactId>
152 <version>2.17</version>
154 <skipTests>true</skipTests>
158 <id>integration-test</id>
160 <goal>integration-test</goal>
167 <groupId>org.apache.maven.plugins</groupId>
168 <artifactId>maven-jarsigner-plugin</artifactId>
169 <version>1.2</version>
177 <!-- skip>${skipSigning}</skip -->
178 <archive>target/${project.artifactId}-${project.version}.jar</archive>
187 <archive>target/${project.artifactId}-${project.version}.jar</archive>
194 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
195 <storepass>Surprise!</storepass>
196 <keypass>Surprise!</keypass>
197 <verbose>true</verbose>
203 <groupId>org.apache.maven.plugins</groupId>
204 <artifactId>maven-javadoc-plugin</artifactId>
206 <failOnError>false</failOnError>
210 <id>attach-javadocs</id>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-source-plugin</artifactId>
222 <version>2.2.1</version>
225 <id>attach-sources</id>
227 <goal>jar-no-fork</goal>
235 <groupId>org.codehaus.mojo</groupId>
236 <artifactId>cobertura-maven-plugin</artifactId>
237 <version>2.7</version>
240 <format>html</format>
246 <groupId>org.sonatype.plugins</groupId>
247 <artifactId>nexus-staging-maven-plugin</artifactId>
248 <version>1.6.7</version>
249 <extensions>true</extensions>
251 <nexusUrl>${nexusproxy}</nexusUrl>
252 <stagingProfileId>176c31dfe190a</stagingProfileId>
253 <serverId>ecomp-staging</serverId>
254 <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>
258 <groupId>org.jacoco</groupId>
259 <artifactId>jacoco-maven-plugin</artifactId>
260 <version>0.7.7.201606060606</version>
262 <dumpOnExit>true</dumpOnExit>
264 <include>org.onap.aaf.*</include>
269 <id>pre-unit-test</id>
271 <goal>prepare-agent</goal>
274 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
275 <!-- <append>true</append> -->
279 <id>pre-integration-test</id>
280 <phase>pre-integration-test</phase>
282 <goal>prepare-agent</goal>
285 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
286 <!-- <append>true</append> -->
293 <phase>post-integration-test</phase>
296 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
297 <directory>${project.build.directory}/coverage-reports</directory>
299 <include>*.exec</include>
303 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
315 <groupId>junit</groupId>
316 <artifactId>junit</artifactId>
317 <version>4.10</version>
322 <groupId>org.mockito</groupId>
323 <artifactId>mockito-core</artifactId>
324 <version>1.10.19</version>
328 <groupId>org.powermock</groupId>
329 <artifactId>powermock-module-junit4</artifactId>
330 <version>1.6.4</version>
334 <groupId>org.powermock</groupId>
335 <artifactId>powermock-api-mockito</artifactId>
336 <version>1.6.4</version>
345 <module> auth-client</module>
346 complile manually with mvn -N independently
348 <module>authz-client</module>
349 <module>authz-core</module>
350 <module>authz-cass</module>
351 <module>authz-defOrg</module>
352 <module>authz-service</module>
353 <module>authz-cmd</module>
354 <!-- <module>authz-batch</module>-->
355 <module>authz-test</module>
356 <!-- <module>authz-gui</module> -->
357 <module>authz-gw</module>
358 <module>authz-certman</module>
359 <module>authz-fs</module>
362 <dependencyManagement>
365 <groupId>org.onap.aaf.inno</groupId>
366 <artifactId>env</artifactId>
367 <version>${project.innoVersion}</version>
371 <groupId>org.onap.aaf.inno</groupId>
372 <artifactId>log4j</artifactId>
373 <version>${project.innoVersion}</version>
377 <groupId>org.onap.aaf.inno</groupId>
378 <artifactId>rosetta</artifactId>
379 <version>${project.innoVersion}</version>
383 <groupId>org.onap.aaf.inno</groupId>
384 <artifactId>xgen</artifactId>
385 <version>${project.innoVersion}</version>
389 <groupId>org.onap.aaf.cadi</groupId>
390 <artifactId>cadi-core</artifactId>
391 <version>${project.cadiVersion}</version>
395 <groupId>org.onap.aaf.cadi</groupId>
396 <artifactId>cadi-client</artifactId>
397 <version>${project.cadiVersion}</version>
402 <groupId>org.onap.aaf.cadi</groupId>
403 <artifactId>cadi-aaf</artifactId>
404 <version>${project.cadiVersion}</version>
407 <groupId>org.apache.cassandra</groupId>
408 <artifactId>cassandra-all</artifactId>
414 <groupId>org.onap.aaf.authz</groupId>
415 <artifactId>authz-client</artifactId>
416 <version>${project.interfaceVersion}</version>
421 <groupId>org.onap.aaf.authz</groupId>
422 <artifactId>authz-core</artifactId>
423 <version>${project.version}</version>
427 <groupId>org.onap.aaf.authz</groupId>
428 <artifactId>authz-cass</artifactId>
429 <version>${project.version}</version>
433 <groupId>org.onap.aaf.authz</groupId>
434 <artifactId>authz-batch</artifactId>
435 <version>${project.interfaceVersion}</version>
441 <groupId>org.onap.aaf.authz</groupId>
442 <artifactId>authz-cmd</artifactId>
443 <version>${project.version}</version>
446 <groupId>org.onap.aaf.authz</groupId>
447 <artifactId>authz-gw</artifactId>
448 <version>${project.version}</version>
452 <groupId>com.att.aft</groupId>
453 <artifactId>dme2</artifactId>
454 <version>${project.dme2Version}</version>
458 <groupId>javax.servlet</groupId>
459 <artifactId>servlet-api</artifactId>
460 <version>2.5</version>
464 <groupId>org.eclipse.jetty</groupId>
465 <artifactId>jetty-servlet</artifactId>
466 <version>9.0.3.v20130506</version>
470 <groupId>com.datastax.cassandra</groupId>
471 <artifactId>cassandra-all</artifactId>
472 <version>2.1.10</version>
475 <groupId>org.slf4j</groupId>
476 <artifactId>slf4j-log4j12</artifactId>
479 <groupId>log4j</groupId>
480 <artifactId>log4j</artifactId>
485 <groupId>com.datastax.cassandra</groupId>
486 <artifactId>cassandra-driver-core</artifactId>
487 <!-- version>1.0.3</version -->
488 <!-- version>1.0.5</version -->
489 <version>2.1.10</version>
492 <groupId>org.slf4j</groupId>
493 <artifactId>slf4j-log4j12</artifactId>
496 <groupId>log4j</groupId>
497 <artifactId>log4j</artifactId>
503 <groupId>org.slf4j</groupId>
504 <artifactId>slf4j-log4j12</artifactId>
505 <version>1.7.5</version>
509 <groupId>javax.mail</groupId>
510 <artifactId>mail</artifactId>
511 <version>1.4.5</version>
516 </dependencyManagement>
517 <distributionManagement>
519 <id>ecomp-releases</id>
520 <name>AAF Release Repository</name>
521 <url>${nexusproxy}${releaseNexusPath}</url>
524 <id>ecomp-snapshots</id>
525 <name>AAF Snapshot Repository</name>
526 <url>${nexusproxy}${snapshotNexusPath}</url>
527 </snapshotRepository>
530 <url>dav:${nexusproxy}${sitePath}</url>
532 </distributionManagement>
535 <id>onap-plugin-snapshots</id>
536 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
538 </pluginRepositories>
543 <name>Maven 2 repository 2</name>
544 <url>http://repo2.maven.org/maven2/</url>
547 <id>onap-jar-snapshots</id>
548 <url>https://nexus.onap.org/content/repositories/snapshots</url>
552 <name>Spring repo</name>
553 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
556 <id>repository.jboss.org-public</id>
557 <name>JBoss.org Maven repository</name>
558 <url>https://repository.jboss.org/nexus/content/groups/public</url>