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