Add commons-cli version for all components
[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         </dependencies>
197
198     </dependencyManagement>
199
200
201     <scm>
202         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
203         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
204         <tag>HEAD</tag>
205         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
206     </scm>
207
208     <build>
209         <pluginManagement>
210             <plugins>
211                 <plugin>
212                     <groupId>org.codehaus.mojo</groupId>
213                     <artifactId>versions-maven-plugin</artifactId>
214                     <version>2.5</version>
215                 </plugin>
216                 <plugin>
217                     <groupId>org.apache.maven.plugins</groupId>
218                     <artifactId>maven-dependency-plugin</artifactId>
219                     <version>3.1.0</version>
220                 </plugin>
221                 <plugin>
222                     <groupId>org.apache.maven.plugins</groupId>
223                     <artifactId>maven-reactor-plugin</artifactId>
224                     <version>1.1</version>
225                 </plugin>
226                 <plugin>
227                     <groupId>org.apache.maven.plugins</groupId>
228                     <artifactId>maven-eclipse-plugin</artifactId>
229                     <version>2.10</version>
230                 </plugin>
231                 <plugin>
232                     <groupId>org.apache.maven.plugins</groupId>
233                     <artifactId>maven-install-plugin</artifactId>
234                     <version>2.5.2</version>
235                 </plugin>
236                 <plugin>
237                     <groupId>org.apache.maven.plugins</groupId>
238                     <artifactId>maven-resources-plugin</artifactId>
239                     <version>3.1.0</version>
240                 </plugin>
241                 <plugin>
242                     <groupId>org.apache.maven.plugins</groupId>
243                     <artifactId>maven-source-plugin</artifactId>
244                     <version>3.0.1</version>
245                 </plugin>
246                 <plugin>
247                     <groupId>org.apache.maven.plugins</groupId>
248                     <artifactId>maven-release-plugin</artifactId>
249                     <version>2.5.3</version>
250                 </plugin>
251                 <plugin>
252                     <groupId>org.apache.maven.plugins</groupId>
253                     <artifactId>maven-assembly-plugin</artifactId>
254                     <version>3.1.0</version>
255                 </plugin>
256                 <plugin>
257                     <groupId>org.apache.maven.plugins</groupId>
258                     <artifactId>maven-jar-plugin</artifactId>
259                     <version>3.1.0</version>
260                 </plugin>
261                 <plugin>
262                     <groupId>org.apache.maven.plugins</groupId>
263                     <artifactId>maven-javadoc-plugin</artifactId>
264                     <version>3.0.0</version>
265                 </plugin>
266                 <plugin>
267                     <groupId>org.apache.maven.plugins</groupId>
268                     <artifactId>maven-shade-plugin</artifactId>
269                     <version>3.1.1</version>
270                 </plugin>
271                 <plugin>
272                     <groupId>org.apache.maven.plugins</groupId>
273                     <artifactId>maven-archetype-plugin</artifactId>
274                     <version>3.0.1</version>
275                 </plugin>
276                 <plugin>
277                     <groupId>org.apache.maven.archetype</groupId>
278                     <artifactId>archetype-packaging</artifactId>
279                     <version>3.0.1</version>
280                 </plugin>
281                 <plugin>
282                     <groupId>com.coderplus.maven.plugins</groupId>
283                     <artifactId>copy-rename-maven-plugin</artifactId>
284                     <version>1.0.1</version>
285                 </plugin>
286                 <plugin>
287                     <groupId>org.apache.maven.plugins</groupId>
288                     <artifactId>maven-compiler-plugin</artifactId>
289                     <version>3.7.0</version>
290                     <configuration>
291                         <encoding>${project.build.sourceEncoding}</encoding>
292                         <source>${java.version}</source>
293                         <target>${java.version}</target>
294                     </configuration>
295                 </plugin>
296                 <plugin>
297                     <groupId>org.codehaus.mojo</groupId>
298                     <artifactId>exec-maven-plugin</artifactId>
299                     <version>1.6.0</version>
300                 </plugin>
301                 <plugin>
302                     <groupId>org.apache.maven.plugins</groupId>
303                     <artifactId>maven-war-plugin</artifactId>
304                     <version>2.6</version>
305                 </plugin>
306             </plugins>
307         </pluginManagement>
308
309         <plugins>
310             <plugin>
311                 <groupId>org.apache.maven.plugins</groupId>
312                 <artifactId>maven-compiler-plugin</artifactId>
313                 <configuration>
314                     <encoding>${project.build.sourceEncoding}</encoding>
315                     <source>${java.version}</source>
316                     <target>${java.version}</target>
317                 </configuration>
318             </plugin>
319         </plugins>
320     </build>
321
322 </project>