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