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