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>Authz Parent (pom)</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>
257 <groupId>org.jacoco</groupId>
258 <artifactId>jacoco-maven-plugin</artifactId>
259 <version>0.7.7.201606060606</version>
261 <dumpOnExit>true</dumpOnExit>
263 <include>org.onap.aaf.*</include>
268 <id>pre-unit-test</id>
270 <goal>prepare-agent</goal>
273 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
274 <!-- <append>true</append> -->
278 <id>pre-integration-test</id>
279 <phase>pre-integration-test</phase>
281 <goal>prepare-agent</goal>
284 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
285 <!-- <append>true</append> -->
292 <phase>post-integration-test</phase>
295 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
296 <directory>${project.build.directory}/coverage-reports</directory>
298 <include>*.exec</include>
302 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
314 <groupId>junit</groupId>
315 <artifactId>junit</artifactId>
316 <version>4.10</version>
321 <groupId>org.mockito</groupId>
322 <artifactId>mockito-core</artifactId>
323 <version>1.10.19</version>
327 <groupId>org.powermock</groupId>
328 <artifactId>powermock-module-junit4</artifactId>
329 <version>1.6.4</version>
333 <groupId>org.powermock</groupId>
334 <artifactId>powermock-api-mockito</artifactId>
335 <version>1.6.4</version>
344 <module> auth-client</module>
345 complile manually with mvn -N independently
347 <module>authz-client</module>
348 <module>authz-core</module>
349 <module>authz-cass</module>
350 <module>authz-defOrg</module>
351 <module>authz-cmd</module>
352 <!-- <module>authz-batch</module>-->
353 <module>authz-test</module>
354 <!-- <module>authz-gui</module> -->
355 <module>authz-gw</module>
356 <module>authz-certman</module>
357 <module>authz-fs</module>
358 <module>authz-service</module>
361 <dependencyManagement>
364 <groupId>org.onap.aaf.inno</groupId>
365 <artifactId>env</artifactId>
366 <version>${project.innoVersion}</version>
370 <groupId>org.onap.aaf.inno</groupId>
371 <artifactId>log4j</artifactId>
372 <version>${project.innoVersion}</version>
376 <groupId>org.onap.aaf.inno</groupId>
377 <artifactId>rosetta</artifactId>
378 <version>${project.innoVersion}</version>
382 <groupId>org.onap.aaf.inno</groupId>
383 <artifactId>xgen</artifactId>
384 <version>${project.innoVersion}</version>
388 <groupId>org.onap.aaf.cadi</groupId>
389 <artifactId>cadi-core</artifactId>
390 <version>${project.cadiVersion}</version>
394 <groupId>org.onap.aaf.cadi</groupId>
395 <artifactId>cadi-client</artifactId>
396 <version>${project.cadiVersion}</version>
401 <groupId>org.onap.aaf.cadi</groupId>
402 <artifactId>cadi-aaf</artifactId>
403 <version>${project.cadiVersion}</version>
406 <groupId>org.apache.cassandra</groupId>
407 <artifactId>cassandra-all</artifactId>
413 <groupId>org.onap.aaf.authz</groupId>
414 <artifactId>authz-client</artifactId>
415 <version>${project.interfaceVersion}</version>
420 <groupId>org.onap.aaf.authz</groupId>
421 <artifactId>authz-core</artifactId>
422 <version>${project.version}</version>
426 <groupId>org.onap.aaf.authz</groupId>
427 <artifactId>authz-cass</artifactId>
428 <version>${project.version}</version>
432 <groupId>org.onap.aaf.authz</groupId>
433 <artifactId>authz-batch</artifactId>
434 <version>${project.interfaceVersion}</version>
440 <groupId>org.onap.aaf.authz</groupId>
441 <artifactId>authz-cmd</artifactId>
442 <version>${project.version}</version>
445 <groupId>org.onap.aaf.authz</groupId>
446 <artifactId>authz-gw</artifactId>
447 <version>${project.version}</version>
451 <groupId>com.att.aft</groupId>
452 <artifactId>dme2</artifactId>
453 <version>${project.dme2Version}</version>
457 <groupId>javax.servlet</groupId>
458 <artifactId>servlet-api</artifactId>
459 <version>2.5</version>
463 <groupId>org.eclipse.jetty</groupId>
464 <artifactId>jetty-servlet</artifactId>
465 <version>9.0.3.v20130506</version>
469 <groupId>com.datastax.cassandra</groupId>
470 <artifactId>cassandra-all</artifactId>
471 <version>2.1.10</version>
474 <groupId>org.slf4j</groupId>
475 <artifactId>slf4j-log4j12</artifactId>
478 <groupId>log4j</groupId>
479 <artifactId>log4j</artifactId>
484 <groupId>com.datastax.cassandra</groupId>
485 <artifactId>cassandra-driver-core</artifactId>
486 <!-- version>1.0.3</version -->
487 <!-- version>1.0.5</version -->
488 <version>2.1.10</version>
491 <groupId>org.slf4j</groupId>
492 <artifactId>slf4j-log4j12</artifactId>
495 <groupId>log4j</groupId>
496 <artifactId>log4j</artifactId>
502 <groupId>org.slf4j</groupId>
503 <artifactId>slf4j-log4j12</artifactId>
504 <version>1.7.5</version>
508 <groupId>javax.mail</groupId>
509 <artifactId>mail</artifactId>
510 <version>1.4.5</version>
515 </dependencyManagement>
516 <distributionManagement>
518 <id>ecomp-releases</id>
519 <name>AAF Release Repository</name>
520 <url>${nexusproxy}${releaseNexusPath}</url>
523 <id>ecomp-snapshots</id>
524 <name>AAF Snapshot Repository</name>
525 <url>${nexusproxy}${snapshotNexusPath}</url>
526 </snapshotRepository>
529 <url>dav:${nexusproxy}${sitePath}</url>
531 </distributionManagement>
534 <id>onap-plugin-snapshots</id>
535 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
537 </pluginRepositories>
542 <name>Maven 2 repository 2</name>
543 <url>http://repo2.maven.org/maven2/</url>
546 <id>onap-jar-snapshots</id>
547 <url>https://nexus.onap.org/content/repositories/snapshots</url>
551 <name>Spring repo</name>
552 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
555 <id>repository.jboss.org-public</id>
556 <name>JBoss.org Maven repository</name>
557 <url>https://repository.jboss.org/nexus/content/groups/public</url>