Update AAF Version 1.0.0
[aaf/cadi.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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25         <modelVersion>4.0.0</modelVersion>
26         <groupId>com.att.cadi</groupId>
27         <artifactId>parent</artifactId>
28         <name>CADI Parent POM (Code, Access, Data, Identity)</name>
29         <version>1.0.0-SNAPSHOT</version>
30         <inceptionYear>2015-07-20</inceptionYear>       
31         <packaging>pom</packaging>
32         <url>https://github.com/att/AAF</url>
33         <description>CADI</description>
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         <properties>
49                 <skipSigning>true</skipSigning>
50                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
51                 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
52                 <project.authClientVersion>2.6</project.authClientVersion>
53                 <project.dme2Version>3.1.200</project.dme2Version>
54                                 <!-- version>2.8.5.8</version -->
55                                 <!-- version>2.6.20</version -->
56                                 <!-- version>2.6.29</version -->
57                                 <!-- version>2.8.1</version -->
58                                 <!--  version>2.8.2.5</version -->
59                 <!-- jetty-version>8.1.7.v20120910</jetty-version -->
60                 <!-- jetty-version>7.2.0.v20101020</jetty-version -->
61                 <!-- project.jettyVersion>9.0.3.v20130506</project.jettyVersion -->
62         </properties>
63
64         <!-- ============================================================== -->
65         <!-- Define the major contributors and developers of CADI -->
66         <!-- ============================================================== -->
67         <contributors>
68                 <contributor>
69                         <name>Jonathan Gathman</name>
70                         <email></email>
71                         <timezone>CST</timezone>
72                 </contributor>
73         </contributors>
74
75         <dependencies>
76                 <dependency>
77                         <groupId>junit</groupId>
78                         <artifactId>junit</artifactId>
79                         <version>4.10</version>
80                         <scope>test</scope>
81                 </dependency>
82         </dependencies>
83
84         <!-- ============================================================== -->
85         <!-- Define sub-projects (modules) -->
86         <!-- ============================================================== -->
87         <modules>
88                 <module>core</module>
89                 <module>client</module>
90                 <module>aaf</module> 
91                 <module>cass</module>
92                 <!-- module>jetty</module -->
93                 <!-- module>weblogic</module -->
94                 <!-- always build last -->
95                 <!--module>swm</module -->
96         </modules>
97
98         <!-- ============================================================== -->
99         <!-- Define project-wide dependencies -->
100         <!-- ============================================================== -->
101         <dependencyManagement>
102                 <dependencies>
103                         <dependency>
104                                 <groupId>com.att.authz</groupId>
105                                 <artifactId>authz-client</artifactId>
106                                 <version>${project.authClientVersion}</version>
107                         </dependency>
108
109                         <dependency>
110                                 <groupId>com.att.cadi</groupId>
111                                 <artifactId>cadi-core</artifactId>
112                                 <version>${project.version}</version>
113                         </dependency>
114
115                         <dependency>
116                                 <groupId>com.att.cadi</groupId>
117                                 <artifactId>cadi-core</artifactId>
118                                 <version>${project.version}</version>
119                                 <classifier>tests</classifier>
120                         </dependency>
121
122                         <dependency>
123                                 <groupId>com.att.cadi</groupId>
124                                 <artifactId>cadi-cass</artifactId>
125                                 <version>${project.version}</version>
126                         </dependency>
127
128                         <dependency>
129                                 <groupId>com.att.cadi</groupId>
130                                 <artifactId>cadi-aaf</artifactId>
131                                 <version>${project.version}</version>
132                         </dependency> 
133
134                     <dependency>
135                                 <groupId>com.att.cadi</groupId>
136                                 <artifactId>cadi-aaf</artifactId>
137                                 <version>${project.version}</version>
138                                 <classifier>full</classifier>
139                         </dependency>
140
141                         <dependency>
142                                 <groupId>com.att.cadi</groupId>
143                                 <artifactId>cadi-client</artifactId>
144                                 <version>${project.version}</version>
145                         </dependency>
146
147                         <dependency>
148                                 <groupId>com.att.cadi</groupId>
149                                 <artifactId>cadi-tomcat</artifactId>
150                                 <version>${project.version}</version>
151                         </dependency>
152
153                         <dependency>
154                                 <groupId>com.att.cadi</groupId>
155                                 <artifactId>cadi-tguard</artifactId>
156                                 <version>${project.version}</version>
157                         </dependency>
158
159                         <dependency>
160                                 <groupId>com.att.inno</groupId>
161                                 <artifactId>env</artifactId>
162                                 <version>${project.innoVersion}</version>
163                         </dependency>
164
165                         <dependency>
166                                 <groupId>com.att.inno</groupId>
167                                 <artifactId>rosetta</artifactId>
168                                 <version>${project.innoVersion}</version>
169                         </dependency>
170
171                         <dependency>
172                                 <groupId>org.eclipse.jetty</groupId>
173                                 <artifactId>jetty-servlet</artifactId>
174                                 <version>9.0.3.v20130506</version>
175                         </dependency>
176
177                         <dependency>
178                                 <groupId>org.eclipse.jetty</groupId>
179                                 <artifactId>jetty-webapp</artifactId>
180                                 <version>9.0.3.v20130506</version>
181                         </dependency>
182
183                         <dependency>
184                                 <groupId>org.eclipse.jetty.aggregate</groupId>
185                                 <artifactId>jetty-all</artifactId>
186                                 <version>9.0.3.v20130506</version>
187                         </dependency>
188
189                         <dependency>
190                                 <groupId>javax.servlet</groupId>
191                                 <artifactId>servlet-api</artifactId>
192                                 <version>2.5</version>
193                         </dependency>
194
195                         <dependency>
196                                 <groupId>com.att.aft</groupId>
197                                 <artifactId>dme2</artifactId>
198                                 <version>${project.dme2Version}</version>
199                                 <exclusions>
200                                         <exclusion>
201                                                 <groupId>org.slf4j</groupId>
202                                                 <artifactId>slf4j-log4j12</artifactId>
203                                         </exclusion>
204                                         <exclusion>
205                                                 <groupId>log4j</groupId>
206                                                 <artifactId>log4j</artifactId>
207                                         </exclusion>
208                                         <exclusion>
209                                                 <groupId>com.att.javax.servlet</groupId>
210                                                 <artifactId>servlet-api</artifactId>
211                                         </exclusion>
212                                         <exclusion>
213                                                 <groupId>javax.mail</groupId>
214                                                 <artifactId>mail</artifactId>
215                                         </exclusion>
216
217                                 </exclusions>
218                         </dependency>
219
220                         <dependency>
221                                 <groupId>org.slf4j</groupId>
222                                 <artifactId>slf4j-api</artifactId>
223                                 <version>1.7.5</version>
224                         </dependency>
225                 </dependencies>
226         </dependencyManagement>
227
228         <!-- ============================================================== -->
229         <!-- Define common plugins and make them available for all modules -->
230         <!-- ============================================================== -->
231         <build>
232                 <testSourceDirectory>src/test/java</testSourceDirectory>
233                 <plugins>
234
235                                 <plugin>
236                                         <inherited>true</inherited>
237                                         <groupId>org.apache.maven.plugins</groupId>
238                                         <artifactId>maven-compiler-plugin</artifactId>
239                                         <version>2.3.2</version>
240                                         <configuration>
241                                                 <source>1.7</source>
242                                                 <target>1.7</target>
243                                         </configuration>
244                                 </plugin>
245         
246                                 <plugin>
247                                         <groupId>org.apache.maven.plugins</groupId>
248                                         <version>2.4</version>
249                                         <artifactId>maven-jar-plugin</artifactId>
250                                         <configuration>
251                                                 <outputDirectory>target</outputDirectory>
252                                                 <archive>
253                                                         <manifestEntries>
254                                                                 <Sealed>true</Sealed>
255                                                         </manifestEntries>
256                                                 </archive>
257                                         </configuration>
258                                 </plugin>
259                                 
260                                 <plugin>
261                                   <groupId>org.apache.maven.plugins</groupId>
262                                   <artifactId>maven-surefire-plugin</artifactId>
263                                   <version>2.17</version>
264                                   <configuration>
265                                         <skipTests>false</skipTests>
266                                         <includes>
267                                           <include>**/JU*.java</include>
268                                         </includes>
269                                         <excludes>
270                                                 <exclude>**/JU_LocalLur.java</exclude>
271                                                 <exclude>**/JU_BufferedServletInputStream.java</exclude>
272                                                 <exclude>**/JU_Passcode.java</exclude>
273                                                 <exclude>**/JU_XReader.java</exclude>
274                                                 <exclude>**/JU_CASS.java</exclude>
275                                                 <exclude>**/JU_PropertyLocator.java</exclude>
276                                                 <exclude>**/JU_PermEval.java</exclude>
277                                                 <exclude>**/JU_JMeter.java</exclude>
278                                                 <exclude>**/JU_Lur2_0Call.java</exclude>
279                                         </excludes>
280                                   </configuration>
281                                 </plugin>
282
283                                 <plugin>
284                                         <groupId>org.apache.maven.plugins</groupId>
285                                         <artifactId>maven-jarsigner-plugin</artifactId>
286                                         <version>1.2</version>
287                                         <executions>
288                                                 <execution>
289                                                         <id>sign</id>
290                                                         <goals>
291                                                                 <goal>sign</goal>
292                                                         </goals>
293                                                         <configuration>
294                                                                 <!--  skip>${skipSigning}</skip -->
295                                                                 <archive>target/${project.artifactId}-${project.version}.jar</archive>
296                                                         </configuration>
297                                                 </execution>
298                                                 <execution>
299                                                         <id>verify</id>
300                                                         <goals>
301                                                                 <goal>verify</goal>
302                                                         </goals>
303                                                         <configuration>
304                                                                 <archive>target/${project.artifactId}-${project.version}.jar</archive>
305                                                         </configuration>
306                                                 </execution>
307                                         </executions>
308                                         <configuration>
309                                                 <skip>true</skip>
310                                                 <alias>cadi</alias>
311                                                 <keystore>/Volumes/Data/src/cadi/keys/aaf_cadi.jks</keystore>
312                                                 <storepass>Surprise!</storepass>
313                                                 <keypass>Surprise!</keypass>
314                                                 <verbose>true</verbose>
315                                                 <certs>true</certs>
316                                         </configuration>
317                                 </plugin>
318                 
319         
320         
321                                 <!-- Define the javadoc plugin -->
322                                 <!-- <plugin>
323                                         <groupId>org.apache.maven.plugins</groupId>
324                                         <artifactId>maven-javadoc-plugin</artifactId>
325                                         <version>2.10</version>
326                                         <configuration>
327                                                 <excludePackageNames>org.opendaylight.*</excludePackageNames>
328                                         </configuration>
329                                 </plugin> -->
330         
331                                 <plugin>
332                                         <artifactId>maven-release-plugin</artifactId>
333                                         <version>2.5.2</version>
334                                         <configuration>
335                                                 <goals>-s ${mvn.settings} deploy</goals>
336                                         </configuration>
337                                 </plugin>
338         
339                                 <plugin>
340                                         <artifactId>maven-assembly-plugin</artifactId>
341                                         <version>2.5.5</version>
342                                 </plugin>
343         
344                                 <plugin>
345                                         <groupId>org.apache.maven.plugins</groupId>
346                                         <artifactId>maven-deploy-plugin</artifactId>
347                                         <version>2.8.1</version>
348                                         <configuration>
349                                                 <skip>false</skip>
350                                         </configuration>
351         
352                                 </plugin>
353         
354                                 <plugin>
355                                         <groupId>org.apache.maven.plugins</groupId>
356                                         <artifactId>maven-dependency-plugin</artifactId>
357                                         <version>2.10</version>
358                                 </plugin>
359                                 
360                                 <plugin>
361                         <groupId>org.apache.maven.plugins</groupId>
362                         <artifactId>maven-javadoc-plugin</artifactId>
363                                         <configuration>
364                         <failOnError>false</failOnError>
365                         </configuration>
366                         <executions>
367                                 <execution>
368                                         <id>attach-javadocs</id>
369                                         <goals>
370                                                 <goal>jar</goal>
371                                         </goals>
372                                 </execution>
373                         </executions>
374                 </plugin> 
375            
376            
377                <plugin>
378                       <groupId>org.apache.maven.plugins</groupId>
379                       <artifactId>maven-source-plugin</artifactId>
380                       <version>2.2.1</version>
381                       <executions>
382                         <execution>
383                           <id>attach-sources</id>
384                           <goals>
385                             <goal>jar-no-fork</goal>
386                           </goals>
387                         </execution>
388                       </executions>
389                     </plugin>
390         
391  
392                 <plugin>
393                         <groupId>org.sonatype.plugins</groupId>
394                         <artifactId>nexus-staging-maven-plugin</artifactId>
395                         <version>1.6.7</version>
396                         <extensions>true</extensions>
397                         <configuration>
398                         <serverId>ossrhdme</serverId>
399                         <nexusUrl>https://oss.sonatype.org/</nexusUrl>
400                         <autoReleaseAfterClose>true</autoReleaseAfterClose>
401                         </configuration>
402                 </plugin>
403                         
404                 <plugin>
405                                 <groupId>org.codehaus.mojo</groupId>
406                                 <artifactId>cobertura-maven-plugin</artifactId>
407                                 <version>2.7</version>
408                                 <configuration>
409                                         <formats>
410                                         <format>html</format>
411                                         <format>xml</format>
412                                   </formats>
413                                 </configuration>
414                  </plugin>
415         
416                                 <!-- Maven surefire plugin for testing -->
417                                 <plugin>
418                                         <artifactId>maven-surefire-plugin</artifactId>
419                                         <version>2.17</version>
420                                 </plugin>
421                                 
422                                 
423                                 
424                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
425                                         only. It has no influence on the Maven build itself. -->
426                                 <plugin>
427                                         <groupId>org.eclipse.m2e</groupId>
428                                         <artifactId>lifecycle-mapping</artifactId>
429                                         <version>1.0.0</version>
430                                         <configuration>
431                                                 <lifecycleMappingMetadata>
432                                                         <pluginExecutions>
433                                                                 <pluginExecution>
434                                                                         <pluginExecutionFilter>
435                                                                                 <groupId>
436                                                                                         org.codehaus.mojo
437                                                                                 </groupId>
438                                                                                 <artifactId>
439                                                                                         jaxb2-maven-plugin
440                                                                                 </artifactId>
441                                                                                 <versionRange>
442                                                                                         [1.3,)
443                                                                                 </versionRange>
444                                                                                 <goals>
445                                                                                         <goal>xjc</goal>
446                                                                                 </goals>
447                                                                         </pluginExecutionFilter>
448                                                                         <action>
449                                                                                 <ignore />
450                                                                         </action>
451                                                                 </pluginExecution>
452                                                         </pluginExecutions>
453                                                 </lifecycleMappingMetadata>
454                                         </configuration>
455                                 </plugin>
456                                 
457                         </plugins>                      
458         </build>
459
460
461         <!-- ============================================================== -->
462         <!-- Maven Central Repository Information -->
463         <!-- ============================================================== -->
464         
465         <scm>
466                 <connection>https://github.com/att/AAF.git</connection>
467                 <developerConnection>${project.scm.connection}</developerConnection>
468                 <url>http://github.com/att/AAF/tree/master</url>
469         </scm>
470 <distributionManagement>
471                 <snapshotRepository>
472                         <id>ossrhdme</id>
473                         <url>https://oss.sonatype.org/content/repositories/snapshots</url>
474                 </snapshotRepository>
475                 <repository>
476                         <id>ossrhdme</id>
477                         <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
478                 </repository>
479         </distributionManagement>
480 </project>