Change rest healthcheck to use appc parent poms
[appc.git] / appc-adapters / appc-rest-healthcheck-adapter / appc-rest-healthcheck-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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23     <modelVersion>4.0.0</modelVersion>
24     <parent>
25         <groupId>org.onap.appc.parent</groupId>
26         <artifactId>binding-parent</artifactId>
27         <version>1.5.0-SNAPSHOT</version>
28         <relativePath />
29     </parent>
30
31     <groupId>org.onap.appc</groupId>
32     <artifactId>appc-rest-healthcheck-adapter-bundle</artifactId>
33     <packaging>bundle</packaging>
34     <name>rest healthcheck Adapter - bundle</name>
35
36     <dependencies>
37         <dependency>
38             <groupId>commons-codec</groupId>
39             <artifactId>commons-codec</artifactId>
40         </dependency>
41         <!-- http://mvnrepository.com/artifact/commons-logging/commons-logging -->
42         <dependency>
43             <groupId>commons-logging</groupId>
44             <artifactId>commons-logging</artifactId>
45             <version>1.2</version>
46         </dependency>
47         <!-- http://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
48         <dependency>
49             <groupId>org.apache.httpcomponents</groupId>
50             <artifactId>httpcore</artifactId>
51             <version>4.4.4</version>
52         </dependency>
53
54         <dependency>
55             <groupId>org.apache.httpcomponents</groupId>
56             <artifactId>httpclient</artifactId>
57             <version>4.5.3</version>
58         </dependency>
59         <dependency>
60             <groupId>org.onap.appc</groupId>
61             <artifactId>appc-common-bundle</artifactId>
62             <version>${project.version}</version>
63             <scope>compile</scope>
64         </dependency>
65
66         <dependency>
67             <groupId>javax</groupId>
68             <artifactId>javaee-api</artifactId>
69             <version>7.0</version>
70         </dependency>
71
72
73         <dependency>
74             <groupId>com.att.cdp</groupId>
75             <artifactId>cdp-pal-common</artifactId>
76             <version>${cdp.pal.version}</version>
77             <scope>compile</scope>
78             <exclusions>
79                 <exclusion>
80                   <groupId>ch.qos.logback</groupId>
81                   <artifactId>logback-classic</artifactId>
82                 </exclusion>
83             </exclusions>
84         </dependency>
85
86         <dependency>
87             <groupId>com.att.cdp</groupId>
88             <artifactId>cdp-pal-openstack</artifactId>
89             <version>${cdp.pal.version}</version>
90             <scope>compile</scope>
91             <exclusions>
92                   <exclusion>
93                        <groupId>com.att.cdp</groupId>
94                        <artifactId>cdp-pal-common</artifactId>
95                   </exclusion>
96             </exclusions>
97         </dependency>
98
99         <dependency>
100             <groupId>javax.ws.rs</groupId>
101             <artifactId>javax.ws.rs-api</artifactId>
102         </dependency>
103
104         <!-- Jersey support needed for OpenStack connector and API version logic -->
105         <dependency>
106             <groupId>com.sun.jersey</groupId>
107             <artifactId>jersey-client</artifactId>
108         </dependency>
109
110         <dependency>
111             <groupId>com.sun.jersey</groupId>
112             <artifactId>jersey-json</artifactId>
113         </dependency>
114
115         <dependency>
116             <groupId>javax.xml.bind</groupId>
117             <artifactId>jaxb-api</artifactId>
118             <version>2.2.3</version>
119         </dependency>
120
121         <dependency>
122             <groupId>javax.xml</groupId>
123             <artifactId>jaxp-api</artifactId>
124             <version>1.4.2</version>
125         </dependency>
126
127         <!-- Needed to run test cases -->
128         <dependency>
129             <groupId>org.glassfish.jersey.core</groupId>
130             <artifactId>jersey-common</artifactId>
131             <version>2.9.1</version>
132             <scope>test</scope>
133         </dependency>
134
135         <dependency>
136             <groupId>org.codehaus.jackson</groupId>
137             <artifactId>jackson-jaxrs</artifactId>
138             <version>1.9.13</version>
139         </dependency>
140
141         <dependency>
142             <groupId>junit</groupId>
143             <artifactId>junit</artifactId>
144             <scope>test</scope>
145         </dependency>
146         <dependency>
147             <groupId>org.mockito</groupId>
148             <artifactId>mockito-core</artifactId>
149         </dependency>
150         <dependency>
151             <groupId>org.onap.ccsdk.sli.core</groupId>
152             <artifactId>sli-common</artifactId>
153             <scope>provided</scope>
154             <!-- Added exclusion to prevent missing dependency issue on dblib -->
155             <exclusions>
156                 <exclusion>
157                     <groupId>org.onap.ccsdk.sli.core</groupId>
158                     <artifactId>dblib-provider</artifactId>
159                 </exclusion>
160             </exclusions>
161         </dependency>
162         
163         <dependency>
164             <groupId>org.onap.ccsdk.sli.core</groupId>
165             <artifactId>sli-provider</artifactId>
166             <scope>provided</scope>
167             <!-- Added exclusion to prevent missing dependency issue on dblib -->
168             <exclusions>
169                 <exclusion>
170                     <groupId>org.onap.ccsdk.sli.core</groupId>
171                     <artifactId>dblib-provider</artifactId>
172                 </exclusion>
173             </exclusions>
174         </dependency>
175
176         <dependency>
177             <groupId>equinoxSDK381</groupId>
178             <artifactId>org.eclipse.osgi</artifactId>
179         </dependency>
180
181         <dependency>
182             <groupId>org.slf4j</groupId>
183             <artifactId>slf4j-api</artifactId>
184         </dependency>
185
186         <dependency>
187             <groupId>org.slf4j</groupId>
188             <artifactId>jcl-over-slf4j</artifactId>
189         </dependency>
190
191         <dependency>
192             <groupId>org.mariadb.jdbc</groupId>
193             <artifactId>mariadb-java-client</artifactId>
194         </dependency>
195
196         <dependency>
197             <groupId>com.vmware</groupId>
198             <artifactId>vijava</artifactId>
199             <version>5.1</version>
200             <scope>compile</scope>
201         </dependency>
202
203         <dependency>
204             <groupId>xerces</groupId>
205             <artifactId>xerces</artifactId>
206             <version>2.4.0</version>
207             <scope>provided</scope>
208         </dependency>
209
210     </dependencies>
211
212     <build>
213         <plugins>
214             <plugin>
215                 <groupId>org.apache.felix</groupId>
216                 <artifactId>maven-bundle-plugin</artifactId>
217                 <extensions>true</extensions>
218                 <configuration>
219                     <instructions>
220                         <Bundle-SymbolicName>appc-rest-healthcheck-adapter</Bundle-SymbolicName>
221                         <Bundle-Activator>org.onap.appc.adapter.restHealthcheck.RestHealthcheckActivator</Bundle-Activator>
222                         <Export-Package>org.onap.appc.adapter.restHealthcheck</Export-Package>
223                         <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.security.auth.*
224                         </Import-Package>
225                         <Embed-Dependency>
226                             *;scope=compile|runtime;artifactId=!sli-common|!appc-common-bundle|org.eclipse.osgi|slf4j-api|jcl-over-slf4j|xml-apis
227                         </Embed-Dependency>
228                         <Embed-Transitive>true</Embed-Transitive>
229                     </instructions>
230
231                     <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
232                 </configuration>
233             </plugin>
234         </plugins>
235     </build>
236     <version>1.6.0-SNAPSHOT</version>
237 </project>