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