blob: 8596e251fcedfeb60252d8f82a4e703d06bf10ea [file] [log] [blame]
sg481n43854a92017-08-03 17:27:34 -04001<!--
2 ============LICENSE_START====================================================
3 * org.onap.aai
4 * ===========================================================================
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 * Copyright © 2017 Amdocs
7 * ===========================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END====================================================
20 *
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 *
23-->
24<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26
27 <modelVersion>4.0.0</modelVersion>
sg481n0e5efc62017-08-25 00:57:25 -040028 <groupId>org.onap.aaf.authz</groupId>
sg481n43854a92017-08-03 17:27:34 -040029 <artifactId>parent</artifactId>
sg481ndcf76982017-08-10 17:50:54 -040030 <version>1.0.0-SNAPSHOT</version>
Jessica Wagantall69123c62017-09-08 14:34:49 -070031 <name>aaf-authz</name>
sg481n43854a92017-08-03 17:27:34 -040032 <packaging>pom</packaging>
33 <url>https://github.com/att/AAF</url>
34 <licenses>
35 <license>
36 <name>BSD License</name>
37 <url> </url>
38 </license>
39 </licenses>
40 <developers>
41 <developer>
42 <name>Jonathan Gathman</name>
43 <email></email>
44 <organization>ATT</organization>
45 <organizationUrl></organizationUrl>
46 </developer>
47 </developers>
48 <description>This module is used to organize all of the common SWM (Software Manager)
49 artifacts and capabilities that are inherited by all modules that are SWM
50 packaged. This prevents duplication of these common artifacts, plugins, and
51 other settings and provides a single place to support this configuration.
52 </description>
53 <properties>
54 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
55 <skipTests>false</skipTests>
sg481nbd890c52017-08-28 12:11:35 -040056 <project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
sg481ndcf76982017-08-10 17:50:54 -040057 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
58 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n43854a92017-08-03 17:27:34 -040059 <project.dme2Version>3.1.200</project.dme2Version>
sg481naa2c01c2017-08-25 01:29:57 -040060 <nexusproxy>https://nexus.onap.org</nexusproxy>
61 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
62 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
63 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
64 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481n43854a92017-08-03 17:27:34 -040065 </properties>
66
67 <build>
68 <pluginManagement>
69 <plugins>
70 <plugin>
71 <groupId>org.apache.maven.plugins</groupId>
72 <artifactId>maven-compiler-plugin</artifactId>
73 <version>2.3.2</version>
74 <configuration>
75 <source>1.8</source>
76 <target>1.8</target>
77 </configuration>
78 </plugin>
79 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-deploy-plugin</artifactId>
82 <version>2.6</version>
83 <configuration>
84 <skip>false</skip>
85 </configuration>
86 </plugin>
87
sg481nbd890c52017-08-28 12:11:35 -040088 <plugin>
89 <groupId>org.apache.maven.plugins</groupId>
90 <artifactId>maven-surefire-plugin</artifactId>
91 <version>2.17</version>
92 <configuration>
93 <skipTests>${skipTests}</skipTests>
94 <includes>
95 <include>**/JU*.java</include>
96 </includes>
97 <excludes>
98 <exclude>**/JU_DataFile.java</exclude>
99 <exclude>**/JU_ArtiDAO.java</exclude>
100 <exclude>**/JU_CertDAO.java</exclude>
101 <exclude>**/JU_FastCalling.java</exclude>
102 <exclude>**/JU_NsDAO.java</exclude>
103 <!-- <exclude>**/authz-cass/**</exclude> -->
104 <!-- <exclude>**/JU_UseCase1.java</exclude> -->
105 <exclude>**/JU_RoleDAO.java</exclude>
106 <exclude>**/JU_PermDAO.java</exclude>
107 <exclude>**/JU_Question.java</exclude>
108 <!-- <exclude>**/JU_NS.java</exclude> -->
109 <exclude>**/JU_HistoryDAO.java</exclude>
110 <exclude>**/JU_DelegateDAO.java</exclude>
111 <exclude>**/JU_CredDAO.java</exclude>
112 <exclude>**/JU_CacheInfoDAO.java</exclude>
113 <exclude>**/JU_ApprovalDAO.java</exclude>
114 <exclude>**/JU_Define.java</exclude>
115 <exclude>**/JU_AuthzTransFilter.java</exclude>
116 <exclude>**/JU_CachingFileAccess.java</exclude>
117 <!-- <exclude>**/AbsServiceTest.java</exclude> -->
118 <exclude>**/JU_DefaultOrg.java</exclude>
119 <!-- <exclude>**/JU_Perm_2_0*.java</exclude> -->
120 <!-- <exclude>**/JU_Role_2_0*.java</exclude> -->
121 </excludes>
122
123 </configuration>
124 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400125
126 <plugin>
127 <groupId>org.codehaus.mojo</groupId>
128 <artifactId>jaxb2-maven-plugin</artifactId>
129 <version>1.3</version>
130 <executions>
131 <execution>
132 <phase>generate-sources</phase>
133 <goals>
134 <goal>xjc</goal>
135 </goals>
136 </execution>
137 </executions>
138 <configuration>
139 <schemaDirectory>src/main/xsd</schemaDirectory>
140 </configuration>
141 </plugin>
142
143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-failsafe-plugin</artifactId>
146 <version>2.17</version>
147 <configuration>
148 <skipTests>true</skipTests>
149 </configuration>
150 <executions>
151 <execution>
152 <id>integration-test</id>
153 <goals>
154 <goal>integration-test</goal>
155 <goal>verify</goal>
156 </goals>
157 </execution>
158 </executions>
159 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-jarsigner-plugin</artifactId>
163 <version>1.2</version>
164 <executions>
165 <execution>
166 <id>sign</id>
167 <goals>
168 <goal>sign</goal>
169 </goals>
170 <configuration>
171 <!-- skip>${skipSigning}</skip -->
172 <archive>target/${project.artifactId}-${project.version}.jar</archive>
173 </configuration>
174 </execution>
175 <execution>
176 <id>verify</id>
177 <goals>
178 <goal>verify</goal>
179 </goals>
180 <configuration>
181 <archive>target/${project.artifactId}-${project.version}.jar</archive>
182 </configuration>
183 </execution>
184 </executions>
185 <configuration>
186 <skip>true</skip>
187 <alias>aaf</alias>
188 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
189 <storepass>Surprise!</storepass>
190 <keypass>Surprise!</keypass>
191 <verbose>true</verbose>
192 <certs>true</certs>
193 </configuration>
194 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400195
196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-javadoc-plugin</artifactId>
199 <configuration>
200 <failOnError>false</failOnError>
201 </configuration>
202 <executions>
203 <execution>
204 <id>attach-javadocs</id>
205 <goals>
206 <goal>jar</goal>
207 </goals>
208 </execution>
209 </executions>
210 </plugin>
211
212
213 <plugin>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-source-plugin</artifactId>
216 <version>2.2.1</version>
217 <executions>
218 <execution>
219 <id>attach-sources</id>
220 <goals>
221 <goal>jar-no-fork</goal>
222 </goals>
223 </execution>
224 </executions>
225 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400226
sg481n43854a92017-08-03 17:27:34 -0400227
228 <plugin>
229 <groupId>org.codehaus.mojo</groupId>
230 <artifactId>cobertura-maven-plugin</artifactId>
231 <version>2.7</version>
232 <configuration>
233 <formats>
234 <format>html</format>
235 <format>xml</format>
236 </formats>
237 </configuration>
238 </plugin>
sg481naa2c01c2017-08-25 01:29:57 -0400239 <plugin>
240 <groupId>org.sonatype.plugins</groupId>
241 <artifactId>nexus-staging-maven-plugin</artifactId>
242 <version>1.6.7</version>
243 <extensions>true</extensions>
244 <configuration>
245 <nexusUrl>${nexusproxy}</nexusUrl>
246 <stagingProfileId>176c31dfe190a</stagingProfileId>
247 <serverId>ecomp-staging</serverId>
248 </configuration>
249 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400250
251 </plugins>
252 </pluginManagement>
253 </build>
254
255 <dependencies>
256 <dependency>
257 <groupId>junit</groupId>
258 <artifactId>junit</artifactId>
259 <version>4.10</version>
260 <scope>test</scope>
261 </dependency>
262
263 <dependency>
264 <groupId>org.mockito</groupId>
265 <artifactId>mockito-core</artifactId>
266 <version>1.10.19</version>
267 <scope>test</scope>
268 </dependency>
269 <dependency>
270 <groupId>org.powermock</groupId>
271 <artifactId>powermock-module-junit4</artifactId>
272 <version>1.6.4</version>
273 <scope>test</scope>
274 </dependency>
275 <dependency>
276 <groupId>org.powermock</groupId>
277 <artifactId>powermock-api-mockito</artifactId>
278 <version>1.6.4</version>
279 <scope>test</scope>
280 </dependency>
281
282
283 </dependencies>
284
285 <modules>
sg481nbd890c52017-08-28 12:11:35 -0400286 <!--
287 <module> auth-client</module>
288 complile manually with mvn -N independently
289 -->
sg481n43854a92017-08-03 17:27:34 -0400290 <module>authz-client</module>
sg481nbd890c52017-08-28 12:11:35 -0400291 <module>authz-core</module>
292 <module>authz-cass</module>
293 <module>authz-defOrg</module>
294 <module>authz-service</module>
295 <module>authz-cmd</module>
296 <!-- <module>authz-batch</module>-->
297 <module>authz-test</module>
298 <!-- <module>authz-gui</module> -->
299 <module>authz-gw</module>
300 <module>authz-certman</module>
301 <module>authz-fs</module>
sg481n43854a92017-08-03 17:27:34 -0400302 </modules>
303
304 <dependencyManagement>
305 <dependencies>
306 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400307 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400308 <artifactId>env</artifactId>
309 <version>${project.innoVersion}</version>
310 </dependency>
311
312 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400313 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400314 <artifactId>log4j</artifactId>
315 <version>${project.innoVersion}</version>
316 </dependency>
317
318 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400319 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400320 <artifactId>rosetta</artifactId>
321 <version>${project.innoVersion}</version>
322 </dependency>
323
324 <dependency>
sg481n0e5efc62017-08-25 00:57:25 -0400325 <groupId>org.onap.aaf.inno</groupId>
sg481n43854a92017-08-03 17:27:34 -0400326 <artifactId>xgen</artifactId>
327 <version>${project.innoVersion}</version>
328 </dependency>
329
sg481nbd890c52017-08-28 12:11:35 -0400330 <dependency>
331 <groupId>org.onap.aaf.cadi</groupId>
332 <artifactId>cadi-core</artifactId>
333 <version>${project.cadiVersion}</version>
334 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400335
sg481nbd890c52017-08-28 12:11:35 -0400336 <dependency>
337 <groupId>org.onap.aaf.cadi</groupId>
338 <artifactId>cadi-client</artifactId>
339 <version>${project.cadiVersion}</version>
340 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400341
sg481nbd890c52017-08-28 12:11:35 -0400342
343 <dependency>
344 <groupId>org.onap.aaf.cadi</groupId>
345 <artifactId>cadi-aaf</artifactId>
346 <version>${project.cadiVersion}</version>
347 <exclusions>
348 <exclusion>
349 <groupId>org.apache.cassandra</groupId>
350 <artifactId>cassandra-all</artifactId>
351 </exclusion>
352 </exclusions>
353 </dependency>
354
355 <dependency>
356 <groupId>org.onap.aaf.authz</groupId>
357 <artifactId>authz-client</artifactId>
358 <version>${project.interfaceVersion}</version>
359 </dependency>
360
361
362 <dependency>
363 <groupId>org.onap.aaf.authz</groupId>
364 <artifactId>authz-core</artifactId>
365 <version>${project.version}</version>
366 </dependency>
367
368 <dependency>
369 <groupId>org.onap.aaf.authz</groupId>
370 <artifactId>authz-cass</artifactId>
371 <version>${project.version}</version>
372 </dependency>
373
374 <dependency>
375 <groupId>org.onap.aaf.authz</groupId>
376 <artifactId>authz-batch</artifactId>
377 <version>${project.interfaceVersion}</version>
378 </dependency>
379
380
381
382 <dependency>
383 <groupId>org.onap.aaf.authz</groupId>
384 <artifactId>authz-cmd</artifactId>
385 <version>${project.version}</version>
386 </dependency>
387 <dependency>
388 <groupId>org.onap.aaf.authz</groupId>
389 <artifactId>authz-gw</artifactId>
390 <version>${project.version}</version>
391 </dependency>
sg481n43854a92017-08-03 17:27:34 -0400392
393 <dependency>
394 <groupId>com.att.aft</groupId>
395 <artifactId>dme2</artifactId>
sg481n43854a92017-08-03 17:27:34 -0400396 <version>${project.dme2Version}</version>
397 </dependency>
398
399 <dependency>
400 <groupId>javax.servlet</groupId>
401 <artifactId>servlet-api</artifactId>
402 <version>2.5</version>
403 </dependency>
404
405 <dependency>
406 <groupId>org.eclipse.jetty</groupId>
407 <artifactId>jetty-servlet</artifactId>
408 <version>9.0.3.v20130506</version>
409 </dependency>
410
411 <dependency>
412 <groupId>com.datastax.cassandra</groupId>
413 <artifactId>cassandra-all</artifactId>
414 <version>2.1.10</version>
415 <exclusions>
416 <exclusion>
417 <groupId>org.slf4j</groupId>
418 <artifactId>slf4j-log4j12</artifactId>
419 </exclusion>
420 <exclusion>
421 <groupId>log4j</groupId>
422 <artifactId>log4j</artifactId>
423 </exclusion>
424 </exclusions>
425 </dependency>
426 <dependency>
427 <groupId>com.datastax.cassandra</groupId>
428 <artifactId>cassandra-driver-core</artifactId>
429 <!-- version>1.0.3</version -->
430 <!-- version>1.0.5</version -->
431 <version>2.1.10</version>
432 <exclusions>
433 <exclusion>
434 <groupId>org.slf4j</groupId>
435 <artifactId>slf4j-log4j12</artifactId>
436 </exclusion>
437 <exclusion>
438 <groupId>log4j</groupId>
439 <artifactId>log4j</artifactId>
440 </exclusion>
441 </exclusions>
442 </dependency>
443
444 <dependency>
445 <groupId>org.slf4j</groupId>
446 <artifactId>slf4j-log4j12</artifactId>
447 <version>1.7.5</version>
448 </dependency>
449
450 <dependency>
451 <groupId>javax.mail</groupId>
452 <artifactId>mail</artifactId>
453 <version>1.4.5</version>
454 </dependency>
455
456
457 </dependencies>
458 </dependencyManagement>
sg481nbd890c52017-08-28 12:11:35 -0400459 <distributionManagement>
sg481naa2c01c2017-08-25 01:29:57 -0400460 <repository>
461 <id>ecomp-releases</id>
462 <name>AAF Release Repository</name>
463 <url>${nexusproxy}${releaseNexusPath}</url>
464 </repository>
465 <snapshotRepository>
466 <id>ecomp-snapshots</id>
467 <name>AAF Snapshot Repository</name>
468 <url>${nexusproxy}${snapshotNexusPath}</url>
469 </snapshotRepository>
470 <site>
471 <id>ecomp-site</id>
472 <url>dav:${nexusproxy}${sitePath}</url>
473 </site>
474 </distributionManagement>
475<pluginRepositories>
476 <pluginRepository>
477 <id>onap-plugin-snapshots</id>
478 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
479 </pluginRepository>
480 </pluginRepositories>
sg481n43854a92017-08-03 17:27:34 -0400481
sg481naa2c01c2017-08-25 01:29:57 -0400482 <repositories>
483 <repository>
484 <id>central</id>
485 <name>Maven 2 repository 2</name>
486 <url>http://repo2.maven.org/maven2/</url>
487 </repository>
488 <repository>
489 <id>onap-jar-snapshots</id>
490 <url>https://nexus.onap.org/content/repositories/snapshots</url>
491 </repository>
492 <repository>
493 <id>spring-repo</id>
494 <name>Spring repo</name>
495 <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
496 </repository>
497 <repository>
498 <id>repository.jboss.org-public</id>
499 <name>JBoss.org Maven repository</name>
500 <url>https://repository.jboss.org/nexus/content/groups/public</url>
501 </repository>
502 </repositories>
sg481n43854a92017-08-03 17:27:34 -0400503</project>