2007-05-20 16:36:28 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
====================================================================
|
|
|
|
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>
|
|
|
|
<version>4.0</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>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
2007-06-23 16:52:31 -04:00
|
|
|
<artifactId>httpcomponents-client</artifactId>
|
2007-05-20 16:36:28 -04:00
|
|
|
<name>HttpComponents Client</name>
|
2009-08-06 14:25:57 -04:00
|
|
|
<version>4.0</version>
|
2007-05-20 16:36:28 -04:00
|
|
|
<description>Components to build 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>
|
|
|
|
<name>Apache Software Foundation</name>
|
|
|
|
<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>
|
2009-08-06 14:25:57 -04:00
|
|
|
<connection>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.0</connection>
|
|
|
|
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.0</developerConnection>
|
|
|
|
<url>https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.0</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>
|
2009-06-21 09:49:18 -04:00
|
|
|
<httpcore.version>4.0.1</httpcore.version>
|
2008-02-11 11:33:39 -05:00
|
|
|
<commons-logging.version>1.1.1</commons-logging.version>
|
|
|
|
<commons-codec.version>1.3</commons-codec.version>
|
2009-03-06 08:50:50 -05:00
|
|
|
<mime4j.version>0.6</mime4j.version>
|
2008-04-27 17:29:04 -04:00
|
|
|
<junit.version>3.8.2</junit.version>
|
2008-02-11 11:33:39 -05:00
|
|
|
</properties>
|
|
|
|
|
2007-05-20 16:36:28 -04:00
|
|
|
<modules>
|
2009-03-01 11:36:52 -05:00
|
|
|
<module>httpclient</module>
|
|
|
|
<module>httpmime</module>
|
|
|
|
<module>httpclient-osgi</module>
|
2007-05-20 16:36:28 -04:00
|
|
|
</modules>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2009-02-22 13:48:08 -05:00
|
|
|
<!-- Add NOTICE and LICENSE to generated JAR -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>process</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<resourceBundles>
|
|
|
|
<resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
|
|
|
|
</resourceBundles>
|
|
|
|
<properties>
|
|
|
|
<addLicense>true</addLicense>
|
|
|
|
</properties>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</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>
|
|
|
|
</plugin>
|
2007-05-20 16:36:28 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2008-12-02 14:14:41 -05:00
|
|
|
<configuration>
|
2009-06-06 18:03:11 -04:00
|
|
|
<source>1.5</source>
|
|
|
|
<links>
|
|
|
|
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
|
|
|
|
<link>http://hc.apache.org/httpcomponents-core/httpcore/apidocs/</link>
|
|
|
|
<link>http://james.apache.org/mime4j/apidocs/</link>
|
|
|
|
</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>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<configuration>
|
2007-12-17 08:54:38 -05:00
|
|
|
<tagBase>https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/</tagBase>
|
2007-05-20 16:36:28 -04:00
|
|
|
</configuration>
|
|
|
|
</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/bin-with-deps.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}" />
|
2009-06-25 16:44:21 -04:00
|
|
|
<property name="package.name" value="${pom.artifactId}-${pom.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}" />
|
2009-06-25 16:44:21 -04:00
|
|
|
<property name="package.name" value="${pom.artifactId}-${pom.version}-bin-with-dependencies" />
|
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}" />
|
2009-06-25 16:44:21 -04:00
|
|
|
<property name="package.name" value="${pom.artifactId}-${pom.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}" />
|
2009-06-25 16:44:21 -04:00
|
|
|
<property name="package.name" value="${pom.artifactId}-${pom.version}-src" />
|
2008-12-02 14:14:41 -05:00
|
|
|
</ant>
|
|
|
|
</tasks>
|
2007-07-09 06:33:18 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2007-05-20 16:36:28 -04:00
|
|
|
<plugin>
|
2009-02-24 18:00:54 -05:00
|
|
|
<groupId>com.atlassian.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clover2-plugin</artifactId>
|
2007-05-20 16:36:28 -04:00
|
|
|
<configuration>
|
|
|
|
<flushPolicy>threaded</flushPolicy>
|
|
|
|
<flushInterval>100</flushInterval>
|
|
|
|
<targetPercentage>50%</targetPercentage>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>site</id>
|
|
|
|
<phase>pre-site</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>instrument</goal>
|
|
|
|
<goal>aggregate</goal>
|
2009-02-24 18:00:54 -05:00
|
|
|
<goal>save-history</goal>
|
2007-05-20 16:36:28 -04:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2009-07-06 14:58:27 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.agilejava.docbkx</groupId>
|
|
|
|
<artifactId>docbkx-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>generate-html</goal>
|
|
|
|
<goal>generate-pdf</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>pre-site</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.docbook</groupId>
|
|
|
|
<artifactId>docbook-xml</artifactId>
|
|
|
|
<version>4.4</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<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>
|
|
|
|
<value>${pom.version}</value>
|
|
|
|
</entity>
|
|
|
|
</entities>
|
|
|
|
<postProcess>
|
|
|
|
<copy todir="target/site/tutorial">
|
|
|
|
<fileset dir="target/docbkx">
|
|
|
|
<include name="**/*.html" />
|
|
|
|
<include name="**/*.pdf" />
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
<copy todir="target/site/tutorial/html">
|
|
|
|
<fileset dir="src/docbkx/resources">
|
|
|
|
<include name="**/*.css" />
|
|
|
|
<include name="**/*.png" />
|
|
|
|
<include name="**/*.gif" />
|
|
|
|
<include name="**/*.jpg" />
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
<move file="target/site/tutorial/pdf/index.pdf" tofile="target/site/tutorial/pdf/httpclient-tutorial.pdf" failonerror="false" />
|
|
|
|
</postProcess>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2007-05-20 16:36:28 -04:00
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>project-team</report>
|
|
|
|
<report>mailing-list</report>
|
|
|
|
<report>issue-tracking</report>
|
|
|
|
<report>scm</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
|
|
|
</project>
|