1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 ==================================================================== 4 Licensed to the Apache Software Foundation (ASF) under one 5 or more contributor license agreements. See the NOTICE file 6 distributed with this work for additional information 7 regarding copyright ownership. The ASF licenses this file 8 to you under the Apache License, Version 2.0 (the 9 "License"); you may not use this file except in compliance 10 with the License. You may obtain a copy of the License at 11 12 http://www.apache.org/licenses/LICENSE-2.0 13 14 Unless required by applicable law or agreed to in writing, 15 software distributed under the License is distributed on an 16 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 KIND, either express or implied. See the License for the 18 specific language governing permissions and limitations 19 under the License. 20 ==================================================================== 21 22 This software consists of voluntary contributions made by many 23 individuals on behalf of the Apache Software Foundation. For more 24 information on the Apache Software Foundation, please see 25 <http://www.apache.org />. 26 --> 27 <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"> 28 <parent> 29 <artifactId>project</artifactId> 30 <groupId>org.apache.httpcomponents</groupId> 31 <version>4.1.1</version> 32 <relativePath>../project/pom.xml</relativePath> 33 </parent> 34 <modelVersion>4.0.0</modelVersion> 35 <groupId>org.apache.httpcomponents</groupId> 36 <artifactId>httpcomponents-client</artifactId> 37 <name>HttpComponents Client</name> 38 <version>4.1.1</version> 39 <description>Components to build client side HTTP services</description> 40 <url>http://hc.apache.org/httpcomponents-client</url> 41 <inceptionYear>1999</inceptionYear> 42 <packaging>pom</packaging> 43 44 <organization> 45 <name>The Apache Software Foundation</name> 46 <url>http://www.apache.org/</url> 47 </organization> 48 49 <licenses> 50 <license> 51 <name>Apache License</name> 52 <url>LICENSE.txt</url> 53 <distribution>repo</distribution> 54 </license> 55 </licenses> 56 57 <issueManagement> 58 <system>Jira</system> 59 <url>http://issues.apache.org/jira/browse/HTTPCLIENT</url> 60 </issueManagement> 61 62 <scm> 63 <connection>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.1.1</connection> 64 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.1.1</developerConnection> 65 <url>https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.1.1</url> 66 </scm> 67 68 <properties> 69 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 70 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> 71 <httpcore.version>4.1</httpcore.version> 72 <commons-logging.version>1.1.1</commons-logging.version> 73 <commons-codec.version>1.4</commons-codec.version> 74 <ehcache.version>2.2.0</ehcache.version> 75 <slf4j.version>1.5.11</slf4j.version> 76 <junit.version>4.8.2</junit.version> 77 <easymock.version>2.5.2</easymock.version> 78 <mockito.version>1.8.5</mockito.version> 79 <comparisonVersion>4.1</comparisonVersion> 80 </properties> 81 82 <modules> 83 <module>httpclient</module> 84 <module>httpmime</module> 85 <module>httpclient-cache</module> 86 <module>httpclient-osgi</module> 87 </modules> 88 89 <build> 90 <plugins> 91 <plugin> 92 <artifactId>maven-notice-plugin</artifactId> 93 <groupId>org.apache.httpcomponents</groupId> 94 <executions> 95 <execution> 96 <id>attach-notice-license</id> 97 <goals> 98 <goal>generate</goal> 99 </goals> 100 </execution> 101 </executions> 102 <configuration> 103 <projectTitle>Apache HttpComponents</projectTitle> 104 </configuration> 105 </plugin> 106 <plugin> 107 <artifactId>maven-jar-plugin</artifactId> 108 <configuration> 109 <archive> 110 <manifestEntries> 111 <Specification-Title>HttpComponents ${project.name}</Specification-Title> 112 <Specification-Version>${project.version}</Specification-Version> 113 <Specification-Vendor>The Apache Software Foundation</Specification-Vendor> 114 <Implementation-Title>HttpComponents ${project.name}</Implementation-Title> 115 <Implementation-Version>${project.version}</Implementation-Version> 116 <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor> 117 <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id> 118 <url>${project.url}</url> 119 </manifestEntries> 120 </archive> 121 </configuration> 122 </plugin> 123 <plugin> 124 <artifactId>maven-source-plugin</artifactId> 125 <executions> 126 <execution> 127 <id>attach-sources</id> 128 <goals> 129 <goal>jar</goal> 130 </goals> 131 </execution> 132 </executions> 133 <configuration> 134 <archive> 135 <!-- Ensure source jars have full manifest entries (note: defaults aren't suitable) --> 136 <manifestEntries> 137 <Specification-Title>HttpComponents ${project.name}</Specification-Title> 138 <Specification-Version>${project.version}</Specification-Version> 139 <Specification-Vendor>The Apache Software Foundation</Specification-Vendor> 140 <Implementation-Title>HttpComponents ${project.name}</Implementation-Title> 141 <Implementation-Version>${project.version}</Implementation-Version> 142 <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor> 143 <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id> 144 </manifestEntries> 145 </archive> 146 </configuration> 147 </plugin> 148 <plugin> 149 <artifactId>maven-javadoc-plugin</artifactId> 150 <configuration> 151 <source>1.5</source> 152 <links> 153 <link>http://download.oracle.com/javase/1.5.0/docs/api/</link> 154 <link>http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/</link> 155 </links> 156 </configuration> 157 </plugin> 158 <plugin> 159 <artifactId>maven-site-plugin</artifactId> 160 </plugin> 161 <plugin> 162 <artifactId>maven-assembly-plugin</artifactId> 163 <configuration> 164 <descriptors> 165 <descriptor>src/main/assembly/bin.xml</descriptor> 166 <descriptor>src/main/assembly/osgi-bin.xml</descriptor> 167 <descriptor>src/main/assembly/src.xml</descriptor> 168 </descriptors> 169 <tarLongFileMode>gnu</tarLongFileMode> 170 </configuration> 171 </plugin> 172 <plugin> 173 <artifactId>maven-antrun-plugin</artifactId> 174 <inherited>false</inherited> 175 <configuration> 176 <tasks> 177 <ant antfile="src/main/assembly/build.xml"> 178 <property name="target" value="${project.build.directory}" /> 179 <property name="package.name" value="${project.artifactId}-${project.version}-bin" /> 180 </ant> 181 <ant antfile="src/main/assembly/build.xml"> 182 <property name="target" value="${project.build.directory}" /> 183 <property name="package.name" value="${project.artifactId}-${project.version}-osgi-bin" /> 184 </ant> 185 <ant antfile="src/main/assembly/build.xml"> 186 <property name="target" value="${project.build.directory}" /> 187 <property name="package.name" value="${project.artifactId}-${project.version}-src" /> 188 </ant> 189 </tasks> 190 </configuration> 191 </plugin> 192 <plugin> 193 <groupId>com.agilejava.docbkx</groupId> 194 <artifactId>docbkx-maven-plugin</artifactId> 195 <dependencies> 196 <dependency> 197 <groupId>org.docbook</groupId> 198 <artifactId>docbook-xml</artifactId> 199 <version>4.4</version> 200 <scope>runtime</scope> 201 </dependency> 202 </dependencies> 203 <configuration> 204 <includes>index.xml</includes> 205 <chunkedOutput>true</chunkedOutput> 206 <xincludeSupported>true</xincludeSupported> 207 <foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization> 208 <htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization> 209 <htmlStylesheet>css/hc-tutorial.css</htmlStylesheet> 210 <entities> 211 <entity> 212 <name>version</name> 213 <value>${project.version}</value> 214 </entity> 215 </entities> 216 <postProcess> 217 <copy todir="target/site/tutorial"> 218 <fileset dir="target/docbkx"> 219 <include name="**/*.html" /> 220 <include name="**/*.pdf" /> 221 </fileset> 222 </copy> 223 <copy todir="target/site/tutorial/html"> 224 <fileset dir="src/docbkx/resources"> 225 <include name="**/*.css" /> 226 <include name="**/*.png" /> 227 <include name="**/*.gif" /> 228 <include name="**/*.jpg" /> 229 </fileset> 230 </copy> 231 <move file="target/site/tutorial/pdf/index.pdf" tofile="target/site/tutorial/pdf/httpclient-tutorial.pdf" failonerror="false" /> 232 </postProcess> 233 </configuration> 234 </plugin> 235 <plugin> 236 <artifactId>maven-resources-plugin</artifactId> 237 <executions> 238 <execution> 239 <id>copy-resources</id> 240 <phase>pre-site</phase> 241 <goals> 242 <goal>copy-resources</goal> 243 </goals> 244 <configuration> 245 <outputDirectory>${basedir}/target/site/examples</outputDirectory> 246 <resources> 247 <resource> 248 <directory>src/examples</directory> 249 <filtering>false</filtering> 250 </resource> 251 </resources> 252 </configuration> 253 </execution> 254 </executions> 255 </plugin> 256 <plugin> 257 <groupId>org.codehaus.mojo</groupId> 258 <artifactId>clirr-maven-plugin</artifactId> 259 <configuration> 260 <comparisonVersion>${comparisonVersion}</comparisonVersion> 261 </configuration> 262 </plugin> 263 </plugins> 264 </build> 265 266 <reporting> 267 <plugins> 268 269 <plugin> 270 <artifactId>maven-project-info-reports-plugin</artifactId> 271 <reportSets> 272 <reportSet> 273 <reports> 274 <report>dependencies</report> 275 <report>project-team</report> 276 <report>mailing-list</report> 277 <report>issue-tracking</report> 278 <report>scm</report> 279 </reports> 280 </reportSet> 281 </reportSets> 282 </plugin> 283 284 <plugin> 285 <groupId>org.codehaus.mojo</groupId> 286 <artifactId>clirr-maven-plugin</artifactId> 287 <configuration> 288 <comparisonVersion>${comparisonVersion}</comparisonVersion> 289 </configuration> 290 </plugin> 291 292 </plugins> 293 </reporting> 294 295 </project> 296