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