Add aaf into dependencyManagement
[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         <version.dmaap>1.1.8</version.dmaap>
40     </properties>
41
42     <distributionManagement>
43         <site>
44             <id>ecomp-site</id>
45             <url>dav:${onap.nexus.url}${sitePath}</url>
46         </site>
47     </distributionManagement>
48
49     <dependencyManagement>
50         <dependencies>
51             <!-- MariaDB -->
52             <dependency>
53                 <groupId>org.mariadb.jdbc</groupId>
54                 <artifactId>mariadb-java-client</artifactId>
55                 <version>2.2.6</version>
56             </dependency>
57
58             <!-- Swagger Jersey2 JAXRS -->
59             <dependency>
60                 <groupId>io.swagger</groupId>
61                 <artifactId>swagger-jersey2-jaxrs</artifactId>
62                 <version>1.5.19</version>
63             </dependency>
64
65             <!-- Encoder and decoders for various formats -->
66             <dependency>
67                 <groupId>commons-codec</groupId>
68                 <artifactId>commons-codec</artifactId>
69                 <version>1.11</version>
70             </dependency>
71
72             <dependency>
73                 <groupId>com.thoughtworks.xstream</groupId>
74                 <artifactId>xstream</artifactId>
75                 <version>1.4.10</version>
76             </dependency>
77
78             <!-- Persistence API -->
79             <dependency>
80                 <groupId>javax.persistence</groupId>
81                 <artifactId>persistence-api</artifactId>
82                 <version>1.0.2</version>
83             </dependency>
84
85             <!-- Java Servlet API -->
86             <dependency>
87                 <groupId>javax.servlet</groupId>
88                 <artifactId>javax.servlet-api</artifactId>
89                 <version>4.0.1</version>
90             </dependency>
91
92             <!-- HttpComponents Client -->
93             <dependency>
94                 <groupId>org.apache.httpcomponents</groupId>
95                 <artifactId>httpclient</artifactId>
96                 <version>4.5.5</version>
97             </dependency>
98
99             <!-- HttpComponents Core (blocking I/O) -->
100             <dependency>
101                 <groupId>org.apache.httpcomponents</groupId>
102                 <artifactId>httpcore</artifactId>
103                 <version>4.4.9</version>
104             </dependency>
105
106             <!-- JSON marshalling and unmarshalling -->
107             <dependency>
108                 <groupId>com.google.code.gson</groupId>
109                 <artifactId>gson</artifactId>
110                 <version>2.8.4</version>
111             </dependency>
112
113             <!-- Logging -->
114             <dependency>
115                 <groupId>org.slf4j</groupId>
116                 <artifactId>slf4j-api</artifactId>
117                 <version>1.7.25</version>
118             </dependency>
119             <dependency>
120                 <groupId>log4j</groupId>
121                 <artifactId>log4j</artifactId>
122                 <version>1.2.17</version>
123             </dependency>
124             <dependency>
125                 <groupId>ch.qos.logback</groupId>
126                 <artifactId>logback-core</artifactId>
127                 <version>${version.logback}</version>
128             </dependency>
129             <dependency>
130                 <groupId>ch.qos.logback</groupId>
131                 <artifactId>logback-classic</artifactId>
132                 <version>${version.logback}</version>
133             </dependency>
134             
135             <!-- Dmaap Client -->
136             <dependency>
137                 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
138                 <artifactId>dmaapClient</artifactId>
139                 <version>${version.dmaap}</version>
140             </dependency>
141
142             <!-- AAF Client -->
143             <dependency>
144                 <groupId>org.onap.aaf.authz</groupId>
145                 <artifactId>aaf-cadi-aaf</artifactId>
146                 <version>2.1.2-SNAPSHOT</version>
147             </dependency>
148
149             <!-- Client library for Cambria event routing API -->
150             <dependency>
151                 <groupId>com.att.nsa</groupId>
152                 <artifactId>cambriaClient</artifactId>
153                 <version>1.2.1-oss</version>
154             </dependency>
155             <dependency>
156                 <groupId>com.att.nsa</groupId>
157                 <artifactId>saClientLibrary</artifactId>
158                 <version>1.3.0-oss</version>
159             </dependency>
160
161             <!-- Commons CLI for command line parsing -->
162             <dependency>
163                 <groupId>commons-cli</groupId>
164                 <artifactId>commons-cli</artifactId>
165                 <version>1.4</version>
166             </dependency>
167
168             <!-- Web Sockets -->
169             <dependency>
170                 <groupId>org.java-websocket</groupId>
171                 <artifactId>Java-WebSocket</artifactId>
172                 <version>1.3.8</version>
173             </dependency>
174
175             <!-- Test dependencies -->
176
177             <!-- In memory Database Engine -->
178             <dependency>
179                 <groupId>com.h2database</groupId>
180                 <artifactId>h2</artifactId>
181                 <version>1.4.197</version>
182                 <scope>test</scope>
183             </dependency>
184
185             <!-- JUNIT -->
186             <dependency>
187                 <groupId>junit</groupId>
188                 <artifactId>junit</artifactId>
189                 <version>4.12</version>
190                 <scope>test</scope>
191             </dependency>
192
193             <!-- Mock libraries -->
194             <dependency>
195                 <groupId>org.mockito</groupId>
196                 <artifactId>mockito-all</artifactId>
197                 <version>1.10.19</version>
198                 <scope>test</scope>
199             </dependency>
200             <dependency>
201                 <groupId>org.powermock</groupId>
202                 <artifactId>powermock-core</artifactId>
203                 <version>1.7.4</version>
204                 <scope>test</scope>
205             </dependency>
206             <dependency>
207                 <groupId>com.openpojo</groupId>
208                 <artifactId>openpojo</artifactId>
209                 <version>0.8.10</version>
210                 <scope>test</scope>
211             </dependency>
212         </dependencies>
213
214     </dependencyManagement>
215
216
217     <scm>
218         <connection>scm:git:ssh://git.onap.org:29418/${project.groupId}</connection>
219         <developerConnection>scm:git:ssh://git.onap.org:29418/${project.groupId}</developerConnection>
220         <tag>HEAD</tag>
221         <url>https://wiki.onap.org/display/DW/Integration+Project</url>
222     </scm>
223
224     <build>
225         <pluginManagement>
226             <plugins>
227                 <plugin>
228                     <groupId>org.codehaus.mojo</groupId>
229                     <artifactId>versions-maven-plugin</artifactId>
230                     <version>2.5</version>
231                 </plugin>
232                 <plugin>
233                     <groupId>org.apache.maven.plugins</groupId>
234                     <artifactId>maven-dependency-plugin</artifactId>
235                     <version>3.1.0</version>
236                 </plugin>
237                 <plugin>
238                     <groupId>org.apache.maven.plugins</groupId>
239                     <artifactId>maven-reactor-plugin</artifactId>
240                     <version>1.1</version>
241                 </plugin>
242                 <plugin>
243                     <groupId>org.apache.maven.plugins</groupId>
244                     <artifactId>maven-eclipse-plugin</artifactId>
245                     <version>2.10</version>
246                 </plugin>
247                 <plugin>
248                     <groupId>org.apache.maven.plugins</groupId>
249                     <artifactId>maven-install-plugin</artifactId>
250                     <version>2.5.2</version>
251                 </plugin>
252                 <plugin>
253                     <groupId>org.apache.maven.plugins</groupId>
254                     <artifactId>maven-resources-plugin</artifactId>
255                     <version>3.1.0</version>
256                 </plugin>
257                 <plugin>
258                     <groupId>org.apache.maven.plugins</groupId>
259                     <artifactId>maven-source-plugin</artifactId>
260                     <version>3.0.1</version>
261                 </plugin>
262                 <plugin>
263                     <groupId>org.apache.maven.plugins</groupId>
264                     <artifactId>maven-release-plugin</artifactId>
265                     <version>2.5.3</version>
266                 </plugin>
267                 <plugin>
268                     <groupId>org.apache.maven.plugins</groupId>
269                     <artifactId>maven-assembly-plugin</artifactId>
270                     <version>3.1.0</version>
271                 </plugin>
272                 <plugin>
273                     <groupId>org.apache.maven.plugins</groupId>
274                     <artifactId>maven-jar-plugin</artifactId>
275                     <version>3.1.0</version>
276                 </plugin>
277                 <plugin>
278                     <groupId>org.apache.maven.plugins</groupId>
279                     <artifactId>maven-javadoc-plugin</artifactId>
280                     <version>3.0.0</version>
281                 </plugin>
282                 <plugin>
283                     <groupId>org.apache.maven.plugins</groupId>
284                     <artifactId>maven-shade-plugin</artifactId>
285                     <version>3.1.1</version>
286                 </plugin>
287                 <plugin>
288                     <groupId>org.apache.maven.plugins</groupId>
289                     <artifactId>maven-archetype-plugin</artifactId>
290                     <version>3.0.1</version>
291                 </plugin>
292                 <plugin>
293                     <groupId>org.apache.maven.archetype</groupId>
294                     <artifactId>archetype-packaging</artifactId>
295                     <version>3.0.1</version>
296                 </plugin>
297                 <plugin>
298                     <groupId>com.coderplus.maven.plugins</groupId>
299                     <artifactId>copy-rename-maven-plugin</artifactId>
300                     <version>1.0.1</version>
301                 </plugin>
302                 <plugin>
303                     <groupId>org.apache.maven.plugins</groupId>
304                     <artifactId>maven-compiler-plugin</artifactId>
305                     <version>3.7.0</version>
306                     <configuration>
307                         <encoding>${project.build.sourceEncoding}</encoding>
308                         <source>${java.version}</source>
309                         <target>${java.version}</target>
310                     </configuration>
311                 </plugin>
312                 <plugin>
313                     <groupId>org.codehaus.mojo</groupId>
314                     <artifactId>exec-maven-plugin</artifactId>
315                     <version>1.6.0</version>
316                 </plugin>
317                 <plugin>
318                     <groupId>org.apache.maven.plugins</groupId>
319                     <artifactId>maven-war-plugin</artifactId>
320                     <version>2.6</version>
321                 </plugin>
322             </plugins>
323         </pluginManagement>
324
325         <plugins>
326             <plugin>
327                 <groupId>org.apache.maven.plugins</groupId>
328                 <artifactId>maven-compiler-plugin</artifactId>
329                 <configuration>
330                     <encoding>${project.build.sourceEncoding}</encoding>
331                     <source>${java.version}</source>
332                     <target>${java.version}</target>
333                 </configuration>
334             </plugin>
335         </plugins>
336     </build>
337
338 </project>