blob: 6aa235374f17e72a947a10a20d0d893c91826568 [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>
sg481nbd890c52017-08-28 12:11:35 -040061 <project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
sg481ndcf76982017-08-10 17:50:54 -040062 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
63 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n43854a92017-08-03 17:27:34 -040064 <project.dme2Version>3.1.200</project.dme2Version>
sg481n40cd3562017-09-01 13:12:31 -040065 <sonar.language>java</sonar.language>
66 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
67 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
68 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
69 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481n92685f22017-09-29 01:12:16 +000070 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
sg481n40cd3562017-09-01 13:12:31 -040071 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481naa2c01c2017-08-25 01:29:57 -040072 <nexusproxy>https://nexus.onap.org</nexusproxy>
73 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
74 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
75 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
76 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481n43854a92017-08-03 17:27:34 -040077 </properties>
sg481n43854a92017-08-03 17:27:34 -040078 <build>
79 <pluginManagement>
80 <plugins>
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-compiler-plugin</artifactId>
84 <version>2.3.2</version>
85 <configuration>
86 <source>1.8</source>
87 <target>1.8</target>
88 </configuration>
89 </plugin>
sg481na2ac6782017-09-18 16:35:50 -040090
sg481n43854a92017-08-03 17:27:34 -040091
sg481nbd890c52017-08-28 12:11:35 -040092 <plugin>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-surefire-plugin</artifactId>
95 <version>2.17</version>
96 <configuration>
sg481nbd890c52017-08-28 12:11:35 -040097 <includes>
98 <include>**/JU*.java</include>
99 </includes>
100 <excludes>
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_AuthzTransFilter.java</exclude>
119 <exclude>**/JU_CachingFileAccess.java</exclude>
120 <!-- <exclude>**/AbsServiceTest.java</exclude> -->
121 <exclude>**/JU_DefaultOrg.java</exclude>
sg481na9d21082017-09-23 14:26:06 +0000122 <exclude>**/JU_FileServer.java</exclude>
123 <exclude>**/JU_DirectAAFLur.java</exclude>
124 <exclude>**/JU_AuthAPI.java</exclude>
125 <exclude>**/JU_GwAPI.java</exclude>
126
sg481nbd890c52017-08-28 12:11:35 -0400127 <!-- <exclude>**/JU_Perm_2_0*.java</exclude> -->
128 <!-- <exclude>**/JU_Role_2_0*.java</exclude> -->
129 </excludes>
130
131 </configuration>
132 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400133
134 <plugin>
135 <groupId>org.codehaus.mojo</groupId>
136 <artifactId>jaxb2-maven-plugin</artifactId>
137 <version>1.3</version>
138 <executions>
139 <execution>
140 <phase>generate-sources</phase>
141 <goals>
142 <goal>xjc</goal>
143 </goals>
144 </execution>
145 </executions>
146 <configuration>
147 <schemaDirectory>src/main/xsd</schemaDirectory>
148 </configuration>
149 </plugin>
150
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-failsafe-plugin</artifactId>
154 <version>2.17</version>
155 <configuration>
156 <skipTests>true</skipTests>
157 </configuration>
158 <executions>
159 <execution>
160 <id>integration-test</id>
161 <goals>
162 <goal>integration-test</goal>
163 <goal>verify</goal>
164 </goals>
165 </execution>
166 </executions>
167 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400168 <plugin>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-jarsigner-plugin</artifactId>
171 <version>1.2</version>
172 <executions>
173 <execution>
174 <id>sign</id>
175 <goals>
176 <goal>sign</goal>
177 </goals>
178 <configuration>
179 <!-- skip>${skipSigning}</skip -->
180 <archive>target/${project.artifactId}-${project.version}.jar</archive>
181 </configuration>
182 </execution>
183 <execution>
184 <id>verify</id>
185 <goals>
186 <goal>verify</goal>
187 </goals>
188 <configuration>
189 <archive>target/${project.artifactId}-${project.version}.jar</archive>
190 </configuration>
191 </execution>
192 </executions>
193 <configuration>
194 <skip>true</skip>
195 <alias>aaf</alias>
196 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
197 <storepass>Surprise!</storepass>
198 <keypass>Surprise!</keypass>
199 <verbose>true</verbose>
200 <certs>true</certs>
201 </configuration>
202 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400203
sg481na9d21082017-09-23 14:26:06 +0000204 <plugin>
sg481n43854a92017-08-03 17:27:34 -0400205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000207 <version>2.10.4</version>
sg481n43854a92017-08-03 17:27:34 -0400208 <configuration>
209 <failOnError>false</failOnError>
210 </configuration>
211 <executions>
212 <execution>
213 <id>attach-javadocs</id>
214 <goals>
215 <goal>jar</goal>
216 </goals>
217 </execution>
218 </executions>
219 </plugin>
sg481na9d21082017-09-23 14:26:06 +0000220
221
sg481n43854a92017-08-03 17:27:34 -0400222
223 <plugin>
224 <groupId>org.apache.maven.plugins</groupId>
225 <artifactId>maven-source-plugin</artifactId>
226 <version>2.2.1</version>
227 <executions>
228 <execution>
229 <id>attach-sources</id>
230 <goals>
231 <goal>jar-no-fork</goal>
232 </goals>
233 </execution>
234 </executions>
235 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400236
sg481n43854a92017-08-03 17:27:34 -0400237
238 <plugin>
239 <groupId>org.codehaus.mojo</groupId>
240 <artifactId>cobertura-maven-plugin</artifactId>
241 <version>2.7</version>
242 <configuration>
243 <formats>
244 <format>html</format>
245 <format>xml</format>
246 </formats>
247 </configuration>
248 </plugin>
sg481naa2c01c2017-08-25 01:29:57 -0400249 <plugin>
250 <groupId>org.sonatype.plugins</groupId>
251 <artifactId>nexus-staging-maven-plugin</artifactId>
252 <version>1.6.7</version>
253 <extensions>true</extensions>
254 <configuration>
255 <nexusUrl>${nexusproxy}</nexusUrl>
256 <stagingProfileId>176c31dfe190a</stagingProfileId>
257 <serverId>ecomp-staging</serverId>
258 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400259 </plugin>
260 <plugin>
261 <groupId>org.jacoco</groupId>
262 <artifactId>jacoco-maven-plugin</artifactId>
263 <version>0.7.7.201606060606</version>
264 <configuration>
265 <dumpOnExit>true</dumpOnExit>
sg481n40cd3562017-09-01 13:12:31 -0400266 </configuration>
267 <executions>
268 <execution>
269 <id>pre-unit-test</id>
270 <goals>
271 <goal>prepare-agent</goal>
272 </goals>
273 <configuration>
274 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
275 <!-- <append>true</append> -->
276 </configuration>
277 </execution>
278 <execution>
279 <id>pre-integration-test</id>
280 <phase>pre-integration-test</phase>
281 <goals>
282 <goal>prepare-agent</goal>
283 </goals>
284 <configuration>
285 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
286 <!-- <append>true</append> -->
287 </configuration>
288 </execution>
289 <execution>
290 <goals>
291 <goal>merge</goal>
292 </goals>
293 <phase>post-integration-test</phase>
294 <configuration>
295 <fileSets>
296 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
297 <directory>${project.build.directory}/coverage-reports</directory>
298 <includes>
299 <include>*.exec</include>
300 </includes>
301 </fileSet>
302 </fileSets>
303 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
304 </configuration>
305 </execution>
306 </executions>
sg481naa2c01c2017-08-25 01:29:57 -0400307 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400308
309 </plugins>
310 </pluginManagement>
311 </build>
sg481n70529ba2017-09-21 13:29:12 +0000312
sg481n43854a92017-08-03 17:27:34 -0400313 <dependencies>
314 <dependency>
315 <groupId>junit</groupId>
316 <artifactId>junit</artifactId>
317 <version>4.10</version>
318 <scope>test</scope>
319 </dependency>
320
321 <dependency>
322 <groupId>org.mockito</groupId>
323 <artifactId>mockito-core</artifactId>
324 <version>1.10.19</version>
325 <scope>test</scope>
326 </dependency>
327 <dependency>
328 <groupId>org.powermock</groupId>
329 <artifactId>powermock-module-junit4</artifactId>
330 <version>1.6.4</version>
331 <scope>test</scope>
332 </dependency>
333 <dependency>
334 <groupId>org.powermock</groupId>
335 <artifactId>powermock-api-mockito</artifactId>
336 <version>1.6.4</version>
337 <scope>test</scope>
338 </dependency>
339
340
341 </dependencies>
342
343 <modules>
sg481nbd890c52017-08-28 12:11:35 -0400344 <!--
345 <module> auth-client</module>
346 complile manually with mvn -N independently
347 -->
sg481n43854a92017-08-03 17:27:34 -0400348 <module>authz-client</module>
sg481nbd890c52017-08-28 12:11:35 -0400349 <module>authz-core</module>
350 <module>authz-cass</module>
351 <module>authz-defOrg</module>
sg481nbd890c52017-08-28 12:11:35 -0400352 <module>authz-cmd</module>
353 <!-- <module>authz-batch</module>-->
354 <module>authz-test</module>
355 <!-- <module>authz-gui</module> -->
356 <module>authz-gw</module>
357 <module>authz-certman</module>
358 <module>authz-fs</module>
sg481n5c30b7f2017-09-17 11:37:00 -0400359 <module>authz-service</module>
sg481n43854a92017-08-03 17:27:34 -0400360 </modules>
361
362 <dependencyManagement>
363 <dependencies>
364 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400365 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400366 <artifactId>env</artifactId>
367 <version>${project.innoVersion}</version>
368 </dependency>
369
370 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400371 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400372 <artifactId>log4j</artifactId>
373 <version>${project.innoVersion}</version>
374 </dependency>
375
376 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400377 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400378 <artifactId>rosetta</artifactId>
379 <version>${project.innoVersion}</version>
380 </dependency>
381
382 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400383 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400384 <artifactId>xgen</artifactId>
385 <version>${project.innoVersion}</version>
386 </dependency>
387
sg481nbd890c52017-08-28 12:11:35 -0400388 <dependency>
389 <groupId>org.onap.aaf.cadi</groupId>
390 <artifactId>cadi-core</artifactId>
391 <version>${project.cadiVersion}</version>
392 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400393
sg481nbd890c52017-08-28 12:11:35 -0400394 <dependency>
395 <groupId>org.onap.aaf.cadi</groupId>
396 <artifactId>cadi-client</artifactId>
397 <version>${project.cadiVersion}</version>
398 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400399
sg481nbd890c52017-08-28 12:11:35 -0400400
401 <dependency>
402 <groupId>org.onap.aaf.cadi</groupId>
403 <artifactId>cadi-aaf</artifactId>
404 <version>${project.cadiVersion}</version>
405 <exclusions>
406 <exclusion>
407 <groupId>org.apache.cassandra</groupId>
408 <artifactId>cassandra-all</artifactId>
409 </exclusion>
410 </exclusions>
411 </dependency>
412
413 <dependency>
414 <groupId>org.onap.aaf.authz</groupId>
415 <artifactId>authz-client</artifactId>
416 <version>${project.interfaceVersion}</version>
417 </dependency>
418
419
420 <dependency>
421 <groupId>org.onap.aaf.authz</groupId>
422 <artifactId>authz-core</artifactId>
423 <version>${project.version}</version>
424 </dependency>
425
426 <dependency>
427 <groupId>org.onap.aaf.authz</groupId>
428 <artifactId>authz-cass</artifactId>
429 <version>${project.version}</version>
430 </dependency>
431
432 <dependency>
433 <groupId>org.onap.aaf.authz</groupId>
434 <artifactId>authz-batch</artifactId>
435 <version>${project.interfaceVersion}</version>
436 </dependency>
437
438
439
440 <dependency>
441 <groupId>org.onap.aaf.authz</groupId>
442 <artifactId>authz-cmd</artifactId>
443 <version>${project.version}</version>
444 </dependency>
445 <dependency>
446 <groupId>org.onap.aaf.authz</groupId>
447 <artifactId>authz-gw</artifactId>
448 <version>${project.version}</version>
449 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400450
451 <dependency>
452 <groupId>com.att.aft</groupId>
453 <artifactId>dme2</artifactId>
sg481n43854a92017-08-03 17:27:34 -0400454 <version>${project.dme2Version}</version>
455 </dependency>
456
457 <dependency>
458 <groupId>javax.servlet</groupId>
459 <artifactId>servlet-api</artifactId>
460 <version>2.5</version>
461 </dependency>
462
463 <dependency>
464 <groupId>org.eclipse.jetty</groupId>
465 <artifactId>jetty-servlet</artifactId>
466 <version>9.0.3.v20130506</version>
467 </dependency>
468
469 <dependency>
470 <groupId>com.datastax.cassandra</groupId>
471 <artifactId>cassandra-all</artifactId>
472 <version>2.1.10</version>
473 <exclusions>
474 <exclusion>
475 <groupId>org.slf4j</groupId>
476 <artifactId>slf4j-log4j12</artifactId>
477 </exclusion>
478 <exclusion>
479 <groupId>log4j</groupId>
480 <artifactId>log4j</artifactId>
481 </exclusion>
482 </exclusions>
483 </dependency>
484 <dependency>
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>
490 <exclusions>
491 <exclusion>
492 <groupId>org.slf4j</groupId>
493 <artifactId>slf4j-log4j12</artifactId>
494 </exclusion>
495 <exclusion>
496 <groupId>log4j</groupId>
497 <artifactId>log4j</artifactId>
498 </exclusion>
499 </exclusions>
500 </dependency>
501
502 <dependency>
503 <groupId>org.slf4j</groupId>
504 <artifactId>slf4j-log4j12</artifactId>
505 <version>1.7.5</version>
506 </dependency>
507
508 <dependency>
509 <groupId>javax.mail</groupId>
510 <artifactId>mail</artifactId>
511 <version>1.4.5</version>
512 </dependency>
513
514
515 </dependencies>
516 </dependencyManagement>
sg481nbd890c52017-08-28 12:11:35 -0400517 <distributionManagement>
sg481naa2c01c2017-08-25 01:29:57 -0400518 <repository>
519 <id>ecomp-releases</id>
520 <name>AAF Release Repository</name>
521 <url>${nexusproxy}${releaseNexusPath}</url>
522 </repository>
523 <snapshotRepository>
524 <id>ecomp-snapshots</id>
525 <name>AAF Snapshot Repository</name>
526 <url>${nexusproxy}${snapshotNexusPath}</url>
527 </snapshotRepository>
528 <site>
529 <id>ecomp-site</id>
530 <url>dav:${nexusproxy}${sitePath}</url>
531 </site>
532 </distributionManagement>
sg481na9d21082017-09-23 14:26:06 +0000533
sg481n43854a92017-08-03 17:27:34 -0400534</project>