Move dmaap dependency to parent
[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         <version.dmaap>1.1.8</version.dmaap>
40     </properties>
41
42     <distributionManagement>
43         <site>
44             <id>ecomp-site</id>
45             <url>dav:${onap.nexus.url}${sitePath}</url>
46         </site>
47     </distributionManagement>
48
49     <dependencyManagement>
50         <dependencies>
51             <!-- MariaDB -->
52             <dependency>
53                 <groupId>org.mariadb.jdbc</groupId>
54                 <artifactId>mariadb-java-client</artifactId>
55                 <version>2.2.6</version>
56             </dependency>
57
58             <!-- Swagger Jersey2 JAXRS -->
59             <dependency>
60                 <groupId>io.swagger</groupId>
61                 <artifactId>swagger-jersey2-jaxrs</artifactId>
62                 <version>1.5.19</version>
63             </dependency>
64
65             <!-- Encoder and decoders for various formats -->
66             <dependency>
67                 <groupId>commons-codec</groupId>
68                 <artifactId>commons-codec</artifactId>
69                 <version>1.11</version>
70             </dependency>
71
72             <dependency>
73                 <groupId>com.thoughtworks.xstream</groupId>
74                 <artifactId>xstream</artifactId>
75                 <version>1.4.10</version>
76             </dependency>
77
78             <!-- Persistence API -->
79             <dependency>
80                 <groupId>javax.persistence</groupId>
81                 <artifactId>persistence-api</artifactId>
82                 <version>1.0.2</version>
83             </dependency>
84
85             <!-- Java Servlet API -->
86             <dependency>
87                 <groupId>javax.servlet</groupId>
88                 <artifactId>javax.servlet-api</artifactId>
89                 <version>4.0.1</version>
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             <!-- Dmaap Client -->
136             <dependency>
137                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
138                 <artifactId>dmaapClient</artifactId>
139                 <version>${version.dmaap}</version>
140             </dependency>
141
142             <!-- Client library for Cambria event routing API -->
143             <dependency>
144                 <groupId>com.att.nsa</groupId>
145                 <artifactId>cambriaClient</artifactId>
146                 <version>1.2.1-oss</version>
147             </dependency>
148             <dependency>
149                 <groupId>com.att.nsa</groupId>
150                 <artifactId>saClientLibrary</artifactId>
151                 <version>1.3.0-oss</version>
152             </dependency>
153
154             <!-- Commons CLI for command line parsing -->
155             <dependency>
156                 <groupId>commons-cli</groupId>
157                 <artifactId>commons-cli</artifactId>
158                 <version>1.4</version>
159             </dependency>
160
161             <!-- Web Sockets -->
162             <dependency>
163                 <groupId>org.java-websocket</groupId>
164                 <artifactId>Java-WebSocket</artifactId>
165                 <version>1.3.8</version>
166             </dependency>
167
168             <!-- Test dependencies -->
169
170             <!-- In memory Database Engine -->
171             <dependency>
172                 <groupId>com.h2database</groupId>
173                 <artifactId>h2</artifactId>
174                 <version>1.4.197</version>
175                 <scope>test</scope>
176             </dependency>
177
178             <!-- JUNIT -->
179             <dependency>
180                 <groupId>junit</groupId>
181                 <artifactId>junit</artifactId>
182                 <version>4.12</version>
183                 <scope>test</scope>
184             </dependency>
185
186             <!-- Mock libraries -->
187             <dependency>
188                 <groupId>org.mockito</groupId>
189                 <artifactId>mockito-all</artifactId>
190                 <version>1.10.19</version>
191                 <scope>test</scope>
192             </dependency>
193             <dependency>
194                 <groupId>org.powermock</groupId>
195                 <artifactId>powermock-core</artifactId>
196                 <version>1.7.4</version>
197                 <scope>test</scope>
198             </dependency>
199             <dependency>
200                 <groupId>com.openpojo</groupId>
201                 <artifactId>openpojo</artifactId>
202                 <version>0.8.10</version>
203                 <scope>test</scope>
204             </dependency>
205         </dependencies>
206
207     </dependencyManagement>
208
209
210     <scm>
211         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
212         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
213         <tag>HEAD</tag>
214         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
215     </scm>
216
217     <build>
218         <pluginManagement>
219             <plugins>
220                 <plugin>
221                     <groupId>org.codehaus.mojo</groupId>
222                     <artifactId>versions-maven-plugin</artifactId>
223                     <version>2.5</version>
224                 </plugin>
225                 <plugin>
226                     <groupId>org.apache.maven.plugins</groupId>
227                     <artifactId>maven-dependency-plugin</artifactId>
228                     <version>3.1.0</version>
229                 </plugin>
230                 <plugin>
231                     <groupId>org.apache.maven.plugins</groupId>
232                     <artifactId>maven-reactor-plugin</artifactId>
233                     <version>1.1</version>
234                 </plugin>
235                 <plugin>
236                     <groupId>org.apache.maven.plugins</groupId>
237                     <artifactId>maven-eclipse-plugin</artifactId>
238                     <version>2.10</version>
239                 </plugin>
240                 <plugin>
241                     <groupId>org.apache.maven.plugins</groupId>
242                     <artifactId>maven-install-plugin</artifactId>
243                     <version>2.5.2</version>
244                 </plugin>
245                 <plugin>
246                     <groupId>org.apache.maven.plugins</groupId>
247                     <artifactId>maven-resources-plugin</artifactId>
248                     <version>3.1.0</version>
249                 </plugin>
250                 <plugin>
251                     <groupId>org.apache.maven.plugins</groupId>
252                     <artifactId>maven-source-plugin</artifactId>
253                     <version>3.0.1</version>
254                 </plugin>
255                 <plugin>
256                     <groupId>org.apache.maven.plugins</groupId>
257                     <artifactId>maven-release-plugin</artifactId>
258                     <version>2.5.3</version>
259                 </plugin>
260                 <plugin>
261                     <groupId>org.apache.maven.plugins</groupId>
262                     <artifactId>maven-assembly-plugin</artifactId>
263                     <version>3.1.0</version>
264                 </plugin>
265                 <plugin>
266                     <groupId>org.apache.maven.plugins</groupId>
267                     <artifactId>maven-jar-plugin</artifactId>
268                     <version>3.1.0</version>
269                 </plugin>
270                 <plugin>
271                     <groupId>org.apache.maven.plugins</groupId>
272                     <artifactId>maven-javadoc-plugin</artifactId>
273                     <version>3.0.0</version>
274                 </plugin>
275                 <plugin>
276                     <groupId>org.apache.maven.plugins</groupId>
277                     <artifactId>maven-shade-plugin</artifactId>
278                     <version>3.1.1</version>
279                 </plugin>
280                 <plugin>
281                     <groupId>org.apache.maven.plugins</groupId>
282                     <artifactId>maven-archetype-plugin</artifactId>
283                     <version>3.0.1</version>
284                 </plugin>
285                 <plugin>
286                     <groupId>org.apache.maven.archetype</groupId>
287                     <artifactId>archetype-packaging</artifactId>
288                     <version>3.0.1</version>
289                 </plugin>
290                 <plugin>
291                     <groupId>com.coderplus.maven.plugins</groupId>
292                     <artifactId>copy-rename-maven-plugin</artifactId>
293                     <version>1.0.1</version>
294                 </plugin>
295                 <plugin>
296                     <groupId>org.apache.maven.plugins</groupId>
297                     <artifactId>maven-compiler-plugin</artifactId>
298                     <version>3.7.0</version>
299                     <configuration>
300                         <encoding>${project.build.sourceEncoding}</encoding>
301                         <source>${java.version}</source>
302                         <target>${java.version}</target>
303                     </configuration>
304                 </plugin>
305                 <plugin>
306                     <groupId>org.codehaus.mojo</groupId>
307                     <artifactId>exec-maven-plugin</artifactId>
308                     <version>1.6.0</version>
309                 </plugin>
310                 <plugin>
311                     <groupId>org.apache.maven.plugins</groupId>
312                     <artifactId>maven-war-plugin</artifactId>
313                     <version>2.6</version>
314                 </plugin>
315             </plugins>
316         </pluginManagement>
317
318         <plugins>
319             <plugin>
320                 <groupId>org.apache.maven.plugins</groupId>
321                 <artifactId>maven-compiler-plugin</artifactId>
322                 <configuration>
323                     <encoding>${project.build.sourceEncoding}</encoding>
324                     <source>${java.version}</source>
325                     <target>${java.version}</target>
326                 </configuration>
327             </plugin>
328         </plugins>
329     </build>
330
331 </project>