Upgrade to AAF 2.1.2 artifact
[policy/parent.git] / integration / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4    Modifications Copyright (C) 2018 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"
23     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25     <parent>
26         <groupId>org.onap.policy.parent</groupId>
27         <artifactId>policy-parent</artifactId>
28         <version>2.0.0-SNAPSHOT</version>
29     </parent>
30     <artifactId>integration</artifactId>
31     <packaging>pom</packaging>
32     <name>Policy Integration POM</name>
33     <description>Policy Integration POM</description>
34
35     <properties>
36         <java.version>1.8</java.version>
37         <maven.compiler.source>1.8</maven.compiler.source>
38         <maven.compiler.target>1.8</maven.compiler.target>
39         <version.logback>1.2.3</version.logback>
40         <version.dmaap>1.1.8</version.dmaap>
41         <version.powermock>1.7.4</version.powermock>
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             <!-- Persistence API -->
81             <dependency>
82                 <groupId>javax.persistence</groupId>
83                 <artifactId>persistence-api</artifactId>
84                 <version>1.0.2</version>
85             </dependency>
86
87             <!-- Java Servlet API -->
88             <dependency>
89                 <groupId>javax.servlet</groupId>
90                 <artifactId>javax.servlet-api</artifactId>
91                 <version>4.0.1</version>
92             </dependency>
93
94             <!-- HttpComponents Client -->
95             <dependency>
96                 <groupId>org.apache.httpcomponents</groupId>
97                 <artifactId>httpclient</artifactId>
98                 <version>4.5.5</version>
99             </dependency>
100
101             <!-- HttpComponents Core (blocking I/O) -->
102             <dependency>
103                 <groupId>org.apache.httpcomponents</groupId>
104                 <artifactId>httpcore</artifactId>
105                 <version>4.4.9</version>
106             </dependency>
107
108             <!-- JSON marshalling and unmarshalling -->
109             <dependency>
110                 <groupId>com.google.code.gson</groupId>
111                 <artifactId>gson</artifactId>
112                 <version>2.8.4</version>
113             </dependency>
114
115             <!-- Logging -->
116             <dependency>
117                 <groupId>org.slf4j</groupId>
118                 <artifactId>slf4j-api</artifactId>
119                 <version>1.7.25</version>
120             </dependency>
121             <dependency>
122                 <groupId>log4j</groupId>
123                 <artifactId>log4j</artifactId>
124                 <version>1.2.17</version>
125             </dependency>
126             <dependency>
127                 <groupId>ch.qos.logback</groupId>
128                 <artifactId>logback-core</artifactId>
129                 <version>${version.logback}</version>
130             </dependency>
131             <dependency>
132                 <groupId>ch.qos.logback</groupId>
133                 <artifactId>logback-classic</artifactId>
134                 <version>${version.logback}</version>
135             </dependency>
136             
137             <!-- Dmaap Client -->
138             <dependency>
139                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
140                 <artifactId>dmaapClient</artifactId>
141                 <version>${version.dmaap}</version>
142             </dependency>
143
144             <!-- AAF Client -->
145             <dependency>
146                 <groupId>org.onap.aaf.authz</groupId>
147                 <artifactId>aaf-cadi-aaf</artifactId>
148                 <version>2.1.2</version>
149             </dependency>
150
151             <!-- Client library for Cambria event routing API -->
152             <dependency>
153                 <groupId>com.att.nsa</groupId>
154                 <artifactId>cambriaClient</artifactId>
155                 <version>1.2.1-oss</version>
156             </dependency>
157             <dependency>
158                 <groupId>com.att.nsa</groupId>
159                 <artifactId>saClientLibrary</artifactId>
160                 <version>1.3.0-oss</version>
161             </dependency>
162
163             <!-- Commons CLI for command line parsing -->
164             <dependency>
165                 <groupId>commons-cli</groupId>
166                 <artifactId>commons-cli</artifactId>
167                 <version>1.4</version>
168             </dependency>
169
170             <!-- Web Sockets -->
171             <dependency>
172                 <groupId>org.java-websocket</groupId>
173                 <artifactId>Java-WebSocket</artifactId>
174                 <version>1.3.8</version>
175             </dependency>
176
177             <!-- Test dependencies -->
178
179             <!-- In memory Database Engine -->
180             <dependency>
181                 <groupId>com.h2database</groupId>
182                 <artifactId>h2</artifactId>
183                 <version>1.4.197</version>
184                 <scope>test</scope>
185             </dependency>
186
187             <!-- JUNIT -->
188             <dependency>
189                 <groupId>junit</groupId>
190                 <artifactId>junit</artifactId>
191                 <version>4.12</version>
192                 <scope>test</scope>
193             </dependency>
194
195             <!-- Mock libraries -->
196             <dependency>
197                 <groupId>org.mockito</groupId>
198                 <artifactId>mockito-all</artifactId>
199                 <version>1.10.19</version>
200                 <scope>test</scope>
201             </dependency>
202             <dependency>
203                 <groupId>org.powermock</groupId>
204                 <artifactId>powermock-core</artifactId>
205                 <version>${version.powermock}</version>
206                 <scope>test</scope>
207             </dependency>
208             <dependency>
209                 <groupId>org.powermock</groupId>
210                 <artifactId>powermock-api-mockito</artifactId>
211                 <version>${version.powermock}</version>
212                 <scope>test</scope>
213             </dependency>
214             <dependency>
215                 <groupId>org.powermock</groupId>
216                 <artifactId>powermock-module-junit4</artifactId>
217                 <version>${version.powermock}</version>
218                 <scope>test</scope>
219             </dependency>
220             <dependency>
221                 <groupId>com.openpojo</groupId>
222                 <artifactId>openpojo</artifactId>
223                 <version>0.8.10</version>
224                 <scope>test</scope>
225             </dependency>
226         </dependencies>
227
228     </dependencyManagement>
229
230
231     <scm>
232         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
233         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
234         <tag>HEAD</tag>
235         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
236     </scm>
237
238     <build>
239         <pluginManagement>
240             <plugins>
241                 <plugin>
242                     <groupId>org.codehaus.mojo</groupId>
243                     <artifactId>versions-maven-plugin</artifactId>
244                     <version>2.5</version>
245                 </plugin>
246                 <plugin>
247                     <groupId>org.apache.maven.plugins</groupId>
248                     <artifactId>maven-dependency-plugin</artifactId>
249                     <version>3.1.0</version>
250                 </plugin>
251                 <plugin>
252                     <groupId>org.apache.maven.plugins</groupId>
253                     <artifactId>maven-reactor-plugin</artifactId>
254                     <version>1.1</version>
255                 </plugin>
256                 <plugin>
257                     <groupId>org.apache.maven.plugins</groupId>
258                     <artifactId>maven-eclipse-plugin</artifactId>
259                     <version>2.10</version>
260                 </plugin>
261                 <plugin>
262                     <groupId>org.apache.maven.plugins</groupId>
263                     <artifactId>maven-install-plugin</artifactId>
264                     <version>2.5.2</version>
265                 </plugin>
266                 <plugin>
267                     <groupId>org.apache.maven.plugins</groupId>
268                     <artifactId>maven-resources-plugin</artifactId>
269                     <version>3.1.0</version>
270                 </plugin>
271                 <plugin>
272                     <groupId>org.apache.maven.plugins</groupId>
273                     <artifactId>maven-source-plugin</artifactId>
274                     <version>3.0.1</version>
275                 </plugin>
276                 <plugin>
277                     <groupId>org.apache.maven.plugins</groupId>
278                     <artifactId>maven-release-plugin</artifactId>
279                     <version>2.5.3</version>
280                 </plugin>
281                 <plugin>
282                     <groupId>org.apache.maven.plugins</groupId>
283                     <artifactId>maven-assembly-plugin</artifactId>
284                     <version>3.1.0</version>
285                 </plugin>
286                 <plugin>
287                     <groupId>org.apache.maven.plugins</groupId>
288                     <artifactId>maven-jar-plugin</artifactId>
289                     <version>3.1.0</version>
290                 </plugin>
291                 <plugin>
292                     <groupId>org.apache.maven.plugins</groupId>
293                     <artifactId>maven-javadoc-plugin</artifactId>
294                     <version>3.0.0</version>
295                 </plugin>
296                 <plugin>
297                     <groupId>org.apache.maven.plugins</groupId>
298                     <artifactId>maven-shade-plugin</artifactId>
299                     <version>3.1.1</version>
300                 </plugin>
301                 <plugin>
302                     <groupId>org.apache.maven.plugins</groupId>
303                     <artifactId>maven-archetype-plugin</artifactId>
304                     <version>3.0.1</version>
305                 </plugin>
306                 <plugin>
307                     <groupId>org.apache.maven.archetype</groupId>
308                     <artifactId>archetype-packaging</artifactId>
309                     <version>3.0.1</version>
310                 </plugin>
311                 <plugin>
312                     <groupId>com.coderplus.maven.plugins</groupId>
313                     <artifactId>copy-rename-maven-plugin</artifactId>
314                     <version>1.0.1</version>
315                 </plugin>
316                 <plugin>
317                     <groupId>org.apache.maven.plugins</groupId>
318                     <artifactId>maven-compiler-plugin</artifactId>
319                     <version>3.7.0</version>
320                     <configuration>
321                         <encoding>${project.build.sourceEncoding}</encoding>
322                         <source>${java.version}</source>
323                         <target>${java.version}</target>
324                     </configuration>
325                 </plugin>
326                 <plugin>
327                     <groupId>org.codehaus.mojo</groupId>
328                     <artifactId>exec-maven-plugin</artifactId>
329                     <version>1.6.0</version>
330                 </plugin>
331                 <plugin>
332                     <groupId>org.apache.maven.plugins</groupId>
333                     <artifactId>maven-war-plugin</artifactId>
334                     <version>2.6</version>
335                 </plugin>
336             </plugins>
337         </pluginManagement>
338
339         <plugins>
340             <plugin>
341                 <groupId>org.apache.maven.plugins</groupId>
342                 <artifactId>maven-compiler-plugin</artifactId>
343                 <configuration>
344                     <encoding>${project.build.sourceEncoding}</encoding>
345                     <source>${java.version}</source>
346                     <target>${java.version}</target>
347                 </configuration>
348             </plugin>
349         </plugins>
350     </build>
351
352 </project>