Unit Test for ansibleActivator
[appc.git] / appc-adapters / appc-ansible-adapter / appc-ansible-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   ================================================================================
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" 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">
26      <modelVersion>4.0.0</modelVersion>
27      <parent>
28           <groupId>org.onap.appc</groupId>
29           <artifactId>appc-ansible-adapter</artifactId>
30           <version>1.3.0-SNAPSHOT</version>
31      </parent>
32
33      <artifactId>appc-ansible-adapter-bundle</artifactId>
34      <packaging>bundle</packaging>
35      <name>APPC Ansible Service Adapter - bundle</name>
36
37      <dependencies>
38           <dependency>
39                <groupId>commons-codec</groupId>
40                <artifactId>commons-codec</artifactId>
41                <version>1.9</version>
42           </dependency>
43           <dependency>
44                <groupId>commons-logging</groupId>
45                <artifactId>commons-logging</artifactId>
46                <version>1.2</version>
47           </dependency>
48
49           <dependency>
50                      <groupId>org.apache.httpcomponents</groupId>
51                   <artifactId>httpclient</artifactId>
52                   <version>4.5.2</version>
53             </dependency>
54
55           <!-- http://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
56           <dependency>
57                <groupId>org.onap.appc</groupId>
58                <artifactId>appc-common</artifactId>
59                <version>${project.version}</version>
60           </dependency>
61
62           <dependency>
63                <groupId>javax</groupId>
64                <artifactId>javaee-api</artifactId>
65                <version>7.0</version>
66           </dependency>
67
68           <!-- 
69           ### DEPENDENCIES NOT REQUIRED 
70
71                  <dependency>
72                <groupId>jce</groupId>
73                <artifactId>jce</artifactId>
74                <version>1_2-do</version>
75                <scope>compile</scope>
76           </dependency>  
77
78
79           <dependency>
80                <groupId>javax.ws.rs</groupId>
81                <artifactId>javax.ws.rs-api</artifactId>
82                <version>2.0</version>
83           </dependency>
84
85                <groupId>javax.xml.bind</groupId>
86                <artifactId>jaxb-api</artifactId>
87                <version>2.2.3</version>
88           </dependency> 
89
90           <dependency>
91                <groupId>javax.xml</groupId>
92                <artifactId>jaxp-api</artifactId>
93                <version>1.4.2</version>
94           </dependency> 
95
96           #########
97           --> 
98
99           <!-- Needed to run test cases -->
100           <dependency>
101                <groupId>org.glassfish.jersey.core</groupId>
102                <artifactId>jersey-common</artifactId>
103                <version>2.9.1</version>
104           </dependency>
105
106           <dependency>
107                <groupId>org.codehaus.jackson</groupId>
108                <artifactId>jackson-jaxrs</artifactId>
109                <version>1.9.12</version>
110           </dependency>
111
112           <dependency>
113                <groupId>junit</groupId>
114                <artifactId>junit</artifactId>
115                <scope>test</scope>
116           </dependency>
117           <dependency>
118                <groupId>org.mockito</groupId>
119                <artifactId>mockito-core</artifactId>
120           </dependency>
121           <dependency>
122                <groupId>org.onap.ccsdk.sli.core</groupId>
123                <artifactId>sli-common</artifactId>
124                <scope>compile</scope>
125                <!-- Added exclusion to prevent missing dependency issue on dblib -->
126                <exclusions>
127                     <exclusion>
128                          <groupId>org.onap.ccsdk.sli.core</groupId>
129                          <artifactId>dblib-provider</artifactId>
130                     </exclusion>
131                </exclusions>
132           </dependency>
133
134           <dependency>
135                <groupId>org.onap.ccsdk.sli.core</groupId>
136                <artifactId>sli-provider</artifactId>
137                <scope>compile</scope>
138                <!-- Added exclusion to prevent missing dependency issue on dblib -->
139                <exclusions>
140                     <exclusion>
141                          <groupId>org.onap.ccsdk.sli.core</groupId>
142                          <artifactId>dblib-provider</artifactId>
143                     </exclusion>
144                </exclusions>
145           </dependency>
146
147           <dependency>
148                <groupId>equinoxSDK381</groupId>
149                <artifactId>org.eclipse.osgi</artifactId>
150           </dependency>
151
152           <dependency>
153                <groupId>org.slf4j</groupId>
154                <artifactId>slf4j-api</artifactId>
155           </dependency>
156
157           <dependency>
158                <groupId>org.slf4j</groupId>
159                <artifactId>jcl-over-slf4j</artifactId>
160           </dependency>
161
162           <dependency>
163                <groupId>org.mariadb.jdbc</groupId>
164                <artifactId>mariadb-java-client</artifactId>
165           </dependency>
166
167            <dependency>
168                   <groupId>org.json</groupId>
169                   <artifactId>json</artifactId>
170                   <version>20160212</version>
171           </dependency>
172
173
174                 <dependency>
175                    <groupId>com.google.guava</groupId>
176                   <artifactId>guava</artifactId>
177                   <version>20.0</version>
178           </dependency>
179
180                 <!-- 
181                 <dependency>
182                    <groupId>com.google.code.gson</groupId>
183                   <artifactId>gson</artifactId>
184                   <version>2.8.0</version>
185           </dependency>
186                 -->
187
188      </dependencies>
189
190
191      <build>
192           <plugins>
193                <plugin>
194                     <groupId>org.apache.felix</groupId>
195                     <artifactId>maven-bundle-plugin</artifactId>
196                     <extensions>true</extensions>
197                     <configuration>
198                          <instructions>
199                               <Bundle-SymbolicName>appc-ansible-adapter</Bundle-SymbolicName>
200                               <Bundle-Activator>org.onap.appc.adapter.ansible.AnsibleActivator</Bundle-Activator>
201                               <Export-Package>org.onap.appc.adapter.ansible</Export-Package>
202                               <Import-Package>org.onap.ccsdk.sli.core.sli.*,org.osgi.framework.*,org.slf4j.*, javax.net.*,javax.net.ssl.*,org.xml.sax.*,javax.xml.bind.*,javax.naming.*, javax.security.*</Import-Package>
203                               <Embed-Dependency>*;scope=compile|runtime;artifactId=!sli-common|org.eclipse.osgi|slf4j-api|jcl-over-slf4j|mariadb-java-client|xml-apis</Embed-Dependency>
204                               <Embed-Transitive>true</Embed-Transitive>
205                          </instructions>
206                     </configuration>
207                </plugin>
208           </plugins>
209      </build>
210 </project>