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