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>
43 <name>Jonathan Gathman</name>
45 <organization>ATT</organization>
46 <organizationUrl></organizationUrl>
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.
55 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
56 <skipTests>false</skipTests>
57 <project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
58 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
59 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
60 <project.dme2Version>3.1.200</project.dme2Version>
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>
70 <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>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-compiler-plugin</artifactId>
82 <version>2.3.2</version>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-surefire-plugin</artifactId>
93 <version>2.17</version>
95 <skipTests>${skipTests}</skipTests>
97 <include>**/JU*.java</include>
101 <exclude>**/JU_DataFile.java</exclude>
102 <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>
117 <!-- <exclude>**/JU_Define.java</exclude> -->
118 <exclude>**/JU_Identities.java</exclude>
119 <exclude>**/JU_AuthzTransFilter.java</exclude>
120 <exclude>**/JU_CachingFileAccess.java</exclude>
121 <!-- <exclude>**/AbsServiceTest.java</exclude> -->
122 <!-- <exclude>**/JU_DefaultOrg.java</exclude> -->
123 <exclude>**/JU_FileServer.java</exclude>
124 <exclude>**/JU_DirectAAFLur.java</exclude>
125 <exclude>**/JU_AuthAPI.java</exclude>
126 <exclude>**/JU_GwAPI.java</exclude>
128 <!-- <exclude>**/JU_Perm_2_0*.java</exclude> -->
129 <!-- <exclude>**/JU_Role_2_0*.java</exclude> -->
137 <groupId>org.codehaus.mojo</groupId>
138 <artifactId>jaxb2-maven-plugin</artifactId>
139 <version>1.3</version>
142 <phase>generate-sources</phase>
149 <schemaDirectory>src/main/xsd</schemaDirectory>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-failsafe-plugin</artifactId>
156 <version>2.17</version>
158 <skipTests>true</skipTests>
162 <id>integration-test</id>
164 <goal>integration-test</goal>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-jarsigner-plugin</artifactId>
173 <version>1.2</version>
181 <!-- skip>${skipSigning}</skip -->
182 <archive>target/${project.artifactId}-${project.version}.jar</archive>
191 <archive>target/${project.artifactId}-${project.version}.jar</archive>
198 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
199 <storepass>Surprise!</storepass>
200 <keypass>Surprise!</keypass>
201 <verbose>true</verbose>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-javadoc-plugin</artifactId>
209 <version>2.10.4</version>
211 <failOnError>false</failOnError>
215 <id>attach-javadocs</id>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-source-plugin</artifactId>
228 <version>2.2.1</version>
231 <id>attach-sources</id>
233 <goal>jar-no-fork</goal>
241 <groupId>org.codehaus.mojo</groupId>
242 <artifactId>cobertura-maven-plugin</artifactId>
243 <version>2.7</version>
246 <format>html</format>
252 <groupId>org.sonatype.plugins</groupId>
253 <artifactId>nexus-staging-maven-plugin</artifactId>
254 <version>1.6.7</version>
255 <extensions>true</extensions>
257 <nexusUrl>${nexusproxy}</nexusUrl>
258 <stagingProfileId>176c31dfe190a</stagingProfileId>
259 <serverId>ecomp-staging</serverId>
263 <groupId>org.jacoco</groupId>
264 <artifactId>jacoco-maven-plugin</artifactId>
265 <version>${jacoco.version}</version>
268 <exclude>**/gen/**</exclude>
269 <exclude>**/generated-sources/**</exclude>
270 <exclude>**/yang-gen/**</exclude>
271 <exclude>**/pax/**</exclude>
277 <id>pre-unit-test</id>
279 <goal>prepare-agent</goal>
282 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
283 <propertyName>surefireArgLine</propertyName>
289 <id>post-unit-test</id>
295 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
296 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
300 <id>pre-integration-test</id>
301 <phase>pre-integration-test</phase>
303 <goal>prepare-agent</goal>
306 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
308 <propertyName>failsafeArgLine</propertyName>
314 <id>post-integration-test</id>
315 <phase>post-integration-test</phase>
320 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
321 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
333 <groupId>junit</groupId>
334 <artifactId>junit</artifactId>
335 <version>4.10</version>
340 <groupId>org.mockito</groupId>
341 <artifactId>mockito-core</artifactId>
342 <version>1.10.19</version>
346 <groupId>org.powermock</groupId>
347 <artifactId>powermock-module-junit4</artifactId>
348 <version>1.6.4</version>
352 <groupId>org.powermock</groupId>
353 <artifactId>powermock-api-mockito</artifactId>
354 <version>1.6.4</version>
363 <module> auth-client</module>
364 complile manually with mvn -N independently
366 <module>authz-client</module>
367 <module>authz-core</module>
368 <module>authz-cass</module>
369 <module>authz-defOrg</module>
370 <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>
377 <module>authz-service</module>
380 <dependencyManagement>
383 <groupId>org.onap.aaf.inno</groupId>
384 <artifactId>env</artifactId>
385 <version>${project.innoVersion}</version>
389 <groupId>org.onap.aaf.inno</groupId>
390 <artifactId>log4j</artifactId>
391 <version>${project.innoVersion}</version>
395 <groupId>org.onap.aaf.inno</groupId>
396 <artifactId>rosetta</artifactId>
397 <version>${project.innoVersion}</version>
401 <groupId>org.onap.aaf.inno</groupId>
402 <artifactId>xgen</artifactId>
403 <version>${project.innoVersion}</version>
407 <groupId>org.onap.aaf.cadi</groupId>
408 <artifactId>cadi-core</artifactId>
409 <version>${project.cadiVersion}</version>
413 <groupId>org.onap.aaf.cadi</groupId>
414 <artifactId>cadi-client</artifactId>
415 <version>${project.cadiVersion}</version>
420 <groupId>org.onap.aaf.cadi</groupId>
421 <artifactId>cadi-aaf</artifactId>
422 <version>${project.cadiVersion}</version>
425 <groupId>org.apache.cassandra</groupId>
426 <artifactId>cassandra-all</artifactId>
432 <groupId>org.onap.aaf.authz</groupId>
433 <artifactId>authz-client</artifactId>
434 <version>${project.interfaceVersion}</version>
439 <groupId>org.onap.aaf.authz</groupId>
440 <artifactId>authz-core</artifactId>
441 <version>${project.version}</version>
445 <groupId>org.onap.aaf.authz</groupId>
446 <artifactId>authz-cass</artifactId>
447 <version>${project.version}</version>
451 <groupId>org.onap.aaf.authz</groupId>
452 <artifactId>authz-batch</artifactId>
453 <version>${project.interfaceVersion}</version>
459 <groupId>org.onap.aaf.authz</groupId>
460 <artifactId>authz-cmd</artifactId>
461 <version>${project.version}</version>
464 <groupId>org.onap.aaf.authz</groupId>
465 <artifactId>authz-gw</artifactId>
466 <version>${project.version}</version>
470 <groupId>com.att.aft</groupId>
471 <artifactId>dme2</artifactId>
472 <version>${project.dme2Version}</version>
476 <groupId>javax.servlet</groupId>
477 <artifactId>servlet-api</artifactId>
478 <version>2.5</version>
482 <groupId>org.eclipse.jetty</groupId>
483 <artifactId>jetty-servlet</artifactId>
484 <version>9.0.3.v20130506</version>
488 <groupId>com.datastax.cassandra</groupId>
489 <artifactId>cassandra-all</artifactId>
490 <version>2.1.10</version>
493 <groupId>org.slf4j</groupId>
494 <artifactId>slf4j-log4j12</artifactId>
497 <groupId>log4j</groupId>
498 <artifactId>log4j</artifactId>
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>
510 <groupId>org.slf4j</groupId>
511 <artifactId>slf4j-log4j12</artifactId>
514 <groupId>log4j</groupId>
515 <artifactId>log4j</artifactId>
521 <groupId>org.slf4j</groupId>
522 <artifactId>slf4j-log4j12</artifactId>
523 <version>1.7.5</version>
527 <groupId>javax.mail</groupId>
528 <artifactId>mail</artifactId>
529 <version>1.4.5</version>
534 </dependencyManagement>
535 <distributionManagement>
537 <id>ecomp-releases</id>
538 <name>AAF Release Repository</name>
539 <url>${nexusproxy}${releaseNexusPath}</url>
542 <id>ecomp-snapshots</id>
543 <name>AAF Snapshot Repository</name>
544 <url>${nexusproxy}${snapshotNexusPath}</url>
545 </snapshotRepository>
548 <url>dav:${nexusproxy}${sitePath}</url>
550 </distributionManagement>