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