Add web sockets as common dependency
[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             <!-- Web Sockets -->
154             <dependency>
155                 <groupId>org.java-websocket</groupId>
156                 <artifactId>Java-WebSocket</artifactId>
157                 <version>1.3.8</version>
158             </dependency>
159
160             <!-- Test dependencies -->
161
162             <!-- In memory Database Engine -->
163             <dependency>
164                 <groupId>com.h2database</groupId>
165                 <artifactId>h2</artifactId>
166                 <version>1.4.197</version>
167                 <scope>test</scope>
168             </dependency>
169
170             <!-- JUNIT -->
171             <dependency>
172                 <groupId>junit</groupId>
173                 <artifactId>junit</artifactId>
174                 <version>4.12</version>
175                 <scope>test</scope>
176             </dependency>
177
178             <!-- Mock libraries -->
179             <dependency>
180                 <groupId>org.mockito</groupId>
181                 <artifactId>mockito-all</artifactId>
182                 <version>1.10.19</version>
183                 <scope>test</scope>
184             </dependency>
185             <dependency>
186                 <groupId>org.powermock</groupId>
187                 <artifactId>powermock-core</artifactId>
188                 <version>1.7.4</version>
189                 <scope>test</scope>
190             </dependency>
191             <dependency>
192                 <groupId>com.openpojo</groupId>
193                 <artifactId>openpojo</artifactId>
194                 <version>0.8.10</version>
195                 <scope>test</scope>
196             </dependency>
197         </dependencies>
198
199     </dependencyManagement>
200
201
202     <scm>
203         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
204         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
205         <tag>HEAD</tag>
206         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
207     </scm>
208
209     <build>
210         <pluginManagement>
211             <plugins>
212                 <plugin>
213                     <groupId>org.codehaus.mojo</groupId>
214                     <artifactId>versions-maven-plugin</artifactId>
215                     <version>2.5</version>
216                 </plugin>
217                 <plugin>
218                     <groupId>org.apache.maven.plugins</groupId>
219                     <artifactId>maven-dependency-plugin</artifactId>
220                     <version>3.1.0</version>
221                 </plugin>
222                 <plugin>
223                     <groupId>org.apache.maven.plugins</groupId>
224                     <artifactId>maven-reactor-plugin</artifactId>
225                     <version>1.1</version>
226                 </plugin>
227                 <plugin>
228                     <groupId>org.apache.maven.plugins</groupId>
229                     <artifactId>maven-eclipse-plugin</artifactId>
230                     <version>2.10</version>
231                 </plugin>
232                 <plugin>
233                     <groupId>org.apache.maven.plugins</groupId>
234                     <artifactId>maven-install-plugin</artifactId>
235                     <version>2.5.2</version>
236                 </plugin>
237                 <plugin>
238                     <groupId>org.apache.maven.plugins</groupId>
239                     <artifactId>maven-resources-plugin</artifactId>
240                     <version>3.1.0</version>
241                 </plugin>
242                 <plugin>
243                     <groupId>org.apache.maven.plugins</groupId>
244                     <artifactId>maven-source-plugin</artifactId>
245                     <version>3.0.1</version>
246                 </plugin>
247                 <plugin>
248                     <groupId>org.apache.maven.plugins</groupId>
249                     <artifactId>maven-release-plugin</artifactId>
250                     <version>2.5.3</version>
251                 </plugin>
252                 <plugin>
253                     <groupId>org.apache.maven.plugins</groupId>
254                     <artifactId>maven-assembly-plugin</artifactId>
255                     <version>3.1.0</version>
256                 </plugin>
257                 <plugin>
258                     <groupId>org.apache.maven.plugins</groupId>
259                     <artifactId>maven-jar-plugin</artifactId>
260                     <version>3.1.0</version>
261                 </plugin>
262                 <plugin>
263                     <groupId>org.apache.maven.plugins</groupId>
264                     <artifactId>maven-javadoc-plugin</artifactId>
265                     <version>3.0.0</version>
266                 </plugin>
267                 <plugin>
268                     <groupId>org.apache.maven.plugins</groupId>
269                     <artifactId>maven-shade-plugin</artifactId>
270                     <version>3.1.1</version>
271                 </plugin>
272                 <plugin>
273                     <groupId>org.apache.maven.plugins</groupId>
274                     <artifactId>maven-archetype-plugin</artifactId>
275                     <version>3.0.1</version>
276                 </plugin>
277                 <plugin>
278                     <groupId>org.apache.maven.archetype</groupId>
279                     <artifactId>archetype-packaging</artifactId>
280                     <version>3.0.1</version>
281                 </plugin>
282                 <plugin>
283                     <groupId>com.coderplus.maven.plugins</groupId>
284                     <artifactId>copy-rename-maven-plugin</artifactId>
285                     <version>1.0.1</version>
286                 </plugin>
287                 <plugin>
288                     <groupId>org.apache.maven.plugins</groupId>
289                     <artifactId>maven-compiler-plugin</artifactId>
290                     <version>3.7.0</version>
291                     <configuration>
292                         <encoding>${project.build.sourceEncoding}</encoding>
293                         <source>${java.version}</source>
294                         <target>${java.version}</target>
295                     </configuration>
296                 </plugin>
297                 <plugin>
298                     <groupId>org.codehaus.mojo</groupId>
299                     <artifactId>exec-maven-plugin</artifactId>
300                     <version>1.6.0</version>
301                 </plugin>
302                 <plugin>
303                     <groupId>org.apache.maven.plugins</groupId>
304                     <artifactId>maven-war-plugin</artifactId>
305                     <version>2.6</version>
306                 </plugin>
307             </plugins>
308         </pluginManagement>
309
310         <plugins>
311             <plugin>
312                 <groupId>org.apache.maven.plugins</groupId>
313                 <artifactId>maven-compiler-plugin</artifactId>
314                 <configuration>
315                     <encoding>${project.build.sourceEncoding}</encoding>
316                     <source>${java.version}</source>
317                     <target>${java.version}</target>
318                 </configuration>
319             </plugin>
320         </plugins>
321     </build>
322
323 </project>