[AAF-21] Initial code import
[aaf/authz.git] / pom.xml
1 <!--
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>
28         <groupId>com.att.authz</groupId>
29         <artifactId>parent</artifactId>
30         <version>2.0.15</version>
31         <name>Authz Parent (pom)</name>
32         <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>
56                 <project.interfaceVersion>2.6</project.interfaceVersion>
57                 <project.innoVersion>1.2.13</project.innoVersion>
58                 <project.cadiVersion>1.3.2</project.cadiVersion>
59                 <project.dme2Version>3.1.200</project.dme2Version>
60                                 <!-- version>  2.8.8</version -->
61                                 <!-- version>  2.8.5.8</version -->
62                                 <!-- version>  2.8.2.5</version -->
63                                 <!-- version>2.8.1.3</version -->
64                                 <!-- version>2.8.1</version This version changes Servlet to 3.0-->
65                                 <!-- version>2.6.29</version -->
66                                 <!-- version>2.6.20</version -->
67                 
68         </properties>
69
70         <build>
71                 <pluginManagement>
72                 <plugins>
73                           <plugin>
74                                         <groupId>org.apache.maven.plugins</groupId>
75                                         <artifactId>maven-compiler-plugin</artifactId>
76                                         <version>2.3.2</version> 
77                                         <configuration>
78                                                 <source>1.8</source>
79                                                 <target>1.8</target>
80                                         </configuration>
81                                 </plugin>
82                                 <plugin>
83                                         <groupId>org.apache.maven.plugins</groupId>
84                                         <artifactId>maven-deploy-plugin</artifactId>
85                                         <version>2.6</version>
86                                                 <configuration>
87                                                         <skip>false</skip>
88                                                 </configuration>        
89                                 </plugin>
90         
91                                 <plugin>
92                                   <groupId>org.apache.maven.plugins</groupId>
93                                   <artifactId>maven-surefire-plugin</artifactId>
94                                   <version>2.17</version>
95                                   <configuration>
96                                         <skipTests>${skipTests}</skipTests>
97                                         <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>
122                                           <!-- <exclude>**/JU_Perm_2_0*.java</exclude> -->
123                                           <!-- <exclude>**/JU_Role_2_0*.java</exclude>                             -->
124                                         </excludes>
125         
126                                   </configuration>
127                                 </plugin>
128         
129                                 <plugin>
130                                         <groupId>org.codehaus.mojo</groupId>
131                                         <artifactId>jaxb2-maven-plugin</artifactId>
132                                         <version>1.3</version>
133                                         <executions>
134                                                 <execution>
135                                                         <phase>generate-sources</phase>
136                                                         <goals>
137                                                                 <goal>xjc</goal>
138                                                         </goals>
139                                                 </execution>
140                                         </executions>
141                                         <configuration>
142                                                 <schemaDirectory>src/main/xsd</schemaDirectory>
143                                         </configuration>
144                                 </plugin>
145         
146                                 <plugin>
147                                   <groupId>org.apache.maven.plugins</groupId>
148                                   <artifactId>maven-failsafe-plugin</artifactId>
149                                   <version>2.17</version>
150                                   <configuration>
151                                                 <skipTests>true</skipTests>
152                                   </configuration>
153                                   <executions>
154                                         <execution>
155                                           <id>integration-test</id>
156                                           <goals>
157                                                 <goal>integration-test</goal>
158                                                 <goal>verify</goal>
159                                           </goals>
160                                         </execution>
161                                   </executions>
162                                 </plugin>
163                                 <plugin>
164                                         <groupId>org.apache.maven.plugins</groupId>
165                                         <artifactId>maven-jarsigner-plugin</artifactId>
166                                         <version>1.2</version>
167                                         <executions>
168                                                 <execution>
169                                                         <id>sign</id>
170                                                         <goals>
171                                                                 <goal>sign</goal>
172                                                         </goals>
173                                                         <configuration>
174                                                                 <!--  skip>${skipSigning}</skip -->
175                                                                 <archive>target/${project.artifactId}-${project.version}.jar</archive>
176                                                         </configuration>
177                                                 </execution>
178                                                 <execution>
179                                                         <id>verify</id>
180                                                         <goals>
181                                                                 <goal>verify</goal>
182                                                         </goals>
183                                                         <configuration>
184                                                                 <archive>target/${project.artifactId}-${project.version}.jar</archive>
185                                                         </configuration>
186                                                 </execution>
187                                         </executions>
188                                         <configuration>
189                                                 <skip>true</skip>
190                                                 <alias>aaf</alias>
191                                                 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
192                                                 <storepass>Surprise!</storepass>
193                                                 <keypass>Surprise!</keypass>
194                                                 <verbose>true</verbose>
195                                                 <certs>true</certs>
196                                         </configuration>
197                                 </plugin>
198                                 
199                                                         <plugin>
200                         <groupId>org.apache.maven.plugins</groupId>
201                         <artifactId>maven-javadoc-plugin</artifactId>
202                         <configuration>
203                         <failOnError>false</failOnError>
204                         </configuration>
205                         <executions>
206                                 <execution>
207                                         <id>attach-javadocs</id>
208                                         <goals>
209                                                 <goal>jar</goal>
210                                         </goals>
211                                 </execution>
212                         </executions>
213                 </plugin> 
214            
215            
216                <plugin>
217                       <groupId>org.apache.maven.plugins</groupId>
218                       <artifactId>maven-source-plugin</artifactId>
219                       <version>2.2.1</version>
220                       <executions>
221                         <execution>
222                           <id>attach-sources</id>
223                           <goals>
224                             <goal>jar-no-fork</goal>
225                           </goals>
226                         </execution>
227                       </executions>
228                     </plugin>
229  
230                         
231                 <plugin>
232                         <groupId>org.sonatype.plugins</groupId>
233                         <artifactId>nexus-staging-maven-plugin</artifactId>
234                         <version>1.6.7</version>
235                         <extensions>true</extensions>
236                         <configuration>
237                         <serverId>ossrhdme</serverId>
238                         <nexusUrl>https://oss.sonatype.org/</nexusUrl>
239                         <autoReleaseAfterClose>true</autoReleaseAfterClose>
240                         </configuration>
241                 </plugin>
242                         
243                 <plugin>
244                                 <groupId>org.codehaus.mojo</groupId>
245                                 <artifactId>cobertura-maven-plugin</artifactId>
246                                 <version>2.7</version>
247                                 <configuration>
248                                         <formats>
249                                         <format>html</format>
250                                         <format>xml</format>
251                                   </formats>
252                                 </configuration>
253                         </plugin>
254                 
255                                 
256                 </plugins>
257                 </pluginManagement>                     
258     </build>    
259         
260         <dependencies> 
261                 <dependency>
262                         <groupId>junit</groupId>
263                         <artifactId>junit</artifactId>
264                         <version>4.10</version>
265                         <scope>test</scope>
266                 </dependency>
267
268                 <dependency>
269                     <groupId>org.mockito</groupId>
270                     <artifactId>mockito-core</artifactId>
271                     <version>1.10.19</version>
272                     <scope>test</scope>
273                 </dependency>
274                 <dependency>
275                     <groupId>org.powermock</groupId>
276                     <artifactId>powermock-module-junit4</artifactId>
277                     <version>1.6.4</version>
278                     <scope>test</scope>
279                 </dependency>
280                 <dependency>
281                     <groupId>org.powermock</groupId>
282                     <artifactId>powermock-api-mockito</artifactId>
283                     <version>1.6.4</version>
284                     <scope>test</scope>
285                 </dependency> 
286
287          
288         </dependencies>         
289
290         <modules>
291                 <!-- 
292                    <module> auth-client</module>
293                    complile manually with mvn -N independently
294                 -->
295                 <module>authz-client</module>
296                 <module>authz-core</module>
297                 <module>authz-cass</module>
298                 <module>authz-defOrg</module>
299                 <module>authz-service</module>
300                 <module>authz-cmd</module>
301                 <!--  <module>authz-batch</module>-->
302                 <module>authz-test</module>
303                 <!--  <module>authz-gui</module> -->
304                 <module>authz-gw</module>
305                 <module>authz-certman</module>
306                 <module>authz-fs</module>
307         </modules>
308         
309         <dependencyManagement>
310                 <dependencies>
311                         <dependency>
312                                 <groupId>com.att.inno</groupId>
313                                 <artifactId>env</artifactId>
314                                 <version>${project.innoVersion}</version>
315                         </dependency>
316
317                         <dependency>
318                                 <groupId>com.att.inno</groupId>
319                                 <artifactId>log4j</artifactId>
320                                 <version>${project.innoVersion}</version>
321                         </dependency>
322
323                         <dependency>
324                                 <groupId>com.att.inno</groupId>
325                                 <artifactId>rosetta</artifactId>
326                                 <version>${project.innoVersion}</version>
327                         </dependency>
328
329                         <dependency>
330                                 <groupId>com.att.inno</groupId>
331                                 <artifactId>xgen</artifactId>
332                                 <version>${project.innoVersion}</version>
333                         </dependency>
334                         
335                         <dependency>
336                                 <groupId>com.att.cadi</groupId>
337                                 <artifactId>cadi-core</artifactId>
338                                 <version>${project.cadiVersion}</version>
339                         </dependency>
340
341                         <dependency>
342                                 <groupId>com.att.cadi</groupId>
343                                 <artifactId>cadi-client</artifactId>
344                                 <version>${project.cadiVersion}</version>
345                         </dependency>
346                         
347                         
348                         <dependency>
349                                 <groupId>com.att.cadi</groupId>
350                                 <artifactId>cadi-aaf</artifactId>
351                                 <version>${project.cadiVersion}</version>
352                                 <exclusions>
353                               <exclusion> 
354                                         <groupId>org.apache.cassandra</groupId>
355                                 <artifactId>cassandra-all</artifactId>
356                       </exclusion>
357                             </exclusions> 
358                         </dependency>
359                         
360                         <dependency>
361                                 <groupId>com.att.authz</groupId>
362                                 <artifactId>authz-client</artifactId>
363                                 <version>${project.interfaceVersion}</version>
364                         </dependency>
365                         
366                         
367                         <dependency>
368                                 <groupId>com.att.authz</groupId>
369                                 <artifactId>authz-core</artifactId>
370                                 <version>${project.version}</version>
371                         </dependency>
372                         
373                         <dependency>
374                     <groupId>com.att.authz</groupId>
375                     <artifactId>authz-cass</artifactId>
376                                 <version>${project.version}</version>
377                 </dependency>
378                 
379                 <dependency>
380                                 <groupId>com.att.authz</groupId>
381                                 <artifactId>authz-batch</artifactId>
382                                 <version>${project.interfaceVersion}</version>
383                         </dependency>
384             
385             <!--  <dependency>
386                     <groupId>com.att.authz</groupId>
387                     <artifactId>authz-att</artifactId>
388                                 <version>${project.version}</version>
389                 </dependency>     --> 
390
391                     <dependency>
392                     <groupId>com.att.authz</groupId>
393                     <artifactId>authz-cmd</artifactId>
394                                 <version>${project.version}</version>
395                 </dependency>
396                 <dependency>
397                     <groupId>com.att.authz</groupId>
398                     <artifactId>authz-gw</artifactId>
399                                 <version>${project.version}</version>
400                 </dependency>
401
402                         <dependency>
403                                 <groupId>com.att.aft</groupId>
404                                 <artifactId>dme2</artifactId>
405                                 <!--  version>2.6.20</version -->
406                                 <!-- version>2.6.29</version -->
407                                 <!-- version>2.8.1</version This version changes Servlet to 3.0-->
408                                 <!-- version>2.8.1.3</version -->
409                                 <!-- version>2.8.2.5</version -->
410                                 <version>${project.dme2Version}</version>
411                         </dependency>
412                 
413                         <dependency>
414                           <groupId>javax.servlet</groupId>
415                           <artifactId>servlet-api</artifactId>
416                           <version>2.5</version>
417                         </dependency>
418                         
419                         <dependency>
420                                 <groupId>org.eclipse.jetty</groupId>
421                                 <artifactId>jetty-servlet</artifactId>
422                                 <version>9.0.3.v20130506</version>
423                         </dependency>
424                         
425                         <dependency>
426                                 <groupId>com.datastax.cassandra</groupId>
427                                 <artifactId>cassandra-all</artifactId>
428                                 <version>2.1.10</version>
429                                 <exclusions>
430                               <exclusion> 
431                                 <groupId>org.slf4j</groupId>
432                                 <artifactId>slf4j-log4j12</artifactId>
433                               </exclusion>
434                               <exclusion> 
435                                 <groupId>log4j</groupId>
436                                 <artifactId>log4j</artifactId>
437                               </exclusion>
438                             </exclusions> 
439                         </dependency>
440                         <dependency>
441                                 <groupId>com.datastax.cassandra</groupId>
442                                 <artifactId>cassandra-driver-core</artifactId>
443                                 <!-- version>1.0.3</version -->
444                                 <!-- version>1.0.5</version -->
445                                 <version>2.1.10</version>
446                                 <exclusions>
447                               <exclusion> 
448                                 <groupId>org.slf4j</groupId>
449                                 <artifactId>slf4j-log4j12</artifactId>
450                               </exclusion>
451                               <exclusion> 
452                                 <groupId>log4j</groupId>
453                                 <artifactId>log4j</artifactId>
454                               </exclusion>
455                             </exclusions> 
456                         </dependency>   
457
458                         <dependency>
459                                 <groupId>org.slf4j</groupId>
460                                 <artifactId>slf4j-log4j12</artifactId>
461                                 <version>1.7.5</version>
462                         </dependency>
463
464                         <dependency>
465                         <groupId>javax.mail</groupId>
466                         <artifactId>mail</artifactId>
467                         <version>1.4.5</version>
468                 </dependency> 
469
470                         
471                 </dependencies>
472         </dependencyManagement>
473         
474         
475 <distributionManagement>
476                 <snapshotRepository>
477                         <id>ossrhdme</id>
478                         <url>https://oss.sonatype.org/content/repositories/snapshots</url>
479                 </snapshotRepository>
480                 <repository>
481                         <id>ossrhdme</id>
482                         <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
483                 </repository>
484         </distributionManagement>
485         
486         <scm>
487                 <connection>https://github.com/att/AAF.git</connection>
488                 <developerConnection>${project.scm.connection}</developerConnection>
489                 <url>http://github.com/att/AAF/tree/master</url>
490         </scm>
491         
492 </project>