Release appc
[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" 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.appc.parent</groupId>
26                 <artifactId>binding-parent</artifactId>
27                 <version>2.7.2</version>
28                 <relativePath/>
29         </parent>
30         <groupId>org.onap.appc</groupId>
31
32     <artifactId>appc-iaas-adapter-bundle</artifactId>
33     <packaging>bundle</packaging>
34     <name>IaaS Adapter - bundle</name>
35
36     <dependencies>
37         <dependency>
38             <groupId>org.onap.appc</groupId>
39             <artifactId>appc-common-bundle</artifactId>
40             <version>${project.version}</version>
41             <scope>compile</scope>
42             <exclusions>
43                 <exclusion>
44                     <groupId>javax</groupId>
45                     <artifactId>javaee-api</artifactId>
46                 </exclusion>
47             </exclusions>
48         </dependency>
49
50
51         <dependency>
52             <groupId>com.att.cdp</groupId>
53             <artifactId>cdp-pal-common</artifactId>
54             <scope>compile</scope>
55             <version>${cdp.pal.version}</version>
56             <exclusions>
57                 <exclusion>
58                   <groupId>ch.qos.logback</groupId>
59                   <artifactId>logback-classic</artifactId>
60                 </exclusion>
61             </exclusions>
62         </dependency>
63
64         <dependency>
65             <groupId>com.att.cdp</groupId>
66             <artifactId>cdp-pal-openstack</artifactId>
67             <scope>compile</scope>
68             <version>${cdp.pal.version}</version>
69             <exclusions>
70                   <exclusion>
71                        <groupId>com.att.cdp</groupId>
72                        <artifactId>cdp-pal-common</artifactId>
73                   </exclusion>
74             </exclusions>
75         </dependency>
76
77         <dependency>
78             <groupId>org.glassfish.jersey.core</groupId>
79             <artifactId>jersey-common</artifactId>
80             <version>2.25.1</version>
81             <scope>compile</scope>
82         </dependency>
83
84
85         <dependency>
86             <groupId>org.glassfish.jersey.core</groupId>
87             <artifactId>jersey-client</artifactId>
88             <version>2.25.1</version>
89             <scope>compile</scope>
90         </dependency>
91
92         <dependency>
93             <groupId>org.glassfish.jersey.core</groupId>
94             <artifactId>jersey-server</artifactId>
95             <version>2.25.1</version>
96             <scope>compile</scope>
97         </dependency>
98
99         <dependency>
100             <groupId>org.osgi</groupId>
101             <artifactId>org.osgi.core</artifactId>
102             <scope>provided</scope>
103         </dependency>
104
105         <!-- <dependency> -->
106         <!-- <groupId>javax</groupId> -->
107         <!-- <artifactId>javaee-api</artifactId> -->
108         <!-- <version>7.0</version> -->
109         <!-- </dependency> -->
110
111         <dependency>
112             <groupId>javax.ws.rs</groupId>
113             <artifactId>javax.ws.rs-api</artifactId>
114             <version>2.0.1</version>
115             <scope>compile</scope>
116         </dependency>
117
118         <!-- <dependency> -->
119         <!-- <groupId>org.glassfish.jersey.containers</groupId> -->
120         <!-- <artifactId>jersey-container-servlet</artifactId> -->
121         <!-- <version>2.25.1</version> -->
122         <!-- <scope>provided</scope> -->
123         <!-- </dependency> -->
124
125         <dependency>
126             <groupId>org.glassfish.jersey.connectors</groupId>
127             <artifactId>jersey-grizzly-connector</artifactId>
128             <version>2.25.1</version>
129             <scope>compile</scope>
130         </dependency>
131         <!-- <dependency> -->
132         <!-- <groupId>org.glassfish.jersey.media</groupId> -->
133         <!-- <artifactId>jersey-media-json-jackson</artifactId> -->
134         <!-- <version>2.25.1</version> -->
135         <!-- </dependency> -->
136
137         <!-- <dependency> -->
138         <!-- <groupId>com.fasterxml.jackson.jaxrs</groupId> -->
139         <!-- <artifactId>jackson-jaxrs-base</artifactId> -->
140         <!-- </dependency> -->
141
142         <dependency>
143             <groupId>javax.xml</groupId>
144             <artifactId>jaxp-api</artifactId>
145             <version>1.4.2</version>
146             <scope>compile</scope>
147         </dependency>
148
149         <dependency>
150             <groupId>javax.xml.bind</groupId>
151             <artifactId>jaxb-api</artifactId>
152             <version>2.2.3</version>
153             <scope>compile</scope>
154         </dependency>
155
156         <dependency>
157             <groupId>org.onap.ccsdk.sli.core</groupId>
158             <artifactId>sli-common</artifactId>
159             <scope>provided</scope>
160             <!-- Added exclusion to prevent missing dependency issue on dblib -->
161             <exclusions>
162                 <exclusion>
163                     <groupId>org.onap.ccsdk.sli.core</groupId>
164                     <artifactId>dblib-provider</artifactId>
165                 </exclusion>
166             </exclusions>
167         </dependency>
168
169         <dependency>
170             <groupId>org.onap.ccsdk.sli.core</groupId>
171             <artifactId>sli-provider</artifactId>
172             <scope>provided</scope>
173             <!-- Added exclusion to prevent missing dependency issue on dblib -->
174             <exclusions>
175                 <exclusion>
176                     <groupId>org.onap.ccsdk.sli.core</groupId>
177                     <artifactId>dblib-provider</artifactId>
178                 </exclusion>
179             </exclusions>
180         </dependency>
181
182
183         <!-- <dependency> -->
184         <!-- <groupId>org.codehaus.jackson</groupId> -->
185         <!-- <artifactId>jackson-jaxrs</artifactId> -->
186         <!-- <version>1.9.13</version> -->
187         <!-- </dependency> -->
188
189         <!-- <dependency> -->
190         <!-- <groupId>commons-codec</groupId> -->
191         <!-- <artifactId>commons-codec</artifactId> -->
192         <!-- </dependency> -->
193
194         <!-- <dependency> -->
195         <!-- <groupId>org.apache.httpcomponents</groupId> -->
196         <!-- <artifactId>httpclient</artifactId> -->
197         <!-- <version>4.5.3</version> -->
198         <!-- </dependency> -->
199
200         <dependency>
201             <groupId>junit</groupId>
202             <artifactId>junit</artifactId>
203             <scope>test</scope>
204         </dependency>
205         <dependency>
206             <groupId>org.mockito</groupId>
207             <artifactId>mockito-core</artifactId>
208             <scope>test</scope>
209         </dependency>
210
211         <!-- <dependency> -->
212         <!-- <groupId>equinoxSDK381</groupId> -->
213         <!-- <artifactId>org.eclipse.osgi</artifactId> -->
214         <!-- </dependency> -->
215
216         <!-- <dependency> -->
217         <!-- <groupId>org.slf4j</groupId> -->
218         <!-- <artifactId>slf4j-api</artifactId> -->
219         <!-- </dependency> -->
220
221         <!-- <dependency> -->
222         <!-- <groupId>org.slf4j</groupId> -->
223         <!-- <artifactId>jcl-over-slf4j</artifactId> -->
224         <!-- </dependency> -->
225
226         <!-- <dependency> -->
227         <!-- <groupId>xerces</groupId> -->
228         <!-- <artifactId>xerces</artifactId> -->
229         <!-- <version>2.4.0</version> -->
230         <!-- <scope>provided</scope> -->
231         <!-- </dependency> -->
232
233         <!-- <dependency> -->
234         <!-- <groupId>org.apache.httpcomponents</groupId> -->
235         <!-- <artifactId>httpcore</artifactId> -->
236         <!-- <version>${apache.httpcomponents.version}</version> -->
237         <!-- </dependency> -->
238
239         <!-- <dependency> -->
240         <!-- <groupId>commons-logging</groupId> -->
241         <!-- <artifactId>commons-logging</artifactId> -->
242         <!-- <version>1.2</version> -->
243         <!-- </dependency> -->
244
245     </dependencies>
246
247     <build>
248         <plugins>
249             <plugin>
250                 <groupId>org.apache.felix</groupId>
251                 <artifactId>maven-bundle-plugin</artifactId>
252                 <extensions>true</extensions>
253                 <configuration>
254                     <instructions>
255                         <Bundle-SymbolicName>appc-iaas-adapter</Bundle-SymbolicName>
256                         <Bundle-Activator>org.onap.appc.adapter.iaas.AppcProviderAdapterActivator</Bundle-Activator>
257                         <Export-Package>org.onap.appc.adapter.iaas,com.att.cdp.zones.model</Export-Package>
258                         <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>
259                         <!-- <Import-Package>org.onap.ccsdk.sli.core.sli.*,org.osgi.framework.*,org.slf4j.*,javax.ws.rs.*,javax.net.*,javax.xml.*,org.xml.*</Import-Package> -->
260                         <!-- <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> -->
261                         <Embed-Dependency>!javax.ws.rs-api,*;scope=compile|runtime;artifactId=!org.eclipse.osgi|slf4j-api|jcl-over-slf4j|</Embed-Dependency>
262                         <!-- <Embed-Dependency>*;scope=compile|runtime;artifactId=!sli-common|org.eclipse.osgi|slf4j-api|jcl-over-slf4j|mariadb-java-client|xml-apis</Embed-Dependency> -->
263                         <Embed-Transitive>true</Embed-Transitive>
264                     </instructions>
265                 </configuration>
266             </plugin>
267         </plugins>
268     </build>
269
270     <profiles>
271         <profile>
272             <id>NonSlowTests</id>
273             <activation>
274                 <activeByDefault>true</activeByDefault>
275             </activation>
276             <build>
277                 <plugins>
278                     <plugin>
279                         <groupId>org.apache.maven.plugins</groupId>
280                         <artifactId>maven-surefire-plugin</artifactId>
281                         <configuration>
282                             <excludedGroups>org.onap.appc.adapter.iaas.impl.TestProviderAdapterImpl</excludedGroups>
283                         </configuration>
284                     </plugin>
285                 </plugins>
286             </build>
287         </profile>
288     </profiles>
289     <version>1.7.2</version>
290 </project>