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