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