Add AssertJ to parent pom
[policy/parent.git] / integration / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4    Modifications Copyright (C) 2018-2019 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             <!-- Exception testing -->
211             <dependency>
212                 <groupId>org.assertj</groupId>
213                 <artifactId>assertj-core</artifactId>
214                 <version>3.11.1</version>
215                 <scope>test</scope>
216             </dependency>
217
218             <!-- Mock libraries -->
219             <dependency>
220                 <groupId>org.mockito</groupId>
221                 <artifactId>mockito-all</artifactId>
222                 <version>1.10.19</version>
223                 <scope>test</scope>
224             </dependency>
225             <dependency>
226                 <groupId>org.powermock</groupId>
227                 <artifactId>powermock-core</artifactId>
228                 <version>${version.powermock}</version>
229                 <scope>test</scope>
230             </dependency>
231             <dependency>
232                 <groupId>org.powermock</groupId>
233                 <artifactId>powermock-api-mockito</artifactId>
234                 <version>${version.powermock}</version>
235                 <scope>test</scope>
236             </dependency>
237             <dependency>
238                 <groupId>org.powermock</groupId>
239                 <artifactId>powermock-module-junit4</artifactId>
240                 <version>${version.powermock}</version>
241                 <scope>test</scope>
242             </dependency>
243             <dependency>
244                 <groupId>com.openpojo</groupId>
245                 <artifactId>openpojo</artifactId>
246                 <version>0.8.10</version>
247                 <scope>test</scope>
248             </dependency>
249         </dependencies>
250
251     </dependencyManagement>
252
253
254     <scm>
255         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
256         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
257         <tag>HEAD</tag>
258         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
259     </scm>
260
261     <build>
262         <pluginManagement>
263             <plugins>
264                 <plugin>
265                     <groupId>org.codehaus.mojo</groupId>
266                     <artifactId>versions-maven-plugin</artifactId>
267                     <version>2.5</version>
268                 </plugin>
269                 <plugin>
270                     <groupId>org.apache.maven.plugins</groupId>
271                     <artifactId>maven-dependency-plugin</artifactId>
272                     <version>3.1.0</version>
273                 </plugin>
274                 <plugin>
275                     <groupId>org.apache.maven.plugins</groupId>
276                     <artifactId>maven-reactor-plugin</artifactId>
277                     <version>1.1</version>
278                 </plugin>
279                 <plugin>
280                     <groupId>org.apache.maven.plugins</groupId>
281                     <artifactId>maven-eclipse-plugin</artifactId>
282                     <version>2.10</version>
283                 </plugin>
284                 <plugin>
285                     <groupId>org.apache.maven.plugins</groupId>
286                     <artifactId>maven-install-plugin</artifactId>
287                     <version>2.5.2</version>
288                 </plugin>
289                 <plugin>
290                     <groupId>org.apache.maven.plugins</groupId>
291                     <artifactId>maven-resources-plugin</artifactId>
292                     <version>3.1.0</version>
293                 </plugin>
294                 <plugin>
295                     <groupId>org.apache.maven.plugins</groupId>
296                     <artifactId>maven-source-plugin</artifactId>
297                     <version>3.0.1</version>
298                 </plugin>
299                 <plugin>
300                     <groupId>org.apache.maven.plugins</groupId>
301                     <artifactId>maven-release-plugin</artifactId>
302                     <version>2.5.3</version>
303                 </plugin>
304                 <plugin>
305                     <groupId>org.apache.maven.plugins</groupId>
306                     <artifactId>maven-assembly-plugin</artifactId>
307                     <version>3.1.0</version>
308                 </plugin>
309                 <plugin>
310                     <groupId>org.apache.maven.plugins</groupId>
311                     <artifactId>maven-jar-plugin</artifactId>
312                     <version>3.1.0</version>
313                 </plugin>
314                 <plugin>
315                     <groupId>org.apache.maven.plugins</groupId>
316                     <artifactId>maven-javadoc-plugin</artifactId>
317                     <version>3.0.0</version>
318                 </plugin>
319                 <plugin>
320                     <groupId>org.apache.maven.plugins</groupId>
321                     <artifactId>maven-shade-plugin</artifactId>
322                     <version>3.1.1</version>
323                 </plugin>
324                 <plugin>
325                     <groupId>org.apache.maven.plugins</groupId>
326                     <artifactId>maven-archetype-plugin</artifactId>
327                     <version>3.0.1</version>
328                 </plugin>
329                 <plugin>
330                     <groupId>org.apache.maven.archetype</groupId>
331                     <artifactId>archetype-packaging</artifactId>
332                     <version>3.0.1</version>
333                 </plugin>
334                 <plugin>
335                     <groupId>com.coderplus.maven.plugins</groupId>
336                     <artifactId>copy-rename-maven-plugin</artifactId>
337                     <version>1.0.1</version>
338                 </plugin>
339                 <plugin>
340                     <groupId>org.apache.maven.plugins</groupId>
341                     <artifactId>maven-compiler-plugin</artifactId>
342                     <version>3.7.0</version>
343                     <configuration>
344                         <encoding>${project.build.sourceEncoding}</encoding>
345                         <source>${java.version}</source>
346                         <target>${java.version}</target>
347                     </configuration>
348                 </plugin>
349                 <plugin>
350                     <groupId>org.codehaus.mojo</groupId>
351                     <artifactId>exec-maven-plugin</artifactId>
352                     <version>1.6.0</version>
353                 </plugin>
354                 <plugin>
355                     <groupId>org.apache.maven.plugins</groupId>
356                     <artifactId>maven-war-plugin</artifactId>
357                     <version>2.6</version>
358                 </plugin>
359             </plugins>
360         </pluginManagement>
361
362         <plugins>
363             <plugin>
364                 <groupId>org.apache.maven.plugins</groupId>
365                 <artifactId>maven-compiler-plugin</artifactId>
366                 <configuration>
367                     <encoding>${project.build.sourceEncoding}</encoding>
368                     <source>${java.version}</source>
369                     <target>${java.version}</target>
370                 </configuration>
371             </plugin>
372         </plugins>
373     </build>
374
375 </project>