blob: 9a718b8c06f9f97c37b592fa189d7cad7405310b [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
sg481n43854a92017-08-03 17:27:34 -040040 <licenses>
41 <license>
42 <name>BSD License</name>
43 <url> </url>
44 </license>
45 </licenses>
46 <developers>
47 <developer>
48 <name>Jonathan Gathman</name>
49 <email></email>
50 <organization>ATT</organization>
51 <organizationUrl></organizationUrl>
52 </developer>
53 </developers>
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.
58 </description>
59 <properties>
60 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
sg481n08e11042017-09-29 12:33:53 +000061 <skipTests>false</skipTests>
sg481nbd890c52017-08-28 12:11:35 -040062 <project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
sg481ndcf76982017-08-10 17:50:54 -040063 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
64 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n43854a92017-08-03 17:27:34 -040065 <project.dme2Version>3.1.200</project.dme2Version>
sg481n40cd3562017-09-01 13:12:31 -040066 <sonar.language>java</sonar.language>
67 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
68 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
69 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
70 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481nd84864f2017-10-01 20:56:42 +000071 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
sg481n40cd3562017-09-01 13:12:31 -040072 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481naa2c01c2017-08-25 01:29:57 -040073 <nexusproxy>https://nexus.onap.org</nexusproxy>
74 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
75 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
76 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
77 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481n43854a92017-08-03 17:27:34 -040078 </properties>
sg481n43854a92017-08-03 17:27:34 -040079 <build>
80 <pluginManagement>
81 <plugins>
82 <plugin>
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-compiler-plugin</artifactId>
85 <version>2.3.2</version>
86 <configuration>
87 <source>1.8</source>
88 <target>1.8</target>
89 </configuration>
90 </plugin>
sg481na2ac6782017-09-18 16:35:50 -040091
sg481n43854a92017-08-03 17:27:34 -040092
sg481nbd890c52017-08-28 12:11:35 -040093 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-surefire-plugin</artifactId>
96 <version>2.17</version>
97 <configuration>
sg481n08e11042017-09-29 12:33:53 +000098 <skipTests>${skipTests}</skipTests>
sg481nbd890c52017-08-28 12:11:35 -040099 <includes>
100 <include>**/JU*.java</include>
101 </includes>
102 <excludes>
sg481nf33ea6d2017-10-01 17:28:44 +0000103
104 <exclude>**/JU_DataFile.java</exclude>
sg481nbd890c52017-08-28 12:11:35 -0400105 <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>
sg481na9d21082017-09-23 14:26:06 +0000125 <exclude>**/JU_FileServer.java</exclude>
126 <exclude>**/JU_DirectAAFLur.java</exclude>
127 <exclude>**/JU_AuthAPI.java</exclude>
sg481nf33ea6d2017-10-01 17:28:44 +0000128 <exclude>**/JU_GwAPI.java</exclude>
sg481na9d21082017-09-23 14:26:06 +0000129
sg481nbd890c52017-08-28 12:11:35 -0400130 <!-- <exclude>**/JU_Perm_2_0*.java</exclude> -->
131 <!-- <exclude>**/JU_Role_2_0*.java</exclude> -->
sg481nf33ea6d2017-10-01 17:28:44 +0000132
sg481nbd890c52017-08-28 12:11:35 -0400133 </excludes>
134
135 </configuration>
136 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400137
138 <plugin>
139 <groupId>org.codehaus.mojo</groupId>
140 <artifactId>jaxb2-maven-plugin</artifactId>
141 <version>1.3</version>
142 <executions>
143 <execution>
144 <phase>generate-sources</phase>
145 <goals>
146 <goal>xjc</goal>
147 </goals>
148 </execution>
149 </executions>
150 <configuration>
151 <schemaDirectory>src/main/xsd</schemaDirectory>
152 </configuration>
153 </plugin>
154
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-failsafe-plugin</artifactId>
158 <version>2.17</version>
159 <configuration>
160 <skipTests>true</skipTests>
161 </configuration>
162 <executions>
163 <execution>
164 <id>integration-test</id>
165 <goals>
166 <goal>integration-test</goal>
167 <goal>verify</goal>
168 </goals>
169 </execution>
170 </executions>
171 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-jarsigner-plugin</artifactId>
175 <version>1.2</version>
176 <executions>
177 <execution>
178 <id>sign</id>
179 <goals>
180 <goal>sign</goal>
181 </goals>
182 <configuration>
183 <!-- skip>${skipSigning}</skip -->
184 <archive>target/${project.artifactId}-${project.version}.jar</archive>
185 </configuration>
186 </execution>
187 <execution>
188 <id>verify</id>
189 <goals>
190 <goal>verify</goal>
191 </goals>
192 <configuration>
193 <archive>target/${project.artifactId}-${project.version}.jar</archive>
194 </configuration>
195 </execution>
196 </executions>
197 <configuration>
198 <skip>true</skip>
199 <alias>aaf</alias>
200 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
201 <storepass>Surprise!</storepass>
202 <keypass>Surprise!</keypass>
203 <verbose>true</verbose>
204 <certs>true</certs>
205 </configuration>
206 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400207
sg481na9d21082017-09-23 14:26:06 +0000208 <plugin>
sg481n43854a92017-08-03 17:27:34 -0400209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000211 <version>2.10.4</version>
sg481n43854a92017-08-03 17:27:34 -0400212 <configuration>
213 <failOnError>false</failOnError>
214 </configuration>
215 <executions>
216 <execution>
217 <id>attach-javadocs</id>
218 <goals>
219 <goal>jar</goal>
220 </goals>
221 </execution>
222 </executions>
223 </plugin>
sg481na9d21082017-09-23 14:26:06 +0000224
225
sg481n43854a92017-08-03 17:27:34 -0400226
227 <plugin>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-source-plugin</artifactId>
230 <version>2.2.1</version>
231 <executions>
232 <execution>
233 <id>attach-sources</id>
234 <goals>
235 <goal>jar-no-fork</goal>
236 </goals>
237 </execution>
238 </executions>
239 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400240
sg481n43854a92017-08-03 17:27:34 -0400241
242 <plugin>
243 <groupId>org.codehaus.mojo</groupId>
244 <artifactId>cobertura-maven-plugin</artifactId>
245 <version>2.7</version>
246 <configuration>
247 <formats>
248 <format>html</format>
249 <format>xml</format>
250 </formats>
251 </configuration>
252 </plugin>
sg481naa2c01c2017-08-25 01:29:57 -0400253 <plugin>
254 <groupId>org.sonatype.plugins</groupId>
255 <artifactId>nexus-staging-maven-plugin</artifactId>
256 <version>1.6.7</version>
257 <extensions>true</extensions>
258 <configuration>
259 <nexusUrl>${nexusproxy}</nexusUrl>
260 <stagingProfileId>176c31dfe190a</stagingProfileId>
261 <serverId>ecomp-staging</serverId>
262 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400263 </plugin>
sg481n2783a8d2017-10-02 04:11:12 +0000264 <plugin>
265 <groupId>org.jacoco</groupId>
266 <artifactId>jacoco-maven-plugin</artifactId>
267 <version>0.7.7.201606060606</version>
268 <configuration>
269 <dumpOnExit>true</dumpOnExit>
270 <includes>
271 <include>org.onap.aaf.*</include>
272 </includes>
273 </configuration>
274 <executions>
275 <execution>
276 <id>pre-unit-test</id>
277 <goals>
278 <goal>prepare-agent</goal>
279 </goals>
280 <configuration>
281 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
282 <!-- <append>true</append> -->
283 </configuration>
284 </execution>
285 <execution>
286 <id>pre-integration-test</id>
287 <phase>pre-integration-test</phase>
288 <goals>
289 <goal>prepare-agent</goal>
290 </goals>
291 <configuration>
292 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
293 <!-- <append>true</append> -->
294 </configuration>
295 </execution>
296 <execution>
297 <goals>
298 <goal>merge</goal>
299 </goals>
300 <phase>post-integration-test</phase>
301 <configuration>
302 <fileSets>
303 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
304 <directory>${project.build.directory}/coverage-reports</directory>
305 <includes>
306 <include>*.exec</include>
307 </includes>
308 </fileSet>
309 </fileSets>
310 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
311 </configuration>
312 </execution>
313 </executions>
314 </plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000315
sg481n43854a92017-08-03 17:27:34 -0400316
317 </plugins>
318 </pluginManagement>
319 </build>
sg481n70529ba2017-09-21 13:29:12 +0000320
sg481n43854a92017-08-03 17:27:34 -0400321 <dependencies>
322 <dependency>
323 <groupId>junit</groupId>
324 <artifactId>junit</artifactId>
325 <version>4.10</version>
326 <scope>test</scope>
327 </dependency>
328
329 <dependency>
330 <groupId>org.mockito</groupId>
331 <artifactId>mockito-core</artifactId>
332 <version>1.10.19</version>
333 <scope>test</scope>
334 </dependency>
335 <dependency>
336 <groupId>org.powermock</groupId>
337 <artifactId>powermock-module-junit4</artifactId>
338 <version>1.6.4</version>
339 <scope>test</scope>
340 </dependency>
341 <dependency>
342 <groupId>org.powermock</groupId>
343 <artifactId>powermock-api-mockito</artifactId>
344 <version>1.6.4</version>
345 <scope>test</scope>
346 </dependency>
347
348
349 </dependencies>
350
351 <modules>
sg481nbd890c52017-08-28 12:11:35 -0400352 <!--
353 <module> auth-client</module>
354 complile manually with mvn -N independently
355 -->
sg481n43854a92017-08-03 17:27:34 -0400356 <module>authz-client</module>
sg481nbd890c52017-08-28 12:11:35 -0400357 <module>authz-core</module>
358 <module>authz-cass</module>
359 <module>authz-defOrg</module>
sg481nbd890c52017-08-28 12:11:35 -0400360 <module>authz-cmd</module>
361 <!-- <module>authz-batch</module>-->
362 <module>authz-test</module>
363 <!-- <module>authz-gui</module> -->
364 <module>authz-gw</module>
365 <module>authz-certman</module>
366 <module>authz-fs</module>
sg481n5c30b7f2017-09-17 11:37:00 -0400367 <module>authz-service</module>
sg481n43854a92017-08-03 17:27:34 -0400368 </modules>
369
370 <dependencyManagement>
371 <dependencies>
372 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400373 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400374 <artifactId>env</artifactId>
375 <version>${project.innoVersion}</version>
376 </dependency>
377
378 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400379 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400380 <artifactId>log4j</artifactId>
381 <version>${project.innoVersion}</version>
382 </dependency>
383
384 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400385 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400386 <artifactId>rosetta</artifactId>
387 <version>${project.innoVersion}</version>
388 </dependency>
389
390 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400391 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400392 <artifactId>xgen</artifactId>
393 <version>${project.innoVersion}</version>
394 </dependency>
395
sg481nbd890c52017-08-28 12:11:35 -0400396 <dependency>
397 <groupId>org.onap.aaf.cadi</groupId>
398 <artifactId>cadi-core</artifactId>
399 <version>${project.cadiVersion}</version>
400 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400401
sg481nbd890c52017-08-28 12:11:35 -0400402 <dependency>
403 <groupId>org.onap.aaf.cadi</groupId>
404 <artifactId>cadi-client</artifactId>
405 <version>${project.cadiVersion}</version>
406 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400407
sg481nbd890c52017-08-28 12:11:35 -0400408
409 <dependency>
410 <groupId>org.onap.aaf.cadi</groupId>
411 <artifactId>cadi-aaf</artifactId>
412 <version>${project.cadiVersion}</version>
413 <exclusions>
414 <exclusion>
415 <groupId>org.apache.cassandra</groupId>
416 <artifactId>cassandra-all</artifactId>
417 </exclusion>
418 </exclusions>
419 </dependency>
420
421 <dependency>
422 <groupId>org.onap.aaf.authz</groupId>
423 <artifactId>authz-client</artifactId>
424 <version>${project.interfaceVersion}</version>
425 </dependency>
426
427
428 <dependency>
429 <groupId>org.onap.aaf.authz</groupId>
430 <artifactId>authz-core</artifactId>
431 <version>${project.version}</version>
432 </dependency>
433
434 <dependency>
435 <groupId>org.onap.aaf.authz</groupId>
436 <artifactId>authz-cass</artifactId>
437 <version>${project.version}</version>
438 </dependency>
439
440 <dependency>
441 <groupId>org.onap.aaf.authz</groupId>
442 <artifactId>authz-batch</artifactId>
443 <version>${project.interfaceVersion}</version>
444 </dependency>
445
446
447
448 <dependency>
449 <groupId>org.onap.aaf.authz</groupId>
450 <artifactId>authz-cmd</artifactId>
451 <version>${project.version}</version>
452 </dependency>
453 <dependency>
454 <groupId>org.onap.aaf.authz</groupId>
455 <artifactId>authz-gw</artifactId>
456 <version>${project.version}</version>
457 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400458
459 <dependency>
460 <groupId>com.att.aft</groupId>
461 <artifactId>dme2</artifactId>
sg481n43854a92017-08-03 17:27:34 -0400462 <version>${project.dme2Version}</version>
463 </dependency>
464
465 <dependency>
466 <groupId>javax.servlet</groupId>
467 <artifactId>servlet-api</artifactId>
468 <version>2.5</version>
469 </dependency>
470
471 <dependency>
472 <groupId>org.eclipse.jetty</groupId>
473 <artifactId>jetty-servlet</artifactId>
474 <version>9.0.3.v20130506</version>
475 </dependency>
476
477 <dependency>
478 <groupId>com.datastax.cassandra</groupId>
479 <artifactId>cassandra-all</artifactId>
480 <version>2.1.10</version>
481 <exclusions>
482 <exclusion>
483 <groupId>org.slf4j</groupId>
484 <artifactId>slf4j-log4j12</artifactId>
485 </exclusion>
486 <exclusion>
487 <groupId>log4j</groupId>
488 <artifactId>log4j</artifactId>
489 </exclusion>
490 </exclusions>
491 </dependency>
492 <dependency>
493 <groupId>com.datastax.cassandra</groupId>
494 <artifactId>cassandra-driver-core</artifactId>
495 <!-- version>1.0.3</version -->
496 <!-- version>1.0.5</version -->
497 <version>2.1.10</version>
498 <exclusions>
499 <exclusion>
500 <groupId>org.slf4j</groupId>
501 <artifactId>slf4j-log4j12</artifactId>
502 </exclusion>
503 <exclusion>
504 <groupId>log4j</groupId>
505 <artifactId>log4j</artifactId>
506 </exclusion>
507 </exclusions>
508 </dependency>
509
510 <dependency>
511 <groupId>org.slf4j</groupId>
512 <artifactId>slf4j-log4j12</artifactId>
513 <version>1.7.5</version>
514 </dependency>
515
516 <dependency>
517 <groupId>javax.mail</groupId>
518 <artifactId>mail</artifactId>
519 <version>1.4.5</version>
520 </dependency>
521
522
523 </dependencies>
524 </dependencyManagement>
sg481nbd890c52017-08-28 12:11:35 -0400525 <distributionManagement>
sg481naa2c01c2017-08-25 01:29:57 -0400526 <repository>
527 <id>ecomp-releases</id>
528 <name>AAF Release Repository</name>
529 <url>${nexusproxy}${releaseNexusPath}</url>
530 </repository>
531 <snapshotRepository>
532 <id>ecomp-snapshots</id>
533 <name>AAF Snapshot Repository</name>
534 <url>${nexusproxy}${snapshotNexusPath}</url>
535 </snapshotRepository>
536 <site>
537 <id>ecomp-site</id>
538 <url>dav:${nexusproxy}${sitePath}</url>
539 </site>
540 </distributionManagement>
sg481na9d21082017-09-23 14:26:06 +0000541
sg481n43854a92017-08-03 17:27:34 -0400542</project>