<!--
    	Copyright 2016 ContainX and OpenStack4j

    	Licensed under the Apache License, Version 2.0 (the "License"); you may not
    	use this file except in compliance with the License. You may obtain a copy of
    	the License at

    	    http://www.apache.org/licenses/LICENSE-2.0

    	Unless required by applicable law or agreed to in writing, software
    	distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
    	WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
    	License for the specific language governing permissions and limitations under
    	the License.
 -->
<!--
 -->
<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">
	<parent>
		<groupId>com.huawei.openstack4j.connectors</groupId>
		<artifactId>openstack4j-connectors</artifactId>
		<version>1.0.23</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<artifactId>openstack4j-httpclient</artifactId>
	<name>OpenStack4j HttpComponents-HttpClient Connector</name>
	<url>http://github.com/ContainX/openstack4j/</url>
	<packaging>jar</packaging>

	<properties>
		<httpclient-version>4.3.1</httpclient-version>
	</properties>

	<dependencies>
		<dependency>
			<groupId>org.apache.httpcomponents</groupId>
			<artifactId>httpclient</artifactId>
			<version>4.3.6</version>
		 <type>jar</type>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<extensions>true</extensions>
				<configuration>
					<instructions>
						<Bundle-Name>${project.name}</Bundle-Name>
						<Export-Package>
							com.huawei.openstack4j.connectors.httpclient
						</Export-Package>
						<Import-Package>
							!com.huawei.openstack4j.connectors.httpclient,
							*
						</Import-Package>
						<!--
						Required for SPI in OSGi:
						http://aries.apache.org/modules/spi-fly.html#specconf

						This bundle defines an implementation for following services in META-INF-services:
						com.huawei.openstack4j.core.transport.HttpExecutorService
						 -->
						<Require-Capability>
							osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)"
						</Require-Capability>
						<Provide-Capability>
							osgi.serviceloader; osgi.serviceloader=com.huawei.openstack4j.core.transport.HttpExecutorService
						</Provide-Capability>
					</instructions>
				</configuration>
			</plugin>
		</plugins>
	</build>

</project>
