Merge "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             </dependency>
90
91             <!-- HttpComponents Client -->
92             <dependency>
93                 <groupId>org.apache.httpcomponents</groupId>
94                 <artifactId>httpclient</artifactId>
95                 <version>4.5.5</version>
96             </dependency>
97
98             <!-- HttpComponents Core (blocking I/O) -->
99             <dependency>
100                 <groupId>org.apache.httpcomponents</groupId>
101                 <artifactId>httpcore</artifactId>
102                 <version>4.4.9</version>
103             </dependency>
104
105             <!-- JSON marshalling and unmarshalling -->
106             <dependency>
107                 <groupId>com.google.code.gson</groupId>
108                 <artifactId>gson</artifactId>
109                 <version>2.8.4</version>
110             </dependency>
111
112             <!-- Logging -->
113             <dependency>
114                 <groupId>org.slf4j</groupId>
115                 <artifactId>slf4j-api</artifactId>
116                 <version>1.7.25</version>
117             </dependency>
118             <dependency>
119                 <groupId>log4j</groupId>
120                 <artifactId>log4j</artifactId>
121                 <version>1.2.17</version>
122             </dependency>
123             <dependency>
124                 <groupId>ch.qos.logback</groupId>
125                 <artifactId>logback-core</artifactId>
126                 <version>${version.logback}</version>
127             </dependency>
128             <dependency>
129                 <groupId>ch.qos.logback</groupId>
130                 <artifactId>logback-classic</artifactId>
131                 <version>${version.logback}</version>
132             </dependency>
133
134             <!-- Client library for Cambria event routing API -->
135             <dependency>
136                 <groupId>com.att.nsa</groupId>
137                 <artifactId>cambriaClient</artifactId>
138                 <version>1.2.1-oss</version>
139             </dependency>
140             <dependency>
141                 <groupId>com.att.nsa</groupId>
142                 <artifactId>saClientLibrary</artifactId>
143                 <version>1.3.0-oss</version>
144             </dependency>
145
146             <!-- Commons CLI for command line parsing -->
147             <dependency>
148                 <groupId>commons-cli</groupId>
149                 <artifactId>commons-cli</artifactId>
150                 <version>1.4</version>
151             </dependency>
152
153             <!-- Test dependencies -->
154
155             <!-- In memory Database Engine -->
156             <dependency>
157                 <groupId>com.h2database</groupId>
158                 <artifactId>h2</artifactId>
159                 <version>1.4.197</version>
160                 <scope>test</scope>
161             </dependency>
162
163             <!-- JUNIT -->
164             <dependency>
165                 <groupId>junit</groupId>
166                 <artifactId>junit</artifactId>
167                 <version>4.12</version>
168                 <scope>test</scope>
169             </dependency>
170
171             <!-- Mock libraries -->
172             <dependency>
173                 <groupId>org.mockito</groupId>
174                 <artifactId>mockito-all</artifactId>
175                 <version>1.10.19</version>
176                 <scope>test</scope>
177             </dependency>
178             <dependency>
179                 <groupId>org.powermock</groupId>
180                 <artifactId>powermock-core</artifactId>
181                 <version>1.7.4</version>
182                 <scope>test</scope>
183             </dependency>
184             <dependency>
185                 <groupId>com.openpojo</groupId>
186                 <artifactId>openpojo</artifactId>
187                 <version>0.8.10</version>
188                 <scope>test</scope>
189             </dependency>
190         </dependencies>
191
192     </dependencyManagement>
193
194
195     <scm>
196         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
197         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
198         <tag>HEAD</tag>
199         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
200     </scm>
201
202     <build>
203         <pluginManagement>
204             <plugins>
205                 <plugin>
206                     <groupId>org.codehaus.mojo</groupId>
207                     <artifactId>versions-maven-plugin</artifactId>
208                     <version>2.5</version>
209                 </plugin>
210                 <plugin>
211                     <groupId>org.apache.maven.plugins</groupId>
212                     <artifactId>maven-dependency-plugin</artifactId>
213                     <version>3.1.0</version>
214                 </plugin>
215                 <plugin>
216                     <groupId>org.apache.maven.plugins</groupId>
217                     <artifactId>maven-reactor-plugin</artifactId>
218                     <version>1.1</version>
219                 </plugin>
220                 <plugin>
221                     <groupId>org.apache.maven.plugins</groupId>
222                     <artifactId>maven-eclipse-plugin</artifactId>
223                     <version>2.10</version>
224                 </plugin>
225                 <plugin>
226                     <groupId>org.apache.maven.plugins</groupId>
227                     <artifactId>maven-install-plugin</artifactId>
228                     <version>2.5.2</version>
229                 </plugin>
230                 <plugin>
231                     <groupId>org.apache.maven.plugins</groupId>
232                     <artifactId>maven-resources-plugin</artifactId>
233                     <version>3.1.0</version>
234                 </plugin>
235                 <plugin>
236                     <groupId>org.apache.maven.plugins</groupId>
237                     <artifactId>maven-source-plugin</artifactId>
238                     <version>3.0.1</version>
239                 </plugin>
240                 <plugin>
241                     <groupId>org.apache.maven.plugins</groupId>
242                     <artifactId>maven-release-plugin</artifactId>
243                     <version>2.5.3</version>
244                 </plugin>
245                 <plugin>
246                     <groupId>org.apache.maven.plugins</groupId>
247                     <artifactId>maven-assembly-plugin</artifactId>
248                     <version>3.1.0</version>
249                 </plugin>
250                 <plugin>
251                     <groupId>org.apache.maven.plugins</groupId>
252                     <artifactId>maven-jar-plugin</artifactId>
253                     <version>3.1.0</version>
254                 </plugin>
255                 <plugin>
256                     <groupId>org.apache.maven.plugins</groupId>
257                     <artifactId>maven-javadoc-plugin</artifactId>
258                     <version>3.0.0</version>
259                 </plugin>
260                 <plugin>
261                     <groupId>org.apache.maven.plugins</groupId>
262                     <artifactId>maven-shade-plugin</artifactId>
263                     <version>3.1.1</version>
264                 </plugin>
265                 <plugin>
266                     <groupId>org.apache.maven.plugins</groupId>
267                     <artifactId>maven-archetype-plugin</artifactId>
268                     <version>3.0.1</version>
269                 </plugin>
270                 <plugin>
271                     <groupId>org.apache.maven.archetype</groupId>
272                     <artifactId>archetype-packaging</artifactId>
273                     <version>3.0.1</version>
274                 </plugin>
275                 <plugin>
276                     <groupId>com.coderplus.maven.plugins</groupId>
277                     <artifactId>copy-rename-maven-plugin</artifactId>
278                     <version>1.0.1</version>
279                 </plugin>
280                 <plugin>
281                     <groupId>org.apache.maven.plugins</groupId>
282                     <artifactId>maven-compiler-plugin</artifactId>
283                     <version>3.7.0</version>
284                     <configuration>
285                         <encoding>${project.build.sourceEncoding}</encoding>
286                         <source>${java.version}</source>
287                         <target>${java.version}</target>
288                     </configuration>
289                 </plugin>
290                 <plugin>
291                     <groupId>org.codehaus.mojo</groupId>
292                     <artifactId>exec-maven-plugin</artifactId>
293                     <version>1.6.0</version>
294                 </plugin>
295                 <plugin>
296                     <groupId>org.apache.maven.plugins</groupId>
297                     <artifactId>maven-war-plugin</artifactId>
298                     <version>2.6</version>
299                 </plugin>
300             </plugins>
301         </pluginManagement>
302
303         <plugins>
304             <plugin>
305                 <groupId>org.apache.maven.plugins</groupId>
306                 <artifactId>maven-compiler-plugin</artifactId>
307                 <configuration>
308                     <encoding>${project.build.sourceEncoding}</encoding>
309                     <source>${java.version}</source>
310                     <target>${java.version}</target>
311                 </configuration>
312             </plugin>
313         </plugins>
314     </build>
315
316 </project>