Add cucumber dependency for all projects
[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             <!-- Lombok -->
131             <dependency>
132                 <groupId>org.projectlombok</groupId>
133                 <artifactId>lombok</artifactId>
134                 <version>1.18.4</version>
135             </dependency>
136
137             <!-- Logging -->
138             <dependency>
139                 <groupId>org.slf4j</groupId>
140                 <artifactId>slf4j-api</artifactId>
141                 <version>1.7.25</version>
142             </dependency>
143             <dependency>
144                 <groupId>log4j</groupId>
145                 <artifactId>log4j</artifactId>
146                 <version>1.2.17</version>
147             </dependency>
148             <dependency>
149                 <groupId>ch.qos.logback</groupId>
150                 <artifactId>logback-core</artifactId>
151                 <version>${version.logback}</version>
152             </dependency>
153             <dependency>
154                 <groupId>ch.qos.logback</groupId>
155                 <artifactId>logback-classic</artifactId>
156                 <version>${version.logback}</version>
157             </dependency>
158             
159             <!-- Dmaap Client -->
160             <dependency>
161                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
162                 <artifactId>dmaapClient</artifactId>
163                 <version>${version.dmaap}</version>
164             </dependency>
165
166             <!-- AAF Client -->
167             <dependency>
168                 <groupId>org.onap.aaf.authz</groupId>
169                 <artifactId>aaf-cadi-aaf</artifactId>
170                 <version>2.1.2</version>
171             </dependency>
172
173             <!-- Client library for Cambria event routing API -->
174             <dependency>
175                 <groupId>com.att.nsa</groupId>
176                 <artifactId>cambriaClient</artifactId>
177                 <version>1.2.1-oss</version>
178             </dependency>
179             <dependency>
180                 <groupId>com.att.nsa</groupId>
181                 <artifactId>saClientLibrary</artifactId>
182                 <version>1.3.0-oss</version>
183             </dependency>
184
185             <!-- Commons CLI for command line parsing -->
186             <dependency>
187                 <groupId>commons-cli</groupId>
188                 <artifactId>commons-cli</artifactId>
189                 <version>1.4</version>
190             </dependency>
191
192             <!-- Web Sockets -->
193             <dependency>
194                 <groupId>org.java-websocket</groupId>
195                 <artifactId>Java-WebSocket</artifactId>
196                 <version>1.3.8</version>
197             </dependency>
198
199             <!-- Test dependencies -->
200
201             <!-- In memory Database Engine -->
202             <dependency>
203                 <groupId>com.h2database</groupId>
204                 <artifactId>h2</artifactId>
205                 <version>1.4.197</version>
206                 <scope>test</scope>
207             </dependency>
208
209             <!-- JUNIT -->
210             <dependency>
211                 <groupId>junit</groupId>
212                 <artifactId>junit</artifactId>
213                 <version>4.12</version>
214                 <scope>test</scope>
215             </dependency>
216
217             <!-- Cucumber Tests -->
218             <dependency>
219                 <groupId>io.cucumber</groupId>
220                 <artifactId>cucumber-java</artifactId>
221                 <version>4.2.0</version>
222                 <scope>test</scope>
223             </dependency>
224             <dependency>
225                 <groupId>io.cucumber</groupId>
226                 <artifactId>cucumber-junit</artifactId>
227                 <version>4.2.0</version>
228                 <scope>test</scope>
229             </dependency>
230
231             <!-- Exception testing -->
232             <dependency>
233                 <groupId>org.assertj</groupId>
234                 <artifactId>assertj-core</artifactId>
235                 <version>3.11.1</version>
236                 <scope>test</scope>
237             </dependency>
238
239             <!-- Mock libraries -->
240             <dependency>
241                 <groupId>org.mockito</groupId>
242                 <artifactId>mockito-all</artifactId>
243                 <version>1.10.19</version>
244                 <scope>test</scope>
245             </dependency>
246             <dependency>
247                 <groupId>org.powermock</groupId>
248                 <artifactId>powermock-core</artifactId>
249                 <version>${version.powermock}</version>
250                 <scope>test</scope>
251             </dependency>
252             <dependency>
253                 <groupId>org.powermock</groupId>
254                 <artifactId>powermock-api-mockito</artifactId>
255                 <version>${version.powermock}</version>
256                 <scope>test</scope>
257             </dependency>
258             <dependency>
259                 <groupId>org.powermock</groupId>
260                 <artifactId>powermock-module-junit4</artifactId>
261                 <version>${version.powermock}</version>
262                 <scope>test</scope>
263             </dependency>
264             <dependency>
265                 <groupId>com.openpojo</groupId>
266                 <artifactId>openpojo</artifactId>
267                 <version>0.8.10</version>
268                 <scope>test</scope>
269             </dependency>
270         </dependencies>
271
272     </dependencyManagement>
273
274
275     <scm>
276         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
277         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
278         <tag>HEAD</tag>
279         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
280     </scm>
281
282     <build>
283         <pluginManagement>
284             <plugins>
285                 <plugin>
286                     <groupId>org.codehaus.mojo</groupId>
287                     <artifactId>versions-maven-plugin</artifactId>
288                     <version>2.5</version>
289                 </plugin>
290                 <plugin>
291                     <groupId>org.apache.maven.plugins</groupId>
292                     <artifactId>maven-dependency-plugin</artifactId>
293                     <version>3.1.0</version>
294                 </plugin>
295                 <plugin>
296                     <groupId>org.apache.maven.plugins</groupId>
297                     <artifactId>maven-reactor-plugin</artifactId>
298                     <version>1.1</version>
299                 </plugin>
300                 <plugin>
301                     <groupId>org.apache.maven.plugins</groupId>
302                     <artifactId>maven-eclipse-plugin</artifactId>
303                     <version>2.10</version>
304                 </plugin>
305                 <plugin>
306                     <groupId>org.apache.maven.plugins</groupId>
307                     <artifactId>maven-install-plugin</artifactId>
308                     <version>2.5.2</version>
309                 </plugin>
310                 <plugin>
311                     <groupId>org.apache.maven.plugins</groupId>
312                     <artifactId>maven-resources-plugin</artifactId>
313                     <version>3.1.0</version>
314                 </plugin>
315                 <plugin>
316                     <groupId>org.apache.maven.plugins</groupId>
317                     <artifactId>maven-source-plugin</artifactId>
318                     <version>3.0.1</version>
319                 </plugin>
320                 <plugin>
321                     <groupId>org.apache.maven.plugins</groupId>
322                     <artifactId>maven-release-plugin</artifactId>
323                     <version>2.5.3</version>
324                 </plugin>
325                 <plugin>
326                     <groupId>org.apache.maven.plugins</groupId>
327                     <artifactId>maven-assembly-plugin</artifactId>
328                     <version>3.1.0</version>
329                 </plugin>
330                 <plugin>
331                     <groupId>org.apache.maven.plugins</groupId>
332                     <artifactId>maven-jar-plugin</artifactId>
333                     <version>3.1.0</version>
334                 </plugin>
335                 <plugin>
336                     <groupId>org.apache.maven.plugins</groupId>
337                     <artifactId>maven-javadoc-plugin</artifactId>
338                     <version>3.0.0</version>
339                 </plugin>
340                 <plugin>
341                     <groupId>org.apache.maven.plugins</groupId>
342                     <artifactId>maven-shade-plugin</artifactId>
343                     <version>3.1.1</version>
344                 </plugin>
345                 <plugin>
346                     <groupId>org.apache.maven.plugins</groupId>
347                     <artifactId>maven-archetype-plugin</artifactId>
348                     <version>3.0.1</version>
349                 </plugin>
350                 <plugin>
351                     <groupId>org.apache.maven.archetype</groupId>
352                     <artifactId>archetype-packaging</artifactId>
353                     <version>3.0.1</version>
354                 </plugin>
355                 <plugin>
356                     <groupId>com.coderplus.maven.plugins</groupId>
357                     <artifactId>copy-rename-maven-plugin</artifactId>
358                     <version>1.0.1</version>
359                 </plugin>
360                 <plugin>
361                     <groupId>org.apache.maven.plugins</groupId>
362                     <artifactId>maven-compiler-plugin</artifactId>
363                     <version>3.7.0</version>
364                     <configuration>
365                         <encoding>${project.build.sourceEncoding}</encoding>
366                         <source>${java.version}</source>
367                         <target>${java.version}</target>
368                     </configuration>
369                 </plugin>
370                 <plugin>
371                     <groupId>org.codehaus.mojo</groupId>
372                     <artifactId>exec-maven-plugin</artifactId>
373                     <version>1.6.0</version>
374                 </plugin>
375                 <plugin>
376                     <groupId>org.apache.maven.plugins</groupId>
377                     <artifactId>maven-war-plugin</artifactId>
378                     <version>2.6</version>
379                 </plugin>
380             </plugins>
381         </pluginManagement>
382
383         <plugins>
384             <plugin>
385                 <groupId>org.apache.maven.plugins</groupId>
386                 <artifactId>maven-compiler-plugin</artifactId>
387                 <configuration>
388                     <encoding>${project.build.sourceEncoding}</encoding>
389                     <source>${java.version}</source>
390                     <target>${java.version}</target>
391                 </configuration>
392             </plugin>
393         </plugins>
394     </build>
395
396 </project>