Home | History | Annotate | Download | only in 4.1
      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</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</connection>
     64     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.1</developerConnection>
     65     <url>https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.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     <comparisonVersion>4.0</comparisonVersion>
     79   </properties>
     80 
     81   <modules>
     82     <module>httpclient</module>
     83     <module>httpmime</module>
     84     <module>httpclient-cache</module>
     85     <module>httpclient-osgi</module>
     86   </modules>
     87 
     88   <build>
     89     <plugins>
     90       <plugin>
     91         <artifactId>maven-notice-plugin</artifactId>
     92         <groupId>org.apache.httpcomponents</groupId>
     93         <executions>
     94           <execution>
     95             <id>attach-notice-license</id>
     96             <goals>
     97               <goal>generate</goal>
     98             </goals>
     99           </execution>
    100         </executions>
    101         <configuration>
    102           <projectTitle>Apache HttpComponents</projectTitle>
    103         </configuration>
    104       </plugin>
    105       <plugin>
    106         <artifactId>maven-jar-plugin</artifactId>
    107         <configuration>
    108           <archive>
    109             <manifestEntries>
    110               <Specification-Title>HttpComponents ${project.name}</Specification-Title>
    111               <Specification-Version>${project.version}</Specification-Version>
    112               <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
    113               <Implementation-Title>HttpComponents ${project.name}</Implementation-Title>
    114               <Implementation-Version>${project.version}</Implementation-Version>
    115               <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
    116               <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
    117               <url>${project.url}</url>
    118             </manifestEntries>
    119           </archive>
    120         </configuration>
    121       </plugin>
    122       <plugin>
    123         <artifactId>maven-source-plugin</artifactId>
    124         <executions>
    125           <execution>
    126             <id>attach-sources</id>
    127             <goals>
    128               <goal>jar</goal>
    129             </goals>
    130           </execution>
    131         </executions>
    132         <configuration>
    133           <archive>
    134             <!-- Ensure source jars have full manifest entries (note: defaults aren't suitable) -->
    135             <manifestEntries>
    136               <Specification-Title>HttpComponents ${project.name}</Specification-Title>
    137               <Specification-Version>${project.version}</Specification-Version>
    138               <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
    139               <Implementation-Title>HttpComponents ${project.name}</Implementation-Title>
    140               <Implementation-Version>${project.version}</Implementation-Version>
    141               <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
    142               <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
    143             </manifestEntries>
    144           </archive>
    145         </configuration>
    146       </plugin>
    147       <plugin>
    148         <artifactId>maven-javadoc-plugin</artifactId>
    149         <configuration>
    150           <source>1.5</source>
    151           <links>
    152             <link>http://download.oracle.com/javase/1.5.0/docs/api/</link>
    153             <link>http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/</link>
    154           </links>
    155         </configuration>
    156       </plugin>
    157       <plugin>
    158         <artifactId>maven-site-plugin</artifactId>
    159       </plugin>
    160       <plugin>
    161         <artifactId>maven-assembly-plugin</artifactId>
    162         <configuration>
    163           <descriptors>
    164             <descriptor>src/main/assembly/bin.xml</descriptor>
    165             <descriptor>src/main/assembly/osgi-bin.xml</descriptor>
    166             <descriptor>src/main/assembly/src.xml</descriptor>
    167           </descriptors>
    168           <tarLongFileMode>gnu</tarLongFileMode>
    169         </configuration>
    170       </plugin>
    171       <plugin>
    172         <artifactId>maven-antrun-plugin</artifactId>
    173         <inherited>false</inherited>
    174         <configuration>
    175           <tasks>
    176             <ant antfile="src/main/assembly/build.xml">
    177               <property name="target" value="${project.build.directory}" />
    178               <property name="package.name" value="${project.artifactId}-${project.version}-bin" />
    179             </ant>
    180             <ant antfile="src/main/assembly/build.xml">
    181               <property name="target" value="${project.build.directory}" />
    182               <property name="package.name" value="${project.artifactId}-${project.version}-osgi-bin" />
    183             </ant>
    184             <ant antfile="src/main/assembly/build.xml">
    185               <property name="target" value="${project.build.directory}" />
    186               <property name="package.name" value="${project.artifactId}-${project.version}-src" />
    187             </ant>
    188           </tasks>
    189         </configuration>
    190       </plugin>
    191       <plugin>
    192         <groupId>com.agilejava.docbkx</groupId>
    193         <artifactId>docbkx-maven-plugin</artifactId>
    194         <dependencies>
    195           <dependency>
    196             <groupId>org.docbook</groupId>
    197             <artifactId>docbook-xml</artifactId>
    198             <version>4.4</version>
    199             <scope>runtime</scope>
    200           </dependency>
    201         </dependencies>
    202         <configuration>
    203           <includes>index.xml</includes>
    204           <chunkedOutput>true</chunkedOutput>
    205           <xincludeSupported>true</xincludeSupported>
    206           <foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
    207           <htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization>
    208           <htmlStylesheet>css/hc-tutorial.css</htmlStylesheet>
    209           <entities>
    210             <entity>
    211               <name>version</name>
    212               <value>${project.version}</value>
    213             </entity>
    214           </entities>
    215           <postProcess>
    216             <copy todir="target/site/tutorial">
    217               <fileset dir="target/docbkx">
    218                 <include name="**/*.html" />
    219                 <include name="**/*.pdf" />
    220               </fileset>
    221             </copy>
    222             <copy todir="target/site/tutorial/html">
    223               <fileset dir="src/docbkx/resources">
    224                 <include name="**/*.css" />
    225                 <include name="**/*.png" />
    226                 <include name="**/*.gif" />
    227                 <include name="**/*.jpg" />
    228               </fileset>
    229             </copy>
    230             <move file="target/site/tutorial/pdf/index.pdf" tofile="target/site/tutorial/pdf/httpclient-tutorial.pdf" failonerror="false" />
    231           </postProcess>
    232         </configuration>
    233       </plugin>
    234         <plugin>
    235           <artifactId>maven-resources-plugin</artifactId>
    236           <executions>
    237             <execution>
    238               <id>copy-resources</id>
    239               <phase>pre-site</phase>
    240               <goals>
    241                 <goal>copy-resources</goal>
    242               </goals>
    243               <configuration>
    244                 <outputDirectory>${basedir}/target/site/examples</outputDirectory>
    245                 <resources>
    246                   <resource>
    247                     <directory>src/examples</directory>
    248                     <filtering>false</filtering>
    249                   </resource>
    250                 </resources>
    251               </configuration>
    252             </execution>
    253           </executions>
    254         </plugin>
    255       <plugin>
    256         <groupId>org.codehaus.mojo</groupId>
    257         <artifactId>clirr-maven-plugin</artifactId>
    258         <configuration>
    259           <comparisonVersion>${comparisonVersion}</comparisonVersion>
    260         </configuration>
    261       </plugin>
    262     </plugins>
    263   </build>
    264 
    265   <reporting>
    266     <plugins>
    267 
    268        <plugin>
    269          <artifactId>maven-project-info-reports-plugin</artifactId>
    270          <reportSets>
    271            <reportSet>
    272              <reports>
    273                <report>dependencies</report>
    274                <report>project-team</report>
    275                <report>mailing-list</report>
    276                <report>issue-tracking</report>
    277                <report>scm</report>
    278              </reports>
    279            </reportSet>
    280          </reportSets>
    281       </plugin>
    282 
    283       <plugin>
    284         <groupId>org.codehaus.mojo</groupId>
    285         <artifactId>clirr-maven-plugin</artifactId>
    286         <configuration>
    287           <comparisonVersion>${comparisonVersion}</comparisonVersion>
    288         </configuration>
    289       </plugin>
    290 
    291     </plugins>
    292   </reporting>
    293 
    294 </project>
    295