Merge "Adding maven-war-plugin to integration pom"
[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
100             <!-- utility classes, google's collections, io classes -->
101             <dependency>
102                 <groupId>com.google.guava</groupId>
103                 <artifactId>guava</artifactId>
104                 <version>25.1-jre</version>
105                 <exclusions>
106                     <exclusion>
107                         <groupId>org.checkerframework</groupId>
108                         <artifactId>checker-qual</artifactId>
109                     </exclusion>
110                 </exclusions>
111             </dependency>
112             <dependency>
113                 <groupId>org.checkerframework</groupId>
114                 <artifactId>checker-qual</artifactId>
115                 <version>2.5.3</version>
116             </dependency>
117
118             <!-- JSON marshalling and unmarshalling -->
119             <dependency>
120                 <groupId>com.google.code.gson</groupId>
121                 <artifactId>gson</artifactId>
122                 <version>2.8.4</version>
123             </dependency>
124
125             <!-- Logging -->
126             <dependency>
127                 <groupId>org.slf4j</groupId>
128                 <artifactId>slf4j-api</artifactId>
129                 <version>1.7.25</version>
130             </dependency>
131             <dependency>
132                 <groupId>log4j</groupId>
133                 <artifactId>log4j</artifactId>
134                 <version>1.2.17</version>
135             </dependency>
136             <dependency>
137                 <groupId>ch.qos.logback</groupId>
138                 <artifactId>logback-core</artifactId>
139                 <version>${version.logback}</version>
140             </dependency>
141             <dependency>
142                 <groupId>ch.qos.logback</groupId>
143                 <artifactId>logback-classic</artifactId>
144                 <version>${version.logback}</version>
145             </dependency>
146
147             <!-- Client library for Cambria event routing API -->
148             <dependency>
149                 <groupId>com.att.nsa</groupId>
150                 <artifactId>cambriaClient</artifactId>
151                 <version>1.2.1-oss</version>
152             </dependency>
153             <dependency>
154                 <groupId>com.att.nsa</groupId>
155                 <artifactId>saClientLibrary</artifactId>
156                 <version>1.3.0-oss</version>
157             </dependency>
158
159             <!-- Test dependencies -->
160
161             <!-- In memory Database Engine -->
162             <dependency>
163                 <groupId>com.h2database</groupId>
164                 <artifactId>h2</artifactId>
165                 <version>1.4.197</version>
166                 <scope>test</scope>
167             </dependency>
168
169             <!-- JUNIT -->
170             <dependency>
171                 <groupId>junit</groupId>
172                 <artifactId>junit</artifactId>
173                 <version>4.12</version>
174                 <scope>test</scope>
175             </dependency>
176
177             <!-- Mock libraries -->
178             <dependency>
179                 <groupId>org.mockito</groupId>
180                 <artifactId>mockito-all</artifactId>
181                 <version>1.10.19</version>
182                 <scope>test</scope>
183             </dependency>
184             <dependency>
185                 <groupId>org.powermock</groupId>
186                 <artifactId>powermock-core</artifactId>
187                 <version>1.7.4</version>
188                 <scope>test</scope>
189             </dependency>
190         </dependencies>
191
192     </dependencyManagement>
193
194
195     <scm>
196         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
197         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
198         <tag>HEAD</tag>
199         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
200     </scm>
201
202     <build>
203         <pluginManagement>
204             <plugins>
205                 <plugin>
206                     <groupId>org.codehaus.mojo</groupId>
207                     <artifactId>versions-maven-plugin</artifactId>
208                     <version>2.5</version>
209                 </plugin>
210                 <plugin>
211                     <groupId>org.apache.maven.plugins</groupId>
212                     <artifactId>maven-dependency-plugin</artifactId>
213                     <version>3.1.0</version>
214                 </plugin>
215                 <plugin>
216                     <groupId>org.apache.maven.plugins</groupId>
217                     <artifactId>maven-reactor-plugin</artifactId>
218                     <version>1.1</version>
219                 </plugin>
220                 <plugin>
221                     <groupId>org.apache.maven.plugins</groupId>
222                     <artifactId>maven-eclipse-plugin</artifactId>
223                     <version>2.10</version>
224                 </plugin>
225                 <plugin>
226                     <groupId>org.apache.maven.plugins</groupId>
227                     <artifactId>maven-install-plugin</artifactId>
228                     <version>2.5.2</version>
229                 </plugin>
230                 <plugin>
231                     <groupId>org.apache.maven.plugins</groupId>
232                     <artifactId>maven-resources-plugin</artifactId>
233                     <version>3.1.0</version>
234                 </plugin>
235                 <plugin>
236                     <groupId>org.apache.maven.plugins</groupId>
237                     <artifactId>maven-source-plugin</artifactId>
238                     <version>3.0.1</version>
239                 </plugin>
240                 <plugin>
241                     <groupId>org.apache.maven.plugins</groupId>
242                     <artifactId>maven-release-plugin</artifactId>
243                     <version>2.5.3</version>
244                 </plugin>
245                 <plugin>
246                     <groupId>org.apache.maven.plugins</groupId>
247                     <artifactId>maven-assembly-plugin</artifactId>
248                     <version>3.1.0</version>
249                 </plugin>
250                 <plugin>
251                     <groupId>org.apache.maven.plugins</groupId>
252                     <artifactId>maven-jar-plugin</artifactId>
253                     <version>3.1.0</version>
254                 </plugin>
255                 <plugin>
256                     <groupId>org.apache.maven.plugins</groupId>
257                     <artifactId>maven-javadoc-plugin</artifactId>
258                     <version>3.0.0</version>
259                 </plugin>
260                 <plugin>
261                     <groupId>org.apache.maven.plugins</groupId>
262                     <artifactId>maven-shade-plugin</artifactId>
263                     <version>3.1.1</version>
264                 </plugin>
265                 <plugin>
266                     <groupId>org.apache.maven.plugins</groupId>
267                     <artifactId>maven-archetype-plugin</artifactId>
268                     <version>3.0.1</version>
269                 </plugin>
270                 <plugin>
271                     <groupId>org.apache.maven.archetype</groupId>
272                     <artifactId>archetype-packaging</artifactId>
273                     <version>3.0.1</version>
274                 </plugin>
275                 <plugin>
276                     <groupId>com.coderplus.maven.plugins</groupId>
277                     <artifactId>copy-rename-maven-plugin</artifactId>
278                     <version>1.0.1</version>
279                 </plugin>
280                 <plugin>
281                     <groupId>org.apache.maven.plugins</groupId>
282                     <artifactId>maven-compiler-plugin</artifactId>
283                     <version>3.7.0</version>
284                     <configuration>
285                         <encoding>${project.build.sourceEncoding}</encoding>
286                         <source>${java.version}</source>
287                         <target>${java.version}</target>
288                     </configuration>
289                 </plugin>
290                 <plugin>
291                     <groupId>org.codehaus.mojo</groupId>
292                     <artifactId>exec-maven-plugin</artifactId>
293                     <version>1.6.0</version>
294                 </plugin>
295                 <plugin>
296                     <groupId>org.apache.maven.plugins</groupId>
297                     <artifactId>maven-war-plugin</artifactId>
298                     <version>2.6</version>
299                 </plugin>
300             </plugins>
301         </pluginManagement>
302
303         <plugins>
304             <plugin>
305                 <groupId>org.apache.maven.plugins</groupId>
306                 <artifactId>maven-compiler-plugin</artifactId>
307                 <configuration>
308                     <encoding>${project.build.sourceEncoding}</encoding>
309                     <source>${java.version}</source>
310                     <target>${java.version}</target>
311                 </configuration>
312             </plugin>
313         </plugins>
314     </build>
315
316 </project>