blob: 5606f48a77354e6d2bdc128808b978fb4b42ca21 [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>
Gildas Lanilis686d16c2018-03-15 17:09:45 -070037 <version>1.1.0</version>
sg481na9d21082017-09-23 14:26:06 +000038 </parent>
sg481na2ac6782017-09-18 16:35:50 -040039
sg481n72aacef2017-10-05 16:13:21 +000040
sg481n43854a92017-08-03 17:27:34 -040041 <developers>
42 <developer>
43 <name>Jonathan Gathman</name>
44 <email></email>
45 <organization>ATT</organization>
46 <organizationUrl></organizationUrl>
47 </developer>
48 </developers>
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.
53 </description>
54 <properties>
55 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
sg481n08e11042017-09-29 12:33:53 +000056 <skipTests>false</skipTests>
sg481nbd890c52017-08-28 12:11:35 -040057 <project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
sg481ndcf76982017-08-10 17:50:54 -040058 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
59 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n43854a92017-08-03 17:27:34 -040060 <project.dme2Version>3.1.200</project.dme2Version>
GUNDAPANENI0a38f422017-10-03 11:42:40 -050061 <!-- SONAR -->
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>
sg481naa2c01c2017-08-25 01:29:57 -040070 <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>
sg481n43854a92017-08-03 17:27:34 -040075 </properties>
sg481n43854a92017-08-03 17:27:34 -040076 <build>
77 <pluginManagement>
78 <plugins>
79 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-compiler-plugin</artifactId>
82 <version>2.3.2</version>
83 <configuration>
84 <source>1.8</source>
85 <target>1.8</target>
86 </configuration>
87 </plugin>
sg481na2ac6782017-09-18 16:35:50 -040088
sg481n43854a92017-08-03 17:27:34 -040089
sg481nbd890c52017-08-28 12:11:35 -040090 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-surefire-plugin</artifactId>
93 <version>2.17</version>
94 <configuration>
sg481n08e11042017-09-29 12:33:53 +000095 <skipTests>${skipTests}</skipTests>
sg481nbd890c52017-08-28 12:11:35 -040096 <includes>
97 <include>**/JU*.java</include>
98 </includes>
99 <excludes>
sg481nf33ea6d2017-10-01 17:28:44 +0000100
101 <exclude>**/JU_DataFile.java</exclude>
sg481nbd890c52017-08-28 12:11:35 -0400102 <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>
GUNDAPANENI0a38f422017-10-03 11:42:40 -0500117 <!-- <exclude>**/JU_Define.java</exclude> -->
118 <exclude>**/JU_Identities.java</exclude>
sg481nbd890c52017-08-28 12:11:35 -0400119 <exclude>**/JU_AuthzTransFilter.java</exclude>
120 <exclude>**/JU_CachingFileAccess.java</exclude>
GUNDAPANENI6b0e4062017-10-03 13:55:11 -0500121 <!-- <exclude>**/AbsServiceTest.java</exclude> -->
122 <!-- <exclude>**/JU_DefaultOrg.java</exclude> -->
sg481na9d21082017-09-23 14:26:06 +0000123 <exclude>**/JU_FileServer.java</exclude>
124 <exclude>**/JU_DirectAAFLur.java</exclude>
125 <exclude>**/JU_AuthAPI.java</exclude>
Sripad0fdcb082018-02-18 20:57:46 +0000126 <exclude>**/JU_GwAPI.java</exclude>
127 <exclude>**/JU_NsDAO.java</exclude>
128 <exclude>**/JU_Delete.java</exclude>
129 <exclude>**/JU_Create.java</exclude>
130 <exclude>**/JU_Admin.java</exclude>
131 <exclude>**/JU_Attrib.java</exclude>
132 <exclude>**/JU_Describe.java</exclude>
133 <exclude>**/JU_ListUsersInRole.java</exclude>
134 <exclude>**/JU_ListUsersWithPerm.java</exclude>
135 <exclude>**/JU_Responsible.java</exclude>
136
137
138
sg481na9d21082017-09-23 14:26:06 +0000139
sg481nbd890c52017-08-28 12:11:35 -0400140 <!-- <exclude>**/JU_Perm_2_0*.java</exclude> -->
141 <!-- <exclude>**/JU_Role_2_0*.java</exclude> -->
sg481nf33ea6d2017-10-01 17:28:44 +0000142
sg481nbd890c52017-08-28 12:11:35 -0400143 </excludes>
144
145 </configuration>
146 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400147
148 <plugin>
149 <groupId>org.codehaus.mojo</groupId>
150 <artifactId>jaxb2-maven-plugin</artifactId>
151 <version>1.3</version>
152 <executions>
153 <execution>
154 <phase>generate-sources</phase>
155 <goals>
156 <goal>xjc</goal>
157 </goals>
158 </execution>
159 </executions>
160 <configuration>
161 <schemaDirectory>src/main/xsd</schemaDirectory>
162 </configuration>
163 </plugin>
164
165 <plugin>
166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-failsafe-plugin</artifactId>
168 <version>2.17</version>
169 <configuration>
170 <skipTests>true</skipTests>
171 </configuration>
172 <executions>
173 <execution>
174 <id>integration-test</id>
175 <goals>
176 <goal>integration-test</goal>
177 <goal>verify</goal>
178 </goals>
179 </execution>
180 </executions>
181 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400182 <plugin>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-jarsigner-plugin</artifactId>
185 <version>1.2</version>
186 <executions>
187 <execution>
188 <id>sign</id>
189 <goals>
190 <goal>sign</goal>
191 </goals>
192 <configuration>
193 <!-- skip>${skipSigning}</skip -->
194 <archive>target/${project.artifactId}-${project.version}.jar</archive>
195 </configuration>
196 </execution>
197 <execution>
198 <id>verify</id>
199 <goals>
200 <goal>verify</goal>
201 </goals>
202 <configuration>
203 <archive>target/${project.artifactId}-${project.version}.jar</archive>
204 </configuration>
205 </execution>
206 </executions>
207 <configuration>
208 <skip>true</skip>
209 <alias>aaf</alias>
210 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
211 <storepass>Surprise!</storepass>
212 <keypass>Surprise!</keypass>
213 <verbose>true</verbose>
214 <certs>true</certs>
215 </configuration>
216 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400217
sg481na9d21082017-09-23 14:26:06 +0000218 <plugin>
sg481n43854a92017-08-03 17:27:34 -0400219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000221 <version>2.10.4</version>
sg481n43854a92017-08-03 17:27:34 -0400222 <configuration>
223 <failOnError>false</failOnError>
224 </configuration>
225 <executions>
226 <execution>
227 <id>attach-javadocs</id>
228 <goals>
229 <goal>jar</goal>
230 </goals>
231 </execution>
232 </executions>
233 </plugin>
sg481na9d21082017-09-23 14:26:06 +0000234
235
sg481n43854a92017-08-03 17:27:34 -0400236
237 <plugin>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-source-plugin</artifactId>
240 <version>2.2.1</version>
241 <executions>
242 <execution>
243 <id>attach-sources</id>
244 <goals>
245 <goal>jar-no-fork</goal>
246 </goals>
247 </execution>
248 </executions>
249 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400250
sg481n43854a92017-08-03 17:27:34 -0400251
252 <plugin>
253 <groupId>org.codehaus.mojo</groupId>
254 <artifactId>cobertura-maven-plugin</artifactId>
255 <version>2.7</version>
256 <configuration>
257 <formats>
258 <format>html</format>
259 <format>xml</format>
260 </formats>
261 </configuration>
262 </plugin>
sg481naa2c01c2017-08-25 01:29:57 -0400263 <plugin>
264 <groupId>org.sonatype.plugins</groupId>
265 <artifactId>nexus-staging-maven-plugin</artifactId>
266 <version>1.6.7</version>
267 <extensions>true</extensions>
268 <configuration>
269 <nexusUrl>${nexusproxy}</nexusUrl>
270 <stagingProfileId>176c31dfe190a</stagingProfileId>
271 <serverId>ecomp-staging</serverId>
272 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400273 </plugin>
sg481n2783a8d2017-10-02 04:11:12 +0000274 <plugin>
GUNDAPANENI0a38f422017-10-03 11:42:40 -0500275 <groupId>org.jacoco</groupId>
276 <artifactId>jacoco-maven-plugin</artifactId>
277 <version>${jacoco.version}</version>
278 <configuration>
279 <excludes>
280 <exclude>**/gen/**</exclude>
281 <exclude>**/generated-sources/**</exclude>
282 <exclude>**/yang-gen/**</exclude>
283 <exclude>**/pax/**</exclude>
284 </excludes>
285 </configuration>
286 <executions>
sg481nf33ea6d2017-10-01 17:28:44 +0000287
GUNDAPANENI0a38f422017-10-03 11:42:40 -0500288 <execution>
289 <id>pre-unit-test</id>
290 <goals>
291 <goal>prepare-agent</goal>
292 </goals>
293 <configuration>
294 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
295 <propertyName>surefireArgLine</propertyName>
296 </configuration>
297 </execution>
298
299
300 <execution>
301 <id>post-unit-test</id>
302 <phase>test</phase>
303 <goals>
304 <goal>report</goal>
305 </goals>
306 <configuration>
307 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
308 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
309 </configuration>
310 </execution>
311 <execution>
312 <id>pre-integration-test</id>
313 <phase>pre-integration-test</phase>
314 <goals>
315 <goal>prepare-agent</goal>
316 </goals>
317 <configuration>
318 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
319
320 <propertyName>failsafeArgLine</propertyName>
321 </configuration>
322 </execution>
323
324
325 <execution>
326 <id>post-integration-test</id>
327 <phase>post-integration-test</phase>
328 <goals>
329 <goal>report</goal>
330 </goals>
331 <configuration>
332 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
333 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
334 </configuration>
335 </execution>
336 </executions>
337 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400338
339 </plugins>
340 </pluginManagement>
341 </build>
sg481n70529ba2017-09-21 13:29:12 +0000342
sg481n43854a92017-08-03 17:27:34 -0400343 <dependencies>
344 <dependency>
345 <groupId>junit</groupId>
346 <artifactId>junit</artifactId>
347 <version>4.10</version>
348 <scope>test</scope>
349 </dependency>
350
351 <dependency>
352 <groupId>org.mockito</groupId>
353 <artifactId>mockito-core</artifactId>
354 <version>1.10.19</version>
355 <scope>test</scope>
356 </dependency>
357 <dependency>
358 <groupId>org.powermock</groupId>
359 <artifactId>powermock-module-junit4</artifactId>
360 <version>1.6.4</version>
361 <scope>test</scope>
362 </dependency>
363 <dependency>
364 <groupId>org.powermock</groupId>
365 <artifactId>powermock-api-mockito</artifactId>
366 <version>1.6.4</version>
367 <scope>test</scope>
368 </dependency>
369
370
371 </dependencies>
372
373 <modules>
sg481nbd890c52017-08-28 12:11:35 -0400374 <!--
375 <module> auth-client</module>
376 complile manually with mvn -N independently
377 -->
sg481n43854a92017-08-03 17:27:34 -0400378 <module>authz-client</module>
sg481nbd890c52017-08-28 12:11:35 -0400379 <module>authz-core</module>
380 <module>authz-cass</module>
381 <module>authz-defOrg</module>
sg481nbd890c52017-08-28 12:11:35 -0400382 <module>authz-cmd</module>
383 <!-- <module>authz-batch</module>-->
384 <module>authz-test</module>
385 <!-- <module>authz-gui</module> -->
386 <module>authz-gw</module>
387 <module>authz-certman</module>
388 <module>authz-fs</module>
sg481n5c30b7f2017-09-17 11:37:00 -0400389 <module>authz-service</module>
sg481n43854a92017-08-03 17:27:34 -0400390 </modules>
391
392 <dependencyManagement>
393 <dependencies>
394 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400395 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400396 <artifactId>env</artifactId>
397 <version>${project.innoVersion}</version>
398 </dependency>
399
400 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400401 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400402 <artifactId>log4j</artifactId>
403 <version>${project.innoVersion}</version>
404 </dependency>
405
406 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400407 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400408 <artifactId>rosetta</artifactId>
409 <version>${project.innoVersion}</version>
410 </dependency>
411
412 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400413 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400414 <artifactId>xgen</artifactId>
415 <version>${project.innoVersion}</version>
416 </dependency>
417
sg481nbd890c52017-08-28 12:11:35 -0400418 <dependency>
419 <groupId>org.onap.aaf.cadi</groupId>
420 <artifactId>cadi-core</artifactId>
421 <version>${project.cadiVersion}</version>
422 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400423
sg481nbd890c52017-08-28 12:11:35 -0400424 <dependency>
425 <groupId>org.onap.aaf.cadi</groupId>
426 <artifactId>cadi-client</artifactId>
427 <version>${project.cadiVersion}</version>
428 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400429
sg481nbd890c52017-08-28 12:11:35 -0400430
431 <dependency>
432 <groupId>org.onap.aaf.cadi</groupId>
433 <artifactId>cadi-aaf</artifactId>
434 <version>${project.cadiVersion}</version>
435 <exclusions>
436 <exclusion>
437 <groupId>org.apache.cassandra</groupId>
438 <artifactId>cassandra-all</artifactId>
439 </exclusion>
440 </exclusions>
441 </dependency>
442
443 <dependency>
444 <groupId>org.onap.aaf.authz</groupId>
445 <artifactId>authz-client</artifactId>
446 <version>${project.interfaceVersion}</version>
447 </dependency>
448
449
450 <dependency>
451 <groupId>org.onap.aaf.authz</groupId>
452 <artifactId>authz-core</artifactId>
453 <version>${project.version}</version>
454 </dependency>
455
456 <dependency>
457 <groupId>org.onap.aaf.authz</groupId>
458 <artifactId>authz-cass</artifactId>
459 <version>${project.version}</version>
460 </dependency>
461
462 <dependency>
463 <groupId>org.onap.aaf.authz</groupId>
464 <artifactId>authz-batch</artifactId>
465 <version>${project.interfaceVersion}</version>
466 </dependency>
467
468
469
470 <dependency>
471 <groupId>org.onap.aaf.authz</groupId>
472 <artifactId>authz-cmd</artifactId>
473 <version>${project.version}</version>
474 </dependency>
475 <dependency>
476 <groupId>org.onap.aaf.authz</groupId>
477 <artifactId>authz-gw</artifactId>
478 <version>${project.version}</version>
479 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400480
481 <dependency>
482 <groupId>com.att.aft</groupId>
483 <artifactId>dme2</artifactId>
sg481n43854a92017-08-03 17:27:34 -0400484 <version>${project.dme2Version}</version>
485 </dependency>
486
487 <dependency>
488 <groupId>javax.servlet</groupId>
489 <artifactId>servlet-api</artifactId>
490 <version>2.5</version>
491 </dependency>
492
493 <dependency>
494 <groupId>org.eclipse.jetty</groupId>
495 <artifactId>jetty-servlet</artifactId>
496 <version>9.0.3.v20130506</version>
497 </dependency>
498
499 <dependency>
500 <groupId>com.datastax.cassandra</groupId>
501 <artifactId>cassandra-all</artifactId>
502 <version>2.1.10</version>
503 <exclusions>
504 <exclusion>
505 <groupId>org.slf4j</groupId>
506 <artifactId>slf4j-log4j12</artifactId>
507 </exclusion>
508 <exclusion>
509 <groupId>log4j</groupId>
510 <artifactId>log4j</artifactId>
511 </exclusion>
512 </exclusions>
513 </dependency>
514 <dependency>
515 <groupId>com.datastax.cassandra</groupId>
516 <artifactId>cassandra-driver-core</artifactId>
517 <!-- version>1.0.3</version -->
518 <!-- version>1.0.5</version -->
519 <version>2.1.10</version>
520 <exclusions>
521 <exclusion>
522 <groupId>org.slf4j</groupId>
523 <artifactId>slf4j-log4j12</artifactId>
524 </exclusion>
525 <exclusion>
526 <groupId>log4j</groupId>
527 <artifactId>log4j</artifactId>
528 </exclusion>
529 </exclusions>
530 </dependency>
531
532 <dependency>
533 <groupId>org.slf4j</groupId>
534 <artifactId>slf4j-log4j12</artifactId>
535 <version>1.7.5</version>
536 </dependency>
537
538 <dependency>
539 <groupId>javax.mail</groupId>
540 <artifactId>mail</artifactId>
541 <version>1.4.5</version>
542 </dependency>
543
544
545 </dependencies>
546 </dependencyManagement>
sg481nbd890c52017-08-28 12:11:35 -0400547 <distributionManagement>
sg481naa2c01c2017-08-25 01:29:57 -0400548 <repository>
549 <id>ecomp-releases</id>
550 <name>AAF Release Repository</name>
551 <url>${nexusproxy}${releaseNexusPath}</url>
552 </repository>
553 <snapshotRepository>
554 <id>ecomp-snapshots</id>
555 <name>AAF Snapshot Repository</name>
556 <url>${nexusproxy}${snapshotNexusPath}</url>
557 </snapshotRepository>
558 <site>
559 <id>ecomp-site</id>
560 <url>dav:${nexusproxy}${sitePath}</url>
561 </site>
562 </distributionManagement>
sg481na9d21082017-09-23 14:26:06 +0000563
sg481n43854a92017-08-03 17:27:34 -0400564</project>