Use eclipselink for javax.persistence
[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             <!-- Eclipse Persistence API -->
81             <!-- NOTE: use this instead of persistence-api -->
82             <dependency>
83                 <groupId>org.eclipse.persistence</groupId>
84                 <artifactId>javax.persistence</artifactId>
85                 <version>2.1.0</version>
86             </dependency>
87
88             <!-- Eclipse JPA API -->
89             <dependency>
90                 <groupId>org.eclipse.persistence</groupId>
91                 <artifactId>org.eclipse.persistence.jpa</artifactId>
92                 <version>${version.eclipselink}</version>
93             </dependency>
94
95             <!-- EclipseLink API -->
96             <dependency>
97                 <groupId>org.eclipse.persistence</groupId>
98                 <artifactId>eclipselink</artifactId>
99                 <version>${version.eclipselink}</version>
100             </dependency>
101
102             <!-- Java Servlet API -->
103             <dependency>
104                 <groupId>javax.servlet</groupId>
105                 <artifactId>javax.servlet-api</artifactId>
106                 <version>4.0.1</version>
107             </dependency>
108
109             <!-- HttpComponents Client -->
110             <dependency>
111                 <groupId>org.apache.httpcomponents</groupId>
112                 <artifactId>httpclient</artifactId>
113                 <version>4.5.5</version>
114             </dependency>
115
116             <!-- HttpComponents Core (blocking I/O) -->
117             <dependency>
118                 <groupId>org.apache.httpcomponents</groupId>
119                 <artifactId>httpcore</artifactId>
120                 <version>4.4.9</version>
121             </dependency>
122
123             <!-- JSON marshalling and unmarshalling -->
124             <dependency>
125                 <groupId>com.google.code.gson</groupId>
126                 <artifactId>gson</artifactId>
127                 <version>2.8.4</version>
128             </dependency>
129
130             <!-- Logging -->
131             <dependency>
132                 <groupId>org.slf4j</groupId>
133                 <artifactId>slf4j-api</artifactId>
134                 <version>1.7.25</version>
135             </dependency>
136             <dependency>
137                 <groupId>log4j</groupId>
138                 <artifactId>log4j</artifactId>
139                 <version>1.2.17</version>
140             </dependency>
141             <dependency>
142                 <groupId>ch.qos.logback</groupId>
143                 <artifactId>logback-core</artifactId>
144                 <version>${version.logback}</version>
145             </dependency>
146             <dependency>
147                 <groupId>ch.qos.logback</groupId>
148                 <artifactId>logback-classic</artifactId>
149                 <version>${version.logback}</version>
150             </dependency>
151             
152             <!-- Dmaap Client -->
153             <dependency>
154                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
155                 <artifactId>dmaapClient</artifactId>
156                 <version>${version.dmaap}</version>
157             </dependency>
158
159             <!-- AAF Client -->
160             <dependency>
161                 <groupId>org.onap.aaf.authz</groupId>
162                 <artifactId>aaf-cadi-aaf</artifactId>
163                 <version>2.1.2</version>
164             </dependency>
165
166             <!-- Client library for Cambria event routing API -->
167             <dependency>
168                 <groupId>com.att.nsa</groupId>
169                 <artifactId>cambriaClient</artifactId>
170                 <version>1.2.1-oss</version>
171             </dependency>
172             <dependency>
173                 <groupId>com.att.nsa</groupId>
174                 <artifactId>saClientLibrary</artifactId>
175                 <version>1.3.0-oss</version>
176             </dependency>
177
178             <!-- Commons CLI for command line parsing -->
179             <dependency>
180                 <groupId>commons-cli</groupId>
181                 <artifactId>commons-cli</artifactId>
182                 <version>1.4</version>
183             </dependency>
184
185             <!-- Web Sockets -->
186             <dependency>
187                 <groupId>org.java-websocket</groupId>
188                 <artifactId>Java-WebSocket</artifactId>
189                 <version>1.3.8</version>
190             </dependency>
191
192             <!-- Test dependencies -->
193
194             <!-- In memory Database Engine -->
195             <dependency>
196                 <groupId>com.h2database</groupId>
197                 <artifactId>h2</artifactId>
198                 <version>1.4.197</version>
199                 <scope>test</scope>
200             </dependency>
201
202             <!-- JUNIT -->
203             <dependency>
204                 <groupId>junit</groupId>
205                 <artifactId>junit</artifactId>
206                 <version>4.12</version>
207                 <scope>test</scope>
208             </dependency>
209
210             <!-- Mock libraries -->
211             <dependency>
212                 <groupId>org.mockito</groupId>
213                 <artifactId>mockito-all</artifactId>
214                 <version>1.10.19</version>
215                 <scope>test</scope>
216             </dependency>
217             <dependency>
218                 <groupId>org.powermock</groupId>
219                 <artifactId>powermock-core</artifactId>
220                 <version>${version.powermock}</version>
221                 <scope>test</scope>
222             </dependency>
223             <dependency>
224                 <groupId>org.powermock</groupId>
225                 <artifactId>powermock-api-mockito</artifactId>
226                 <version>${version.powermock}</version>
227                 <scope>test</scope>
228             </dependency>
229             <dependency>
230                 <groupId>org.powermock</groupId>
231                 <artifactId>powermock-module-junit4</artifactId>
232                 <version>${version.powermock}</version>
233                 <scope>test</scope>
234             </dependency>
235             <dependency>
236                 <groupId>com.openpojo</groupId>
237                 <artifactId>openpojo</artifactId>
238                 <version>0.8.10</version>
239                 <scope>test</scope>
240             </dependency>
241         </dependencies>
242
243     </dependencyManagement>
244
245
246     <scm>
247         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
248         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
249         <tag>HEAD</tag>
250         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
251     </scm>
252
253     <build>
254         <pluginManagement>
255             <plugins>
256                 <plugin>
257                     <groupId>org.codehaus.mojo</groupId>
258                     <artifactId>versions-maven-plugin</artifactId>
259                     <version>2.5</version>
260                 </plugin>
261                 <plugin>
262                     <groupId>org.apache.maven.plugins</groupId>
263                     <artifactId>maven-dependency-plugin</artifactId>
264                     <version>3.1.0</version>
265                 </plugin>
266                 <plugin>
267                     <groupId>org.apache.maven.plugins</groupId>
268                     <artifactId>maven-reactor-plugin</artifactId>
269                     <version>1.1</version>
270                 </plugin>
271                 <plugin>
272                     <groupId>org.apache.maven.plugins</groupId>
273                     <artifactId>maven-eclipse-plugin</artifactId>
274                     <version>2.10</version>
275                 </plugin>
276                 <plugin>
277                     <groupId>org.apache.maven.plugins</groupId>
278                     <artifactId>maven-install-plugin</artifactId>
279                     <version>2.5.2</version>
280                 </plugin>
281                 <plugin>
282                     <groupId>org.apache.maven.plugins</groupId>
283                     <artifactId>maven-resources-plugin</artifactId>
284                     <version>3.1.0</version>
285                 </plugin>
286                 <plugin>
287                     <groupId>org.apache.maven.plugins</groupId>
288                     <artifactId>maven-source-plugin</artifactId>
289                     <version>3.0.1</version>
290                 </plugin>
291                 <plugin>
292                     <groupId>org.apache.maven.plugins</groupId>
293                     <artifactId>maven-release-plugin</artifactId>
294                     <version>2.5.3</version>
295                 </plugin>
296                 <plugin>
297                     <groupId>org.apache.maven.plugins</groupId>
298                     <artifactId>maven-assembly-plugin</artifactId>
299                     <version>3.1.0</version>
300                 </plugin>
301                 <plugin>
302                     <groupId>org.apache.maven.plugins</groupId>
303                     <artifactId>maven-jar-plugin</artifactId>
304                     <version>3.1.0</version>
305                 </plugin>
306                 <plugin>
307                     <groupId>org.apache.maven.plugins</groupId>
308                     <artifactId>maven-javadoc-plugin</artifactId>
309                     <version>3.0.0</version>
310                 </plugin>
311                 <plugin>
312                     <groupId>org.apache.maven.plugins</groupId>
313                     <artifactId>maven-shade-plugin</artifactId>
314                     <version>3.1.1</version>
315                 </plugin>
316                 <plugin>
317                     <groupId>org.apache.maven.plugins</groupId>
318                     <artifactId>maven-archetype-plugin</artifactId>
319                     <version>3.0.1</version>
320                 </plugin>
321                 <plugin>
322                     <groupId>org.apache.maven.archetype</groupId>
323                     <artifactId>archetype-packaging</artifactId>
324                     <version>3.0.1</version>
325                 </plugin>
326                 <plugin>
327                     <groupId>com.coderplus.maven.plugins</groupId>
328                     <artifactId>copy-rename-maven-plugin</artifactId>
329                     <version>1.0.1</version>
330                 </plugin>
331                 <plugin>
332                     <groupId>org.apache.maven.plugins</groupId>
333                     <artifactId>maven-compiler-plugin</artifactId>
334                     <version>3.7.0</version>
335                     <configuration>
336                         <encoding>${project.build.sourceEncoding}</encoding>
337                         <source>${java.version}</source>
338                         <target>${java.version}</target>
339                     </configuration>
340                 </plugin>
341                 <plugin>
342                     <groupId>org.codehaus.mojo</groupId>
343                     <artifactId>exec-maven-plugin</artifactId>
344                     <version>1.6.0</version>
345                 </plugin>
346                 <plugin>
347                     <groupId>org.apache.maven.plugins</groupId>
348                     <artifactId>maven-war-plugin</artifactId>
349                     <version>2.6</version>
350                 </plugin>
351             </plugins>
352         </pluginManagement>
353
354         <plugins>
355             <plugin>
356                 <groupId>org.apache.maven.plugins</groupId>
357                 <artifactId>maven-compiler-plugin</artifactId>
358                 <configuration>
359                     <encoding>${project.build.sourceEncoding}</encoding>
360                     <source>${java.version}</source>
361                     <target>${java.version}</target>
362                 </configuration>
363             </plugin>
364         </plugins>
365     </build>
366
367 </project>