2007-05-20 16:36:28 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2010-08-15 14:51:32 -04:00
|
|
|
<!--
|
2007-05-20 16:36:28 -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 />.
|
|
|
|
-->
|
|
|
|
<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">
|
|
|
|
<parent>
|
|
|
|
<artifactId>project</artifactId>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
2011-09-17 19:51:34 -04:00
|
|
|
<version>5</version>
|
2008-01-06 08:08:58 -05:00
|
|
|
<relativePath>../project/pom.xml</relativePath>
|
2007-05-20 16:36:28 -04:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2007-06-23 16:52:31 -04:00
|
|
|
<artifactId>httpcomponents-client</artifactId>
|
2007-05-20 16:36:28 -04:00
|
|
|
<name>HttpComponents Client</name>
|
2012-02-09 13:40:08 -05:00
|
|
|
<version>4.2-beta2-SNAPSHOT</version>
|
2011-04-02 07:57:31 -04:00
|
|
|
<description>Apache HttpComponents Client is a library of components for building client side HTTP services</description>
|
2007-12-17 08:54:38 -05:00
|
|
|
<url>http://hc.apache.org/httpcomponents-client</url>
|
2008-04-27 17:29:04 -04:00
|
|
|
<inceptionYear>1999</inceptionYear>
|
2007-05-20 16:36:28 -04:00
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<organization>
|
2010-11-11 05:36:55 -05:00
|
|
|
<name>The Apache Software Foundation</name>
|
2007-05-20 16:36:28 -04:00
|
|
|
<url>http://www.apache.org/</url>
|
|
|
|
</organization>
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache License</name>
|
|
|
|
<url>LICENSE.txt</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<issueManagement>
|
|
|
|
<system>Jira</system>
|
|
|
|
<url>http://issues.apache.org/jira/browse/HTTPCLIENT</url>
|
|
|
|
</issueManagement>
|
|
|
|
|
|
|
|
<scm>
|
2011-01-14 07:03:47 -05:00
|
|
|
<connection>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk</connection>
|
|
|
|
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk</developerConnection>
|
|
|
|
<url>https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk</url>
|
2007-05-20 16:36:28 -04:00
|
|
|
</scm>
|
|
|
|
|
2008-02-11 11:33:39 -05:00
|
|
|
<properties>
|
2009-02-22 13:42:25 -05:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2012-02-01 12:36:32 -05:00
|
|
|
<httpcore.version>4.2-beta1</httpcore.version>
|
2008-02-11 11:33:39 -05:00
|
|
|
<commons-logging.version>1.1.1</commons-logging.version>
|
2012-04-09 15:27:03 -04:00
|
|
|
<commons-codec.version>1.6</commons-codec.version>
|
2010-08-15 14:51:32 -04:00
|
|
|
<ehcache.version>2.2.0</ehcache.version>
|
2011-05-18 10:08:24 -04:00
|
|
|
<memcached.version>2.6</memcached.version>
|
2010-08-15 14:51:32 -04:00
|
|
|
<slf4j.version>1.5.11</slf4j.version>
|
2011-09-13 08:49:12 -04:00
|
|
|
<junit.version>4.9</junit.version>
|
2010-04-30 17:00:08 -04:00
|
|
|
<easymock.version>2.5.2</easymock.version>
|
2011-02-25 07:13:16 -05:00
|
|
|
<mockito.version>1.8.5</mockito.version>
|
2012-02-01 12:37:47 -05:00
|
|
|
<api.comparison.version>4.1</api.comparison.version>
|
2008-02-11 11:33:39 -05:00
|
|
|
</properties>
|
|
|
|
|
2011-05-18 10:08:24 -04:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spy</id>
|
|
|
|
<name>Spy Repository</name>
|
|
|
|
<layout>default</layout>
|
|
|
|
<url>http://files.couchbase.com/maven2/</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
2011-08-22 15:29:33 -04:00
|
|
|
|
2011-05-18 10:08:24 -04:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
<version>${httpcore.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<version>${commons-logging.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
<version>${commons-codec.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.ehcache</groupId>
|
|
|
|
<artifactId>ehcache-core</artifactId>
|
|
|
|
<version>${ehcache.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-jcl</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>spy</groupId>
|
|
|
|
<artifactId>spymemcached</artifactId>
|
|
|
|
<version>${memcached.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>${mockito.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
<artifactId>easymock</artifactId>
|
|
|
|
<version>${easymock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
<artifactId>easymockclassextension</artifactId>
|
|
|
|
<version>${easymock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2007-05-20 16:36:28 -04:00
|
|
|
<modules>
|
2009-03-01 11:36:52 -05:00
|
|
|
<module>httpclient</module>
|
|
|
|
<module>httpmime</module>
|
2010-04-30 17:00:08 -04:00
|
|
|
<module>httpclient-cache</module>
|
2011-08-22 15:29:33 -04:00
|
|
|
<module>fluent-hc</module>
|
2009-03-01 11:36:52 -05:00
|
|
|
<module>httpclient-osgi</module>
|
2007-05-20 16:36:28 -04:00
|
|
|
</modules>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2010-10-22 17:47:45 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-notice-plugin</artifactId>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-notice-license</id>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2010-11-11 05:36:55 -05:00
|
|
|
<configuration>
|
|
|
|
<projectTitle>Apache HttpComponents</projectTitle>
|
|
|
|
</configuration>
|
2010-10-22 17:47:45 -04:00
|
|
|
</plugin>
|
2011-01-07 18:43:27 -05:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
|
|
|
<Specification-Title>HttpComponents ${project.name}</Specification-Title>
|
|
|
|
<Specification-Version>${project.version}</Specification-Version>
|
|
|
|
<Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
|
|
|
|
<Implementation-Title>HttpComponents ${project.name}</Implementation-Title>
|
|
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
|
|
<Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
|
|
|
|
<Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
|
|
|
|
<url>${project.url}</url>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2008-05-06 14:00:39 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2011-01-07 17:28:13 -05:00
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<!-- Ensure source jars have full manifest entries (note: defaults aren't suitable) -->
|
|
|
|
<manifestEntries>
|
|
|
|
<Specification-Title>HttpComponents ${project.name}</Specification-Title>
|
|
|
|
<Specification-Version>${project.version}</Specification-Version>
|
|
|
|
<Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
|
|
|
|
<Implementation-Title>HttpComponents ${project.name}</Implementation-Title>
|
|
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
|
|
<Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
|
|
|
|
<Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
2008-05-06 14:00:39 -04:00
|
|
|
</plugin>
|
2007-05-20 16:36:28 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2012-02-01 12:38:12 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>javadoc-aggregate</id>
|
|
|
|
<goals>
|
|
|
|
<goal>aggregate</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>pre-site</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2008-12-02 14:14:41 -05:00
|
|
|
<configuration>
|
2012-02-01 12:38:12 -05:00
|
|
|
<!-- reduce console output. Can override with -Dquiet=false -->
|
|
|
|
<quiet>true</quiet>
|
2009-06-06 18:03:11 -04:00
|
|
|
<source>1.5</source>
|
|
|
|
<links>
|
2010-11-05 10:28:48 -04:00
|
|
|
<link>http://download.oracle.com/javase/1.5.0/docs/api/</link>
|
|
|
|
<link>http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/</link>
|
2009-06-06 18:03:11 -04:00
|
|
|
</links>
|
2008-12-02 14:14:41 -05:00
|
|
|
</configuration>
|
2007-05-20 16:36:28 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
</plugin>
|
2007-07-09 06:33:18 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
2008-12-02 14:14:41 -05:00
|
|
|
<descriptor>src/main/assembly/bin.xml</descriptor>
|
|
|
|
<descriptor>src/main/assembly/osgi-bin.xml</descriptor>
|
|
|
|
<descriptor>src/main/assembly/src.xml</descriptor>
|
2007-07-09 06:33:18 -04:00
|
|
|
</descriptors>
|
2008-12-02 14:14:41 -05:00
|
|
|
<tarLongFileMode>gnu</tarLongFileMode>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<inherited>false</inherited>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
2009-06-25 16:44:21 -04:00
|
|
|
<ant antfile="src/main/assembly/build.xml">
|
2008-12-02 14:14:41 -05:00
|
|
|
<property name="target" value="${project.build.directory}" />
|
2010-04-21 06:51:40 -04:00
|
|
|
<property name="package.name" value="${project.artifactId}-${project.version}-bin" />
|
2008-12-02 14:14:41 -05:00
|
|
|
</ant>
|
2009-06-25 16:44:21 -04:00
|
|
|
<ant antfile="src/main/assembly/build.xml">
|
2008-12-02 14:14:41 -05:00
|
|
|
<property name="target" value="${project.build.directory}" />
|
2010-04-21 06:51:40 -04:00
|
|
|
<property name="package.name" value="${project.artifactId}-${project.version}-osgi-bin" />
|
2008-12-02 14:14:41 -05:00
|
|
|
</ant>
|
2009-06-25 16:44:21 -04:00
|
|
|
<ant antfile="src/main/assembly/build.xml">
|
2008-12-02 14:14:41 -05:00
|
|
|
<property name="target" value="${project.build.directory}" />
|
2010-04-21 06:51:40 -04:00
|
|
|
<property name="package.name" value="${project.artifactId}-${project.version}-src" />
|
2008-12-02 14:14:41 -05:00
|
|
|
</ant>
|
|
|
|
</tasks>
|
2007-07-09 06:33:18 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2009-07-06 14:58:27 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.agilejava.docbkx</groupId>
|
|
|
|
<artifactId>docbkx-maven-plugin</artifactId>
|
2009-12-02 17:29:10 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.docbook</groupId>
|
|
|
|
<artifactId>docbook-xml</artifactId>
|
|
|
|
<version>4.4</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2012-02-01 12:38:12 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>tutorial-site</id>
|
|
|
|
<goals>
|
|
|
|
<goal>generate-html</goal>
|
|
|
|
<goal>generate-pdf</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>pre-site</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2009-07-06 14:58:27 -04:00
|
|
|
<configuration>
|
2009-12-02 17:29:10 -05:00
|
|
|
<includes>index.xml</includes>
|
|
|
|
<chunkedOutput>true</chunkedOutput>
|
|
|
|
<xincludeSupported>true</xincludeSupported>
|
|
|
|
<foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
|
|
|
|
<htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization>
|
|
|
|
<htmlStylesheet>css/hc-tutorial.css</htmlStylesheet>
|
|
|
|
<entities>
|
|
|
|
<entity>
|
|
|
|
<name>version</name>
|
2010-04-21 06:51:40 -04:00
|
|
|
<value>${project.version}</value>
|
2009-12-02 17:29:10 -05:00
|
|
|
</entity>
|
|
|
|
</entities>
|
2009-07-06 14:58:27 -04:00
|
|
|
<postProcess>
|
2012-02-01 12:38:12 -05:00
|
|
|
<copy todir="target/site/tutorial/html"
|
|
|
|
failonerror="false">
|
|
|
|
<fileset dir="target/docbkx/html/index">
|
2009-07-06 14:58:27 -04:00
|
|
|
<include name="**/*.html" />
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
2012-02-01 12:38:12 -05:00
|
|
|
<copy todir="target/site/tutorial/html"
|
|
|
|
failonerror="false">
|
2009-07-06 14:58:27 -04:00
|
|
|
<fileset dir="src/docbkx/resources">
|
|
|
|
<include name="**/*.css" />
|
|
|
|
<include name="**/*.png" />
|
|
|
|
<include name="**/*.gif" />
|
|
|
|
<include name="**/*.jpg" />
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
2012-02-01 12:38:12 -05:00
|
|
|
<copy file="target/docbkx/pdf/index.pdf"
|
|
|
|
tofile="target/site/tutorial/pdf/httpclient-tutorial.pdf"
|
|
|
|
failonerror="false"/>
|
2009-07-06 14:58:27 -04:00
|
|
|
</postProcess>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2010-11-03 12:14:53 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-resources</id>
|
|
|
|
<phase>pre-site</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target/site/examples</outputDirectory>
|
2010-11-05 10:28:48 -04:00
|
|
|
<resources>
|
2010-11-03 12:14:53 -04:00
|
|
|
<resource>
|
|
|
|
<directory>src/examples</directory>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
2010-11-05 10:28:48 -04:00
|
|
|
</resources>
|
|
|
|
</configuration>
|
2010-11-03 12:14:53 -04:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2010-12-13 12:53:59 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>clirr-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
2012-02-05 13:16:28 -05:00
|
|
|
<comparisonVersion>${api.comparison.version}</comparisonVersion>
|
2010-12-13 12:53:59 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2007-05-20 16:36:28 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
2011-09-10 23:28:11 -04:00
|
|
|
<version>${hc.project-info.version}</version>
|
2007-05-20 16:36:28 -04:00
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
2009-08-13 15:02:40 -04:00
|
|
|
<report>dependencies</report>
|
2007-05-20 16:36:28 -04:00
|
|
|
<report>project-team</report>
|
|
|
|
<report>issue-tracking</report>
|
|
|
|
<report>scm</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
|
2010-12-13 12:53:59 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>clirr-maven-plugin</artifactId>
|
2011-09-10 23:28:11 -04:00
|
|
|
<version>${hc.clirr.version}</version>
|
2010-12-13 12:53:59 -05:00
|
|
|
<configuration>
|
2012-02-01 12:37:47 -05:00
|
|
|
<comparisonVersion>${api.comparison.version}</comparisonVersion>
|
2010-12-13 12:53:59 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2007-05-20 16:36:28 -04:00
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
|
|
|
</project>
|