2010-04-30 17:00:08 -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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcomponents-client</artifactId>
|
2010-11-20 13:17:57 -05:00
|
|
|
<version>4.1-beta2-SNAPSHOT</version>
|
2010-04-30 17:00:08 -04:00
|
|
|
</parent>
|
|
|
|
<artifactId>httpclient-cache</artifactId>
|
|
|
|
<name>HttpClient Cache</name>
|
|
|
|
<description>
|
|
|
|
HttpComponents HttpClient - Cache
|
|
|
|
</description>
|
|
|
|
<url>http://hc.apache.org/httpcomponents-client</url>
|
2010-08-15 14:51:32 -04:00
|
|
|
<packaging>jar</packaging>
|
2010-04-30 17:00:08 -04:00
|
|
|
|
2010-09-08 17:17:05 -04:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spy</id>
|
|
|
|
<name>Spy Repository</name>
|
|
|
|
<layout>default</layout>
|
|
|
|
<url>http://bleu.west.spy.net/~dustin/m2repo/</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
2010-04-30 17:00:08 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<version>${commons-logging.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>${junit.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>
|
2010-08-15 14:51:32 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.ehcache</groupId>
|
|
|
|
<artifactId>ehcache-core</artifactId>
|
|
|
|
<version>${ehcache.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-jcl</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2010-09-08 17:17:05 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>spy</groupId>
|
|
|
|
<artifactId>memcached</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2010-04-30 17:00:08 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<maven.compile.source>1.5</maven.compile.source>
|
|
|
|
<maven.compile.target>1.5</maven.compile.target>
|
|
|
|
<maven.compile.optimize>true</maven.compile.optimize>
|
|
|
|
<maven.compile.deprecation>true</maven.compile.deprecation>
|
2010-12-13 12:53:59 -05:00
|
|
|
<!-- cache was not present in 4.0; it first appeared in 4.1-alpha2 -->
|
|
|
|
<comparisonVersion>4.1-alpha2</comparisonVersion>
|
|
|
|
<!--
|
2010-12-13 13:51:55 -05:00
|
|
|
Allow separate override of cache version, e.g.
|
|
|
|
$ mvn clirr:clirr -DcomparisonVersion=4.1-alpha1 -Dcache.comparisonVersion=4.1-alpha2
|
2010-12-13 12:53:59 -05:00
|
|
|
-->
|
|
|
|
<cache.comparisonVersion>${comparisonVersion}</cache.comparisonVersion>
|
2010-04-30 17:00:08 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>${maven.compile.source}</source>
|
|
|
|
<target>${maven.compile.target}</target>
|
|
|
|
<optimize>${maven.compile.optimize}</optimize>
|
|
|
|
<showDeprecations>${maven.compile.deprecation}</showDeprecations>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
2010-12-06 11:27:43 -05:00
|
|
|
<Specification-Title>HttpComponents ${project.name}</Specification-Title>
|
2010-04-30 17:00:08 -04:00
|
|
|
<Specification-Version>${project.version}</Specification-Version>
|
|
|
|
<Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
|
2010-12-06 11:27:43 -05:00
|
|
|
<Implementation-Title>HttpComponents ${project.name}</Implementation-Title>
|
2010-04-30 17:00:08 -04:00
|
|
|
<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>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.atlassian.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clover2-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<flushPolicy>threaded</flushPolicy>
|
|
|
|
<flushInterval>100</flushInterval>
|
|
|
|
<targetPercentage>50%</targetPercentage>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>site</id>
|
|
|
|
<phase>pre-site</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>instrument</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2010-12-13 12:53:59 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>clirr-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<comparisonVersion>${cache.comparisonVersion}</comparisonVersion>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2010-04-30 17:00:08 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<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>
|
|
|
|
<link>http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/</link>
|
2010-04-30 17:00:08 -04:00
|
|
|
</links>
|
|
|
|
</configuration>
|
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>javadoc</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.atlassian.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clover2-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<jdk>1.5</jdk>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
|
|
|
</project>
|