2009-02-22 13:42:25 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2010-10-22 17:47:45 -04:00
|
|
|
<!--
|
2008-09-10 17:56:35 -04:00
|
|
|
====================================================================
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
or more contributor license agreements. See the NOTICE file
|
|
|
|
distributed with this work for additional information
|
|
|
|
regarding copyright ownership. The ASF licenses this file
|
|
|
|
to you 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.
|
|
|
|
====================================================================
|
|
|
|
|
|
|
|
This software consists of voluntary contributions made by many
|
|
|
|
individuals on behalf of the Apache Software Foundation. For more
|
|
|
|
information on the Apache Software Foundation, please see
|
|
|
|
<http://www.apache.org />.
|
2013-09-09 15:32:04 -04:00
|
|
|
--><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/maven-v4_0_0.xsd">
|
2008-09-10 17:56:35 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcomponents-client</artifactId>
|
2015-05-24 10:12:43 -04:00
|
|
|
<version>5.0-alpha1-SNAPSHOT</version>
|
2008-09-10 17:56:35 -04:00
|
|
|
</parent>
|
|
|
|
<artifactId>httpclient-osgi</artifactId>
|
2013-08-09 11:57:15 -04:00
|
|
|
<name>Apache HttpClient OSGi bundle</name>
|
2008-09-10 17:56:35 -04:00
|
|
|
<inceptionYear>1999</inceptionYear>
|
|
|
|
<description>
|
2014-08-21 09:22:42 -04:00
|
|
|
Apache HttpComponents Client (OSGi bundle)
|
2008-09-10 17:56:35 -04:00
|
|
|
</description>
|
|
|
|
<url>http://hc.apache.org/httpcomponents-client</url>
|
2010-10-22 17:47:45 -04:00
|
|
|
<packaging>bundle</packaging>
|
2008-09-10 17:56:35 -04:00
|
|
|
|
2014-01-15 08:38:24 -05:00
|
|
|
<properties>
|
2014-07-15 04:18:03 -04:00
|
|
|
<httpcore.osgi.import.version>"[4.4.0, 4.5.0)"</httpcore.osgi.import.version>
|
2015-02-18 04:35:09 -05:00
|
|
|
<commons-logging.osgi.import.version>"[1.1.0, 1.3.0)"</commons-logging.osgi.import.version>
|
2015-08-16 10:19:30 -04:00
|
|
|
<pax.url.version>2.4.1</pax.url.version>
|
|
|
|
<pax.exam.version>4.5.0</pax.exam.version>
|
|
|
|
<osgi.framework.version>5.0.0</osgi.framework.version>
|
|
|
|
<slf4j.version>1.7.5</slf4j.version>
|
2014-01-15 08:38:24 -05:00
|
|
|
</properties>
|
|
|
|
|
2008-09-10 17:56:35 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
2010-04-21 06:51:40 -04:00
|
|
|
<version>${project.version}</version>
|
2008-09-10 17:56:35 -04:00
|
|
|
</dependency>
|
2015-08-16 10:19:30 -04:00
|
|
|
<!-- Depend on the OSGi bundle - the bundle plugin knows what to do. -->
|
2013-04-18 05:45:19 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
2015-08-16 10:19:30 -04:00
|
|
|
<artifactId>httpcore-osgi</artifactId>
|
|
|
|
<version>${httpcore.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore-nio</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2013-04-18 05:45:19 -04:00
|
|
|
</dependency>
|
2008-09-10 17:56:35 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
<version>${commons-codec.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpmime</artifactId>
|
2010-04-21 06:51:40 -04:00
|
|
|
<version>${project.version}</version>
|
2010-05-12 15:23:18 -04:00
|
|
|
</dependency>
|
2010-11-15 15:32:17 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient-cache</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2012-02-05 08:18:18 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>fluent-hc</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2013-04-18 05:45:19 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
|
|
|
<artifactId>org.osgi.core</artifactId>
|
2015-08-16 10:19:30 -04:00
|
|
|
<version>${osgi.framework.version}</version>
|
2013-04-18 05:45:19 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
|
|
|
<artifactId>org.osgi.compendium</artifactId>
|
2015-08-16 10:19:30 -04:00
|
|
|
<version>${osgi.framework.version}</version>
|
2013-04-18 05:45:19 -04:00
|
|
|
</dependency>
|
|
|
|
<!-- test dependencies, mainly OSGi runtime environment -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-08-16 10:19:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
|
|
<artifactId>pax-exam-container-native</artifactId>
|
|
|
|
<version>${pax.exam.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>org.apache.felix.framework</artifactId>
|
|
|
|
<version>5.0.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
|
|
<artifactId>pax-exam-junit4</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>${pax.exam.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
|
|
<artifactId>pax-exam-link-mvn</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>${pax.exam.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ops4j.pax.url</groupId>
|
|
|
|
<artifactId>pax-url-aether</artifactId>
|
|
|
|
<version>${pax.url.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-01-02 09:20:33 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2008-09-10 17:56:35 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2010-09-02 15:14:13 -04:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2008-09-10 17:56:35 -04:00
|
|
|
<plugins>
|
2015-08-16 10:19:30 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-bundles</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/bundles</outputDirectory>
|
|
|
|
<!--
|
|
|
|
Exclude the ones that are not OSGi
|
|
|
|
components, plus OSGi itself.
|
|
|
|
-->
|
|
|
|
<excludeGroupIds>org.slf4j</excludeGroupIds>
|
|
|
|
<excludeArtifactIds>httpclient,httpmime,httpclient-cache,fluent-hc,httpcore,org.osgi.core</excludeArtifactIds>
|
|
|
|
<includeScope>compile</includeScope>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2008-09-10 17:56:35 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<instructions>
|
2010-04-21 06:51:40 -04:00
|
|
|
<Bundle-Name>Apache ${project.name}</Bundle-Name>
|
|
|
|
<Bundle-SymbolicName>${project.groupId}.httpclient</Bundle-SymbolicName>
|
2008-09-10 17:56:35 -04:00
|
|
|
<_exportcontents>
|
2009-08-05 15:21:40 -04:00
|
|
|
org.apache.http.auth.*;version=${project.version},
|
2009-11-25 15:15:32 -05:00
|
|
|
org.apache.http.cookie.*;version=${project.version},
|
2009-08-05 15:21:40 -04:00
|
|
|
org.apache.http.conn.*;version=${project.version},
|
|
|
|
org.apache.http.client.*;version=${project.version},
|
|
|
|
org.apache.http.entity.mime.*;version=${project.version},
|
2009-11-25 15:15:32 -05:00
|
|
|
org.apache.http.impl.auth.*;version=${project.version},
|
|
|
|
org.apache.http.impl.cookie.*;version=${project.version},
|
|
|
|
org.apache.http.impl.conn.*;version=${project.version},
|
2013-09-16 10:17:17 -04:00
|
|
|
org.apache.http.impl.execchain.*;version=${project.version},
|
|
|
|
org.apache.http.impl.client.*;version=${project.version},
|
|
|
|
org.apache.http.osgi.services.*;version=${project.version}
|
2008-09-10 17:56:35 -04:00
|
|
|
</_exportcontents>
|
2011-06-27 15:18:54 -04:00
|
|
|
<Embed-Dependency>*;scope=compile|runtime;inline=true</Embed-Dependency>
|
2009-08-05 15:21:40 -04:00
|
|
|
<Import-Package>
|
2009-11-25 15:15:32 -05:00
|
|
|
javax.crypto,
|
|
|
|
javax.crypto.spec,
|
2014-08-21 07:58:50 -04:00
|
|
|
javax.naming,
|
2014-10-11 10:10:32 -04:00
|
|
|
javax.naming.directory,
|
|
|
|
javax.naming.ldap,
|
2013-03-09 09:37:51 -05:00
|
|
|
javax.net,
|
|
|
|
javax.net.ssl,
|
|
|
|
javax.security.auth.x500,
|
2013-04-18 05:45:19 -04:00
|
|
|
org.ietf.jgss,,
|
|
|
|
org.osgi.framework,
|
|
|
|
org.osgi.service.cm,
|
2014-01-15 08:38:24 -05:00
|
|
|
org.apache.commons.logging;version=${commons-logging.osgi.import.version},
|
|
|
|
org.apache.http;version=${httpcore.osgi.import.version},
|
|
|
|
org.apache.http.config;version=${httpcore.osgi.import.version},
|
|
|
|
org.apache.http.concurrent;version=${httpcore.osgi.import.version},
|
|
|
|
org.apache.http.entity;version=${httpcore.osgi.import.version},
|
|
|
|
org.apache.http.io;version=${httpcore.osgi.import.version},
|
|
|
|
org.apache.http.message;version=${httpcore.osgi.import.version},
|
|
|
|
org.apache.http.params;version=${httpcore.osgi.import.version},
|
|
|
|
org.apache.http.pool;version=${httpcore.osgi.import.version},
|
|
|
|
org.apache.http.protocol;version=${httpcore.osgi.import.version},
|
2015-02-13 15:45:12 -05:00
|
|
|
org.apache.http.ssl;version=${httpcore.osgi.import.version},
|
2014-01-15 08:38:24 -05:00
|
|
|
org.apache.http.util;version=${httpcore.osgi.import.version},
|
|
|
|
org.apache.http.impl;version=${httpcore.osgi.import.version},
|
|
|
|
org.apache.http.impl.entity;version=${httpcore.osgi.import.version},
|
|
|
|
org.apache.http.impl.io;version=${httpcore.osgi.import.version},
|
|
|
|
org.apache.http.impl.pool;version=${httpcore.osgi.import.version},
|
2010-11-15 15:32:17 -05:00
|
|
|
net.sf.ehcache.*;resolution:=optional,
|
|
|
|
net.spy.memcached.*;resolution:=optional
|
2009-08-05 15:21:40 -04:00
|
|
|
</Import-Package>
|
2013-04-18 05:45:19 -04:00
|
|
|
<Bundle-Activator>org.apache.http.osgi.impl.HttpProxyConfigurationActivator</Bundle-Activator>
|
2010-06-16 10:28:56 -04:00
|
|
|
<!-- Stop the JAVA_1_n_HOME variables from being treated as headers by Bnd -->
|
|
|
|
<_removeheaders>JAVA_1_3_HOME,JAVA_1_4_HOME</_removeheaders>
|
2008-09-10 17:56:35 -04:00
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2010-12-13 06:49:05 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>clirr-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-08-16 10:19:30 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<version>2.18.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<java.awt.headless>true</java.awt.headless>
|
|
|
|
<project.build.directory>${project.build.directory}</project.build.directory>
|
|
|
|
<project.version>${project.version}</project.version>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2008-09-10 17:56:35 -04:00
|
|
|
</plugins>
|
2010-04-21 06:51:40 -04:00
|
|
|
<finalName>org.apache.httpcomponents.httpclient_${project.version}</finalName>
|
2008-09-10 17:56:35 -04:00
|
|
|
</build>
|
|
|
|
|
2013-08-27 08:04:46 -04:00
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
|
<version>${hc.project-info.version}</version>
|
|
|
|
<inherited>false</inherited>
|
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>dependencies</report>
|
|
|
|
<report>dependency-info</report>
|
|
|
|
<report>summary</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
2008-09-10 17:56:35 -04:00
|
|
|
</project>
|