Update pom files in aaf client
[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>org.onap.aaf.authz</groupId>
29         <artifactId>parent</artifactId>
30         <version>1.0.0-SNAPSHOT</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                  <parent>
54                 <groupId>org.onap.oparent</groupId>
55                 <artifactId>oparent</artifactId>
56                 <version>1.0.0-SNAPSHOT</version>
57         </parent>
58         <properties>
59                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
60                 <skipTests>false</skipTests>
61                 <project.interfaceVersion>2.6</project.interfaceVersion>
62                 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
63                 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
64                 <project.dme2Version>3.1.200</project.dme2Version>
65                         <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
66                 <nexusproxy>https://nexus.onap.org</nexusproxy>
67                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
68                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
69                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
70                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
71         </properties>
72
73         <build>
74                 <pluginManagement>
75                 <plugins>
76                           <plugin>
77                                         <groupId>org.apache.maven.plugins</groupId>
78                                         <artifactId>maven-compiler-plugin</artifactId>
79                                         <version>2.3.2</version> 
80                                         <configuration>
81                                                 <source>1.8</source>
82                                                 <target>1.8</target>
83                                         </configuration>
84                                 </plugin>
85                                 <plugin>
86                                         <groupId>org.apache.maven.plugins</groupId>
87                                         <artifactId>maven-deploy-plugin</artifactId>
88                                         <version>2.6</version>
89                                                 <configuration>
90                                                         <skip>false</skip>
91                                                 </configuration>        
92                                 </plugin>
93         
94         
95                                 <plugin>
96                                         <groupId>org.codehaus.mojo</groupId>
97                                         <artifactId>jaxb2-maven-plugin</artifactId>
98                                         <version>1.3</version>
99                                         <executions>
100                                                 <execution>
101                                                         <phase>generate-sources</phase>
102                                                         <goals>
103                                                                 <goal>xjc</goal>
104                                                         </goals>
105                                                 </execution>
106                                         </executions>
107                                         <configuration>
108                                                 <schemaDirectory>src/main/xsd</schemaDirectory>
109                                         </configuration>
110                                 </plugin>
111         
112                                 <plugin>
113                                   <groupId>org.apache.maven.plugins</groupId>
114                                   <artifactId>maven-failsafe-plugin</artifactId>
115                                   <version>2.17</version>
116                                   <configuration>
117                                                 <skipTests>true</skipTests>
118                                   </configuration>
119                                   <executions>
120                                         <execution>
121                                           <id>integration-test</id>
122                                           <goals>
123                                                 <goal>integration-test</goal>
124                                                 <goal>verify</goal>
125                                           </goals>
126                                         </execution>
127                                   </executions>
128                                 </plugin>
129                                 
130                                 
131                                                         <plugin>
132                         <groupId>org.apache.maven.plugins</groupId>
133                         <artifactId>maven-javadoc-plugin</artifactId>
134                         <configuration>
135                         <failOnError>false</failOnError>
136                         </configuration>
137                         <executions>
138                                 <execution>
139                                         <id>attach-javadocs</id>
140                                         <goals>
141                                                 <goal>jar</goal>
142                                         </goals>
143                                 </execution>
144                         </executions>
145                 </plugin> 
146            
147            
148                <plugin>
149                       <groupId>org.apache.maven.plugins</groupId>
150                       <artifactId>maven-source-plugin</artifactId>
151                       <version>2.2.1</version>
152                       <executions>
153                         <execution>
154                           <id>attach-sources</id>
155                           <goals>
156                             <goal>jar-no-fork</goal>
157                           </goals>
158                         </execution>
159                       </executions>
160                     </plugin>
161                         
162                 <plugin>
163                                 <groupId>org.codehaus.mojo</groupId>
164                                 <artifactId>cobertura-maven-plugin</artifactId>
165                                 <version>2.7</version>
166                                 <configuration>
167                                         <formats>
168                                         <format>html</format>
169                                         <format>xml</format>
170                                   </formats>
171                                 </configuration>
172                         </plugin>
173                 <plugin>
174                                 <groupId>org.sonatype.plugins</groupId>
175                                 <artifactId>nexus-staging-maven-plugin</artifactId>
176                                 <version>1.6.7</version>
177                                 <extensions>true</extensions>
178                                 <configuration>
179                                         <nexusUrl>${nexusproxy}</nexusUrl>
180                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
181                                         <serverId>ecomp-staging</serverId>
182                                 </configuration>
183                         </plugin>
184                                 
185                 </plugins>
186                 </pluginManagement>                     
187     </build>    
188         
189         <dependencies> 
190                 <dependency>
191                         <groupId>junit</groupId>
192                         <artifactId>junit</artifactId>
193                         <version>4.10</version>
194                         <scope>test</scope>
195                 </dependency>
196
197                 <dependency>
198                     <groupId>org.mockito</groupId>
199                     <artifactId>mockito-core</artifactId>
200                     <version>1.10.19</version>
201                     <scope>test</scope>
202                 </dependency>
203                 <dependency>
204                     <groupId>org.powermock</groupId>
205                     <artifactId>powermock-module-junit4</artifactId>
206                     <version>1.6.4</version>
207                     <scope>test</scope>
208                 </dependency>
209                 <dependency>
210                     <groupId>org.powermock</groupId>
211                     <artifactId>powermock-api-mockito</artifactId>
212                     <version>1.6.4</version>
213                     <scope>test</scope>
214                 </dependency> 
215
216          
217         </dependencies>         
218
219         <modules>
220
221                 <module>authz-client</module>
222         
223         </modules>
224         
225         <dependencyManagement>
226                 <dependencies>
227                         <dependency>
228                                 <groupId>org.onap.aaf.inno</groupId>
229                                 <artifactId>env</artifactId>
230                                 <version>${project.innoVersion}</version>
231                         </dependency>
232
233                         <dependency>
234                                 <groupId>org.onap.aaf.inno</groupId>
235                                 <artifactId>log4j</artifactId>
236                                 <version>${project.innoVersion}</version>
237                         </dependency>
238
239                         <dependency>
240                                 <groupId>org.onap.aaf.inno</groupId>
241                                 <artifactId>rosetta</artifactId>
242                                 <version>${project.innoVersion}</version>
243                         </dependency>
244
245                         <dependency>
246                                 <groupId>org.onap.aaf.inno</groupId>
247                                 <artifactId>xgen</artifactId>
248                                 <version>${project.innoVersion}</version>
249                         </dependency>
250                         
251
252                         
253
254                         <dependency>
255                                 <groupId>com.att.aft</groupId>
256                                 <artifactId>dme2</artifactId>
257                                 <version>${project.dme2Version}</version>
258                         </dependency>
259                 
260                         <dependency>
261                           <groupId>javax.servlet</groupId>
262                           <artifactId>servlet-api</artifactId>
263                           <version>2.5</version>
264                         </dependency>
265                         
266                         <dependency>
267                                 <groupId>org.eclipse.jetty</groupId>
268                                 <artifactId>jetty-servlet</artifactId>
269                                 <version>9.0.3.v20130506</version>
270                         </dependency>
271                         
272                         <dependency>
273                                 <groupId>com.datastax.cassandra</groupId>
274                                 <artifactId>cassandra-all</artifactId>
275                                 <version>2.1.10</version>
276                                 <exclusions>
277                               <exclusion> 
278                                 <groupId>org.slf4j</groupId>
279                                 <artifactId>slf4j-log4j12</artifactId>
280                               </exclusion>
281                               <exclusion> 
282                                 <groupId>log4j</groupId>
283                                 <artifactId>log4j</artifactId>
284                               </exclusion>
285                             </exclusions> 
286                         </dependency>
287                         <dependency>
288                                 <groupId>com.datastax.cassandra</groupId>
289                                 <artifactId>cassandra-driver-core</artifactId>
290                                 <!-- version>1.0.3</version -->
291                                 <!-- version>1.0.5</version -->
292                                 <version>2.1.10</version>
293                                 <exclusions>
294                               <exclusion> 
295                                 <groupId>org.slf4j</groupId>
296                                 <artifactId>slf4j-log4j12</artifactId>
297                               </exclusion>
298                               <exclusion> 
299                                 <groupId>log4j</groupId>
300                                 <artifactId>log4j</artifactId>
301                               </exclusion>
302                             </exclusions> 
303                         </dependency>   
304
305                         <dependency>
306                                 <groupId>org.slf4j</groupId>
307                                 <artifactId>slf4j-log4j12</artifactId>
308                                 <version>1.7.5</version>
309                         </dependency>
310
311                         <dependency>
312                         <groupId>javax.mail</groupId>
313                         <artifactId>mail</artifactId>
314                         <version>1.4.5</version>
315                 </dependency> 
316
317                         
318                 </dependencies>
319         </dependencyManagement>
320
321 <distributionManagement>
322                 <repository>
323                         <id>ecomp-releases</id>
324                         <name>AAF Release Repository</name>
325                         <url>${nexusproxy}${releaseNexusPath}</url>
326                 </repository>
327                 <snapshotRepository>
328                         <id>ecomp-snapshots</id>
329                         <name>AAF Snapshot Repository</name>
330                         <url>${nexusproxy}${snapshotNexusPath}</url>
331                 </snapshotRepository>
332                 <site>
333                         <id>ecomp-site</id>
334                         <url>dav:${nexusproxy}${sitePath}</url>
335                 </site>
336         </distributionManagement>
337 <pluginRepositories>
338         <pluginRepository>
339             <id>onap-plugin-snapshots</id>
340             <url>https://nexus.onap.org/content/repositories/snapshots/</url>
341         </pluginRepository>
342     </pluginRepositories>
343         
344         <repositories>
345                 <repository>
346                         <id>central</id>
347                         <name>Maven 2 repository 2</name>
348                         <url>http://repo2.maven.org/maven2/</url>
349                 </repository>
350                 <repository>
351             <id>onap-jar-snapshots</id>
352             <url>https://nexus.onap.org/content/repositories/snapshots</url>
353         </repository>
354                 <repository>
355                         <id>spring-repo</id>
356                         <name>Spring repo</name>
357                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
358                 </repository>
359                 <repository>
360                         <id>repository.jboss.org-public</id>
361                         <name>JBoss.org Maven repository</name>
362                         <url>https://repository.jboss.org/nexus/content/groups/public</url>
363                 </repository>
364         </repositories> 
365 </project>