upgrade databind artifact
[appc.git] / appc-adapters / appc-iaas-adapter / appc-iaas-adapter-bundle / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP : APPC
5   ================================================================================
6   Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
7   Copyright (C) 2017 Amdocs
8   ================================================================================
9   Licensed under the Apache License, Version 2.0 (the "License");
10   you may not use this file except in compliance with the License.
11   You may obtain a copy of the License at
12   
13        http://www.apache.org/licenses/LICENSE-2.0
14   
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20   ============LICENSE_END=========================================================
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.appc.parent</groupId>
27                 <artifactId>binding-parent</artifactId>
28                 <version>1.5.0-SNAPSHOT</version>
29                 <relativePath />
30         </parent>
31         <groupId>org.onap.appc</groupId>
32
33     <artifactId>appc-iaas-adapter-bundle</artifactId>
34     <packaging>bundle</packaging>
35     <name>IaaS Adapter - bundle</name>
36
37     <dependencies>
38         <dependency>
39             <groupId>org.onap.appc</groupId>
40             <artifactId>appc-common-bundle</artifactId>
41             <version>${project.version}</version>
42             <scope>compile</scope>
43             <exclusions>
44                 <exclusion>
45                     <groupId>javax</groupId>
46                     <artifactId>javaee-api</artifactId>
47                 </exclusion>
48               <exclusion>
49                 <groupId>com.fasterxml.jackson.core</groupId>
50                 <artifactId>jackson-databind</artifactId>
51               </exclusion>
52             </exclusions>
53         </dependency>
54
55
56         <dependency>
57            <groupId>com.fasterxml.jackson.core</groupId>
58            <artifactId>jackson-databind</artifactId>
59            <version>2.8.11.3</version>
60         </dependency>
61
62         <dependency>
63             <groupId>com.att.cdp</groupId>
64             <artifactId>cdp-pal-common</artifactId>
65             <scope>compile</scope>
66             <version>${cdp.pal.version}</version>
67             <exclusions>
68                 <exclusion>
69                   <groupId>ch.qos.logback</groupId>
70                   <artifactId>logback-classic</artifactId>
71                 </exclusion>
72             </exclusions>
73         </dependency>
74
75         <dependency>
76             <groupId>com.att.cdp</groupId>
77             <artifactId>cdp-pal-openstack</artifactId>
78             <scope>compile</scope>
79             <version>${cdp.pal.version}</version>
80             <exclusions>
81                   <exclusion>
82                        <groupId>com.att.cdp</groupId>
83                        <artifactId>cdp-pal-common</artifactId>
84                   </exclusion>
85             </exclusions>
86         </dependency>
87
88         <dependency>
89             <groupId>org.glassfish.jersey.core</groupId>
90             <artifactId>jersey-common</artifactId>
91             <version>2.25.1</version>
92             <scope>compile</scope>
93         </dependency>
94
95
96         <dependency>
97             <groupId>org.glassfish.jersey.core</groupId>
98             <artifactId>jersey-client</artifactId>
99             <version>2.25.1</version>
100             <scope>compile</scope>
101         </dependency>
102
103         <dependency>
104             <groupId>org.glassfish.jersey.core</groupId>
105             <artifactId>jersey-server</artifactId>
106             <version>2.25.1</version>
107             <scope>compile</scope>
108         </dependency>
109
110         <dependency>
111             <groupId>org.osgi</groupId>
112             <artifactId>org.osgi.core</artifactId>
113             <scope>provided</scope>
114         </dependency>
115
116         <!-- <dependency> -->
117         <!-- <groupId>javax</groupId> -->
118         <!-- <artifactId>javaee-api</artifactId> -->
119         <!-- <version>7.0</version> -->
120         <!-- </dependency> -->
121
122         <dependency>
123             <groupId>javax.ws.rs</groupId>
124             <artifactId>javax.ws.rs-api</artifactId>
125             <version>2.0.1</version>
126             <scope>compile</scope>
127         </dependency>
128
129         <!-- <dependency> -->
130         <!-- <groupId>org.glassfish.jersey.containers</groupId> -->
131         <!-- <artifactId>jersey-container-servlet</artifactId> -->
132         <!-- <version>2.25.1</version> -->
133         <!-- <scope>provided</scope> -->
134         <!-- </dependency> -->
135
136         <dependency>
137             <groupId>org.glassfish.jersey.connectors</groupId>
138             <artifactId>jersey-grizzly-connector</artifactId>
139             <version>2.25.1</version>
140             <scope>compile</scope>
141         </dependency>
142         <!-- <dependency> -->
143         <!-- <groupId>org.glassfish.jersey.media</groupId> -->
144         <!-- <artifactId>jersey-media-json-jackson</artifactId> -->
145         <!-- <version>2.25.1</version> -->
146         <!-- </dependency> -->
147
148         <!-- <dependency> -->
149         <!-- <groupId>com.fasterxml.jackson.jaxrs</groupId> -->
150         <!-- <artifactId>jackson-jaxrs-base</artifactId> -->
151         <!-- </dependency> -->
152
153         <dependency>
154             <groupId>javax.xml</groupId>
155             <artifactId>jaxp-api</artifactId>
156             <version>1.4.2</version>
157             <scope>compile</scope>
158         </dependency>
159
160         <dependency>
161             <groupId>javax.xml.bind</groupId>
162             <artifactId>jaxb-api</artifactId>
163             <version>2.2.3</version>
164             <scope>compile</scope>
165         </dependency>
166
167         <dependency>
168             <groupId>org.onap.ccsdk.sli.core</groupId>
169             <artifactId>sli-common</artifactId>
170             <scope>provided</scope>
171             <!-- Added exclusion to prevent missing dependency issue on dblib -->
172             <exclusions>
173                 <exclusion>
174                     <groupId>org.onap.ccsdk.sli.core</groupId>
175                     <artifactId>dblib-provider</artifactId>
176                 </exclusion>
177             </exclusions>
178         </dependency>
179
180         <dependency>
181             <groupId>org.onap.ccsdk.sli.core</groupId>
182             <artifactId>sli-provider</artifactId>
183             <scope>provided</scope>
184             <!-- Added exclusion to prevent missing dependency issue on dblib -->
185             <exclusions>
186                 <exclusion>
187                     <groupId>org.onap.ccsdk.sli.core</groupId>
188                     <artifactId>dblib-provider</artifactId>
189                 </exclusion>
190             </exclusions>
191         </dependency>
192
193
194         <!-- <dependency> -->
195         <!-- <groupId>org.codehaus.jackson</groupId> -->
196         <!-- <artifactId>jackson-jaxrs</artifactId> -->
197         <!-- <version>1.9.13</version> -->
198         <!-- </dependency> -->
199
200         <!-- <dependency> -->
201         <!-- <groupId>commons-codec</groupId> -->
202         <!-- <artifactId>commons-codec</artifactId> -->
203         <!-- </dependency> -->
204
205         <!-- <dependency> -->
206         <!-- <groupId>org.apache.httpcomponents</groupId> -->
207         <!-- <artifactId>httpclient</artifactId> -->
208         <!-- <version>4.5.3</version> -->
209         <!-- </dependency> -->
210
211         <dependency>
212             <groupId>junit</groupId>
213             <artifactId>junit</artifactId>
214             <scope>test</scope>
215         </dependency>
216         <dependency>
217             <groupId>org.mockito</groupId>
218             <artifactId>mockito-core</artifactId>
219             <scope>test</scope>
220         </dependency>
221
222         <!-- <dependency> -->
223         <!-- <groupId>equinoxSDK381</groupId> -->
224         <!-- <artifactId>org.eclipse.osgi</artifactId> -->
225         <!-- </dependency> -->
226
227         <!-- <dependency> -->
228         <!-- <groupId>org.slf4j</groupId> -->
229         <!-- <artifactId>slf4j-api</artifactId> -->
230         <!-- </dependency> -->
231
232         <!-- <dependency> -->
233         <!-- <groupId>org.slf4j</groupId> -->
234         <!-- <artifactId>jcl-over-slf4j</artifactId> -->
235         <!-- </dependency> -->
236
237         <!-- <dependency> -->
238         <!-- <groupId>xerces</groupId> -->
239         <!-- <artifactId>xerces</artifactId> -->
240         <!-- <version>2.4.0</version> -->
241         <!-- <scope>provided</scope> -->
242         <!-- </dependency> -->
243
244         <!-- <dependency> -->
245         <!-- <groupId>org.apache.httpcomponents</groupId> -->
246         <!-- <artifactId>httpcore</artifactId> -->
247         <!-- <version>${apache.httpcomponents.version}</version> -->
248         <!-- </dependency> -->
249
250         <!-- <dependency> -->
251         <!-- <groupId>commons-logging</groupId> -->
252         <!-- <artifactId>commons-logging</artifactId> -->
253         <!-- <version>1.2</version> -->
254         <!-- </dependency> -->
255
256     </dependencies>
257
258     <build>
259         <plugins>
260             <plugin>
261                 <groupId>org.apache.felix</groupId>
262                 <artifactId>maven-bundle-plugin</artifactId>
263                 <extensions>true</extensions>
264                 <configuration>
265                     <instructions>
266                         <Bundle-SymbolicName>appc-iaas-adapter</Bundle-SymbolicName>
267                         <Bundle-Activator>org.onap.appc.adapter.iaas.AppcProviderAdapterActivator</Bundle-Activator>
268                         <Export-Package>org.onap.appc.adapter.iaas,com.att.cdp.zones.model</Export-Package>
269                         <Import-Package>javax.naming,javax.ws.rs.*,org.onap.ccsdk.sli.core.sli.*,org.osgi.framework.*,org.slf4j.*,javax.net.ssl,org.xml.sax</Import-Package>
270                         <!-- <Import-Package>org.onap.ccsdk.sli.core.sli.*,org.osgi.framework.*,org.slf4j.*,javax.ws.rs.*,javax.net.*,javax.xml.*,org.xml.*</Import-Package> -->
271                         <!-- <Import-Package>org.onap.ccsdk.sli.core.sli.*,org.osgi.framework.*,org.slf4j.*,com.vmware.*,org.apache.xerces.*,javax.net.*,javax.net.ssl.*,org.xml.sax.*,javax.xml.bind.*,javax.naming.*,javax.xml.*</Import-Package> -->
272                         <Embed-Dependency>!javax.ws.rs-api,*;scope=compile|runtime;artifactId=!org.eclipse.osgi|slf4j-api|jcl-over-slf4j|</Embed-Dependency>
273                         <!-- <Embed-Dependency>*;scope=compile|runtime;artifactId=!sli-common|org.eclipse.osgi|slf4j-api|jcl-over-slf4j|mariadb-java-client|xml-apis</Embed-Dependency> -->
274                         <Embed-Transitive>true</Embed-Transitive>
275                     </instructions>
276                 </configuration>
277             </plugin>
278         </plugins>
279     </build>
280
281     <profiles>
282         <profile>
283             <id>NonSlowTests</id>
284             <activation>
285                 <activeByDefault>true</activeByDefault>
286             </activation>
287             <build>
288                 <plugins>
289                     <plugin>
290                         <groupId>org.apache.maven.plugins</groupId>
291                         <artifactId>maven-surefire-plugin</artifactId>
292                         <configuration>
293                             <excludedGroups>org.onap.appc.adapter.iaas.impl.TestProviderAdapterImpl</excludedGroups>
294                         </configuration>
295                     </plugin>
296                 </plugins>
297             </build>
298         </profile>
299     </profiles>
300     <version>1.5.0-SNAPSHOT</version>
301 </project>