ChefActivator JUnits
[appc.git] / appc-adapters / appc-chef-adapter / appc-chef-adapter-bundle / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP : APPC
5   ================================================================================
6   Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7   ================================================================================
8   Copyright (C) 2017 Amdocs
9   =============================================================================
10   Licensed under the Apache License, Version 2.0 (the "License");
11   you may not use this file except in compliance with the License.
12   You may obtain a copy of the License at
13
14        http://www.apache.org/licenses/LICENSE-2.0
15
16   Unless required by applicable law or agreed to in writing, software
17   distributed under the License is distributed on an "AS IS" BASIS,
18   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19   See the License for the specific language governing permissions and
20   limitations under the License.
21
22   ECOMP is a trademark and service mark of AT&T Intellectual Property.
23   ============LICENSE_END=========================================================
24   -->
25 <project xmlns="http://maven.apache.org/POM/4.0.0"
26          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
27          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
28     <modelVersion>4.0.0</modelVersion>
29     <parent>
30         <groupId>org.onap.appc</groupId>
31         <artifactId>appc-chef-adapter</artifactId>
32         <version>1.3.0-SNAPSHOT</version>
33     </parent>
34
35     <artifactId>appc-chef-adapter-bundle</artifactId>
36     <packaging>bundle</packaging>
37     <name>APPC Chef Adapter - Bundle</name>
38
39     <properties>
40         <licenseDir>${project.parent.parent.parent.basedir}</licenseDir>
41     </properties>
42
43     <dependencies>
44         <dependency>
45             <groupId>org.json</groupId>
46             <artifactId>json</artifactId>
47             <version>20160810</version>
48         </dependency>
49         <dependency>
50             <groupId>commons-codec</groupId>
51             <artifactId>commons-codec</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>commons-logging</groupId>
55             <artifactId>commons-logging</artifactId>
56             <version>1.2</version>
57         </dependency>
58         <dependency>
59             <groupId>org.apache.httpcomponents</groupId>
60             <artifactId>httpcore</artifactId>
61             <version>4.4.6</version>
62         </dependency>
63         <dependency>
64             <groupId>org.apache.httpcomponents</groupId>
65             <artifactId>httpclient</artifactId>
66             <version>4.5.3</version>
67         </dependency>
68
69
70         <dependency>
71             <groupId>org.bouncycastle</groupId>
72             <artifactId>bcpkix-jdk15on</artifactId>
73             <version>1.55</version>
74         </dependency>
75         <dependency>
76             <groupId>org.bouncycastle</groupId>
77             <artifactId>bcprov-jdk15on</artifactId>
78             <version>1.55</version>
79         </dependency>
80         <dependency>
81             <groupId>org.onap.appc</groupId>
82             <artifactId>appc-common</artifactId>
83             <version>${project.version}</version>
84         </dependency>
85         <dependency>
86             <groupId>javax</groupId>
87             <artifactId>javaee-api</artifactId>
88             <version>7.0</version>
89         </dependency>
90
91         <dependency>
92             <groupId>com.att.cdp</groupId>
93             <artifactId>cdp-pal-common</artifactId>
94             <scope>compile</scope>
95         </dependency>
96
97         <dependency>
98             <groupId>com.att.cdp</groupId>
99             <artifactId>cdp-pal-openstack</artifactId>
100             <scope>compile</scope>
101         </dependency>
102
103         <dependency>
104             <groupId>javax.ws.rs</groupId>
105             <artifactId>javax.ws.rs-api</artifactId>
106         </dependency>
107
108         <!-- Jersey support needed for OpenStack connector and API version logic -->
109         <dependency>
110             <groupId>com.sun.jersey</groupId>
111             <artifactId>jersey-client</artifactId>
112         </dependency>
113
114         <dependency>
115             <groupId>com.sun.jersey</groupId>
116             <artifactId>jersey-json</artifactId>
117         </dependency>
118
119         <dependency>
120             <groupId>javax.xml.bind</groupId>
121             <artifactId>jaxb-api</artifactId>
122             <version>2.2.3</version>
123         </dependency>
124
125         <dependency>
126             <groupId>javax.xml</groupId>
127             <artifactId>jaxp-api</artifactId>
128             <version>1.4.2</version>
129         </dependency>
130
131         <!-- Needed to run test cases -->
132         <dependency>
133             <groupId>org.glassfish.jersey.core</groupId>
134             <artifactId>jersey-common</artifactId>
135             <version>2.9.1</version>
136         </dependency>
137
138         <dependency>
139             <groupId>org.codehaus.jackson</groupId>
140             <artifactId>jackson-jaxrs</artifactId>
141             <version>1.9.12</version>
142         </dependency>
143
144         <dependency>
145             <groupId>org.apache.httpcomponents</groupId>
146             <artifactId>httpclient</artifactId>
147             <version>4.5.1</version>
148         </dependency>
149
150         <dependency>
151             <groupId>junit</groupId>
152             <artifactId>junit</artifactId>
153             <scope>test</scope>
154         </dependency>
155         <dependency>
156             <groupId>org.mockito</groupId>
157             <artifactId>mockito-core</artifactId>
158         </dependency>
159
160         <dependency>
161             <groupId>org.onap.ccsdk.sli.core</groupId>
162             <artifactId>sli-common</artifactId>
163             <scope>compile</scope>
164             <!-- Added exclusion to prevent missing dependency issue on dblib -->
165             <exclusions>
166                 <exclusion>
167                     <groupId>org.onap.ccsdk.sli.core</groupId>
168                     <artifactId>dblib-provider</artifactId>
169                 </exclusion>
170             </exclusions>
171         </dependency>
172
173         <dependency>
174             <groupId>org.onap.ccsdk.sli.core</groupId>
175             <artifactId>sli-provider</artifactId>
176             <scope>compile</scope>
177             <!-- Added exclusion to prevent missing dependency issue on dblib -->
178             <exclusions>
179                 <exclusion>
180                     <groupId>org.onap.ccsdk.sli.core</groupId>
181                     <artifactId>dblib-provider</artifactId>
182                 </exclusion>
183             </exclusions>
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>org.mariadb.jdbc</groupId>
203             <artifactId>mariadb-java-client</artifactId>
204         </dependency>
205
206         <dependency>
207             <groupId>com.vmware</groupId>
208             <artifactId>vijava</artifactId>
209             <version>5.1</version>
210             <scope>compile</scope>
211         </dependency>
212
213         <dependency>
214             <groupId>xerces</groupId>
215             <artifactId>xerces</artifactId>
216             <version>2.4.0</version>
217             <scope>provided</scope>
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-chef-adapter</Bundle-SymbolicName>
231                         <Bundle-Activator>org.onap.appc.adapter.chef.ChefActivator</Bundle-Activator>
232                         <Export-Package>org.onap.appc.adapter.chef</Export-Package>
233                         <Import-Package>
234                             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.*
235                         </Import-Package>
236                         <Embed-Dependency>
237                             *;scope=compile|runtime;artifactId=!sli-common|!appc-common|org.eclipse.osgi|slf4j-api|jcl-over-slf4j|mariadb-java-client|xml-apis
238                         </Embed-Dependency>
239                         <Embed-Transitive>true</Embed-Transitive>
240                     </instructions>
241
242                     <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
243                 </configuration>
244             </plugin>
245         </plugins>
246     </build>
247 </project>