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