Add eclipselink to policy parent
[policy/parent.git] / integration / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4    Modifications Copyright (C) 2018 AT&T. All rights reserved.
5   ================================================================================
6   Licensed under the Apache License, Version 2.0 (the "License");
7   you may not use this file except in compliance with the License.
8   You may obtain a copy of the License at
9
10        http://www.apache.org/licenses/LICENSE-2.0
11
12   Unless required by applicable law or agreed to in writing, software
13   distributed under the License is distributed on an "AS IS" BASIS,
14   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   See the License for the specific language governing permissions and
16   limitations under the License.
17
18   SPDX-License-Identifier: Apache-2.0
19   ============LICENSE_END=========================================================
20 -->
21
22 <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">
23     <modelVersion>4.0.0</modelVersion>
24     <parent>
25         <groupId>org.onap.policy.parent</groupId>
26         <artifactId>policy-parent</artifactId>
27         <version>2.1.0-SNAPSHOT</version>
28     </parent>
29     <artifactId>integration</artifactId>
30     <packaging>pom</packaging>
31     <name>Policy Integration POM</name>
32     <description>Policy Integration POM</description>
33
34     <properties>
35         <java.version>1.8</java.version>
36         <maven.compiler.source>1.8</maven.compiler.source>
37         <maven.compiler.target>1.8</maven.compiler.target>
38         <version.logback>1.2.3</version.logback>
39         <version.dmaap>1.1.9</version.dmaap>
40         <version.powermock>1.7.4</version.powermock>
41         <version.eclipselink>2.7.0</version.eclipselink>
42     </properties>
43
44     <distributionManagement>
45         <site>
46             <id>ecomp-site</id>
47             <url>dav:${onap.nexus.url}${sitePath}</url>
48         </site>
49     </distributionManagement>
50
51     <dependencyManagement>
52         <dependencies>
53             <!-- MariaDB -->
54             <dependency>
55                 <groupId>org.mariadb.jdbc</groupId>
56                 <artifactId>mariadb-java-client</artifactId>
57                 <version>2.2.6</version>
58             </dependency>
59
60             <!-- Swagger Jersey2 JAXRS -->
61             <dependency>
62                 <groupId>io.swagger</groupId>
63                 <artifactId>swagger-jersey2-jaxrs</artifactId>
64                 <version>1.5.19</version>
65             </dependency>
66
67             <!-- Encoder and decoders for various formats -->
68             <dependency>
69                 <groupId>commons-codec</groupId>
70                 <artifactId>commons-codec</artifactId>
71                 <version>1.11</version>
72             </dependency>
73
74             <dependency>
75                 <groupId>com.thoughtworks.xstream</groupId>
76                 <artifactId>xstream</artifactId>
77                 <version>1.4.10</version>
78             </dependency>
79
80             <!-- Persistence API -->
81             <dependency>
82                 <groupId>javax.persistence</groupId>
83                 <artifactId>persistence-api</artifactId>
84                 <version>1.0.2</version>
85             </dependency>
86
87             <!-- Eclipse Persistence API -->
88             <dependency>
89                 <groupId>org.eclipse.persistence</groupId>
90                 <artifactId>javax.persistence</artifactId>
91                 <version>2.1.0</version>
92             </dependency>
93
94             <!-- Eclipse JPA API -->
95             <dependency>
96                 <groupId>org.eclipse.persistence</groupId>
97                 <artifactId>org.eclipse.persistence.jpa</artifactId>
98                 <version>${version.eclipselink}</version>
99             </dependency>
100
101             <!-- EclipseLink API -->
102             <dependency>
103                 <groupId>org.eclipse.persistence</groupId>
104                 <artifactId>eclipselink</artifactId>
105                 <version>${version.eclipselink}</version>
106             </dependency>
107
108             <!-- Java Servlet API -->
109             <dependency>
110                 <groupId>javax.servlet</groupId>
111                 <artifactId>javax.servlet-api</artifactId>
112                 <version>4.0.1</version>
113             </dependency>
114
115             <!-- HttpComponents Client -->
116             <dependency>
117                 <groupId>org.apache.httpcomponents</groupId>
118                 <artifactId>httpclient</artifactId>
119                 <version>4.5.5</version>
120             </dependency>
121
122             <!-- HttpComponents Core (blocking I/O) -->
123             <dependency>
124                 <groupId>org.apache.httpcomponents</groupId>
125                 <artifactId>httpcore</artifactId>
126                 <version>4.4.9</version>
127             </dependency>
128
129             <!-- JSON marshalling and unmarshalling -->
130             <dependency>
131                 <groupId>com.google.code.gson</groupId>
132                 <artifactId>gson</artifactId>
133                 <version>2.8.4</version>
134             </dependency>
135
136             <!-- Logging -->
137             <dependency>
138                 <groupId>org.slf4j</groupId>
139                 <artifactId>slf4j-api</artifactId>
140                 <version>1.7.25</version>
141             </dependency>
142             <dependency>
143                 <groupId>log4j</groupId>
144                 <artifactId>log4j</artifactId>
145                 <version>1.2.17</version>
146             </dependency>
147             <dependency>
148                 <groupId>ch.qos.logback</groupId>
149                 <artifactId>logback-core</artifactId>
150                 <version>${version.logback}</version>
151             </dependency>
152             <dependency>
153                 <groupId>ch.qos.logback</groupId>
154                 <artifactId>logback-classic</artifactId>
155                 <version>${version.logback}</version>
156             </dependency>
157             
158             <!-- Dmaap Client -->
159             <dependency>
160                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
161                 <artifactId>dmaapClient</artifactId>
162                 <version>${version.dmaap}</version>
163             </dependency>
164
165             <!-- AAF Client -->
166             <dependency>
167                 <groupId>org.onap.aaf.authz</groupId>
168                 <artifactId>aaf-cadi-aaf</artifactId>
169                 <version>2.1.2</version>
170             </dependency>
171
172             <!-- Client library for Cambria event routing API -->
173             <dependency>
174                 <groupId>com.att.nsa</groupId>
175                 <artifactId>cambriaClient</artifactId>
176                 <version>1.2.1-oss</version>
177             </dependency>
178             <dependency>
179                 <groupId>com.att.nsa</groupId>
180                 <artifactId>saClientLibrary</artifactId>
181                 <version>1.3.0-oss</version>
182             </dependency>
183
184             <!-- Commons CLI for command line parsing -->
185             <dependency>
186                 <groupId>commons-cli</groupId>
187                 <artifactId>commons-cli</artifactId>
188                 <version>1.4</version>
189             </dependency>
190
191             <!-- Web Sockets -->
192             <dependency>
193                 <groupId>org.java-websocket</groupId>
194                 <artifactId>Java-WebSocket</artifactId>
195                 <version>1.3.8</version>
196             </dependency>
197
198             <!-- Test dependencies -->
199
200             <!-- In memory Database Engine -->
201             <dependency>
202                 <groupId>com.h2database</groupId>
203                 <artifactId>h2</artifactId>
204                 <version>1.4.197</version>
205                 <scope>test</scope>
206             </dependency>
207
208             <!-- JUNIT -->
209             <dependency>
210                 <groupId>junit</groupId>
211                 <artifactId>junit</artifactId>
212                 <version>4.12</version>
213                 <scope>test</scope>
214             </dependency>
215
216             <!-- Mock libraries -->
217             <dependency>
218                 <groupId>org.mockito</groupId>
219                 <artifactId>mockito-all</artifactId>
220                 <version>1.10.19</version>
221                 <scope>test</scope>
222             </dependency>
223             <dependency>
224                 <groupId>org.powermock</groupId>
225                 <artifactId>powermock-core</artifactId>
226                 <version>${version.powermock}</version>
227                 <scope>test</scope>
228             </dependency>
229             <dependency>
230                 <groupId>org.powermock</groupId>
231                 <artifactId>powermock-api-mockito</artifactId>
232                 <version>${version.powermock}</version>
233                 <scope>test</scope>
234             </dependency>
235             <dependency>
236                 <groupId>org.powermock</groupId>
237                 <artifactId>powermock-module-junit4</artifactId>
238                 <version>${version.powermock}</version>
239                 <scope>test</scope>
240             </dependency>
241             <dependency>
242                 <groupId>com.openpojo</groupId>
243                 <artifactId>openpojo</artifactId>
244                 <version>0.8.10</version>
245                 <scope>test</scope>
246             </dependency>
247         </dependencies>
248
249     </dependencyManagement>
250
251
252     <scm>
253         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
254         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
255         <tag>HEAD</tag>
256         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
257     </scm>
258
259     <build>
260         <pluginManagement>
261             <plugins>
262                 <plugin>
263                     <groupId>org.codehaus.mojo</groupId>
264                     <artifactId>versions-maven-plugin</artifactId>
265                     <version>2.5</version>
266                 </plugin>
267                 <plugin>
268                     <groupId>org.apache.maven.plugins</groupId>
269                     <artifactId>maven-dependency-plugin</artifactId>
270                     <version>3.1.0</version>
271                 </plugin>
272                 <plugin>
273                     <groupId>org.apache.maven.plugins</groupId>
274                     <artifactId>maven-reactor-plugin</artifactId>
275                     <version>1.1</version>
276                 </plugin>
277                 <plugin>
278                     <groupId>org.apache.maven.plugins</groupId>
279                     <artifactId>maven-eclipse-plugin</artifactId>
280                     <version>2.10</version>
281                 </plugin>
282                 <plugin>
283                     <groupId>org.apache.maven.plugins</groupId>
284                     <artifactId>maven-install-plugin</artifactId>
285                     <version>2.5.2</version>
286                 </plugin>
287                 <plugin>
288                     <groupId>org.apache.maven.plugins</groupId>
289                     <artifactId>maven-resources-plugin</artifactId>
290                     <version>3.1.0</version>
291                 </plugin>
292                 <plugin>
293                     <groupId>org.apache.maven.plugins</groupId>
294                     <artifactId>maven-source-plugin</artifactId>
295                     <version>3.0.1</version>
296                 </plugin>
297                 <plugin>
298                     <groupId>org.apache.maven.plugins</groupId>
299                     <artifactId>maven-release-plugin</artifactId>
300                     <version>2.5.3</version>
301                 </plugin>
302                 <plugin>
303                     <groupId>org.apache.maven.plugins</groupId>
304                     <artifactId>maven-assembly-plugin</artifactId>
305                     <version>3.1.0</version>
306                 </plugin>
307                 <plugin>
308                     <groupId>org.apache.maven.plugins</groupId>
309                     <artifactId>maven-jar-plugin</artifactId>
310                     <version>3.1.0</version>
311                 </plugin>
312                 <plugin>
313                     <groupId>org.apache.maven.plugins</groupId>
314                     <artifactId>maven-javadoc-plugin</artifactId>
315                     <version>3.0.0</version>
316                 </plugin>
317                 <plugin>
318                     <groupId>org.apache.maven.plugins</groupId>
319                     <artifactId>maven-shade-plugin</artifactId>
320                     <version>3.1.1</version>
321                 </plugin>
322                 <plugin>
323                     <groupId>org.apache.maven.plugins</groupId>
324                     <artifactId>maven-archetype-plugin</artifactId>
325                     <version>3.0.1</version>
326                 </plugin>
327                 <plugin>
328                     <groupId>org.apache.maven.archetype</groupId>
329                     <artifactId>archetype-packaging</artifactId>
330                     <version>3.0.1</version>
331                 </plugin>
332                 <plugin>
333                     <groupId>com.coderplus.maven.plugins</groupId>
334                     <artifactId>copy-rename-maven-plugin</artifactId>
335                     <version>1.0.1</version>
336                 </plugin>
337                 <plugin>
338                     <groupId>org.apache.maven.plugins</groupId>
339                     <artifactId>maven-compiler-plugin</artifactId>
340                     <version>3.7.0</version>
341                     <configuration>
342                         <encoding>${project.build.sourceEncoding}</encoding>
343                         <source>${java.version}</source>
344                         <target>${java.version}</target>
345                     </configuration>
346                 </plugin>
347                 <plugin>
348                     <groupId>org.codehaus.mojo</groupId>
349                     <artifactId>exec-maven-plugin</artifactId>
350                     <version>1.6.0</version>
351                 </plugin>
352                 <plugin>
353                     <groupId>org.apache.maven.plugins</groupId>
354                     <artifactId>maven-war-plugin</artifactId>
355                     <version>2.6</version>
356                 </plugin>
357             </plugins>
358         </pluginManagement>
359
360         <plugins>
361             <plugin>
362                 <groupId>org.apache.maven.plugins</groupId>
363                 <artifactId>maven-compiler-plugin</artifactId>
364                 <configuration>
365                     <encoding>${project.build.sourceEncoding}</encoding>
366                     <source>${java.version}</source>
367                     <target>${java.version}</target>
368                 </configuration>
369             </plugin>
370         </plugins>
371     </build>
372
373 </project>