Home | History | Annotate | Download | only in lib
      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 
     28 <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">
     29   <modelVersion>4.0.0</modelVersion>
     30   <parent>
     31     <groupId>org.apache.httpcomponents</groupId>
     32     <artifactId>httpcomponents-client</artifactId>
     33     <version>4.0.3</version>
     34   </parent>
     35   <artifactId>httpclient</artifactId>
     36   <name>HttpClient</name>
     37   <description>
     38    HttpComponents Client (base module)
     39   </description>
     40   <url>http://hc.apache.org/httpcomponents-client</url>
     41   <packaging>jar</packaging>  
     42 
     43   <licenses>
     44     <license>
     45       <name>Apache License</name>
     46       <url>../LICENSE.txt</url>
     47       <distribution>repo</distribution>
     48     </license>
     49   </licenses>
     50 
     51   <dependencies>
     52     <dependency>
     53       <groupId>org.apache.httpcomponents</groupId>
     54       <artifactId>httpcore</artifactId>
     55       <version>${httpcore.version}</version>
     56     </dependency>
     57     <dependency>
     58       <groupId>commons-logging</groupId>
     59       <artifactId>commons-logging</artifactId>
     60       <version>${commons-logging.version}</version>
     61     </dependency>
     62     <dependency>
     63       <groupId>commons-codec</groupId>
     64       <artifactId>commons-codec</artifactId>
     65       <version>${commons-codec.version}</version>
     66     </dependency>
     67     <dependency>
     68       <groupId>junit</groupId>
     69       <artifactId>junit</artifactId>
     70       <version>${junit.version}</version>
     71       <scope>test</scope>
     72     </dependency>
     73   </dependencies>
     74 
     75   <properties>
     76     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     77     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     78     <maven.compile.source>1.5</maven.compile.source>
     79     <maven.compile.target>1.5</maven.compile.target>
     80     <maven.compile.optimize>true</maven.compile.optimize>
     81     <maven.compile.deprecation>true</maven.compile.deprecation>
     82   </properties>
     83 
     84   <build>
     85     <resources>
     86       <resource>
     87         <directory>src/main/resources</directory>
     88         <filtering>false</filtering>
     89         <includes>
     90             <include>META-INF/*</include>
     91         </includes>
     92       </resource>
     93       <resource>
     94         <directory>src/main/resources</directory>
     95         <filtering>true</filtering>
     96         <includes>
     97             <include>**/*.properties</include>
     98         </includes>
     99       </resource>
    100       <resource>
    101         <directory>..</directory>
    102         <targetPath>META-INF</targetPath>
    103         <includes>
    104           <include>LICENSE.txt</include>
    105         </includes>
    106       </resource>
    107       <resource>
    108         <directory>../src/main/resources</directory>
    109         <targetPath>META-INF</targetPath>
    110         <filtering>true</filtering>
    111         <includes>
    112           <include>NOTICE.txt</include>
    113         </includes>
    114       </resource>
    115     </resources>
    116     <testResources>
    117       <testResource>
    118         <directory>src/test/resources</directory>
    119         <filtering>false</filtering>
    120         <includes>
    121             <include>*</include>
    122         </includes>
    123       </testResource>
    124       <testResource>
    125         <directory>..</directory>
    126         <targetPath>META-INF</targetPath>
    127         <includes>
    128           <include>LICENSE.txt</include>
    129         </includes>
    130       </testResource>
    131       <testResource>
    132         <directory>../src/main/resources</directory>
    133         <targetPath>META-INF</targetPath>
    134         <filtering>true</filtering>
    135         <includes>
    136           <include>NOTICE.txt</include>
    137         </includes>
    138       </testResource>
    139     </testResources>
    140     <plugins>
    141       <plugin>
    142         <groupId>org.apache.maven.plugins</groupId>
    143         <artifactId>maven-compiler-plugin</artifactId>
    144         <configuration>
    145           <source>${maven.compile.source}</source>
    146           <target>${maven.compile.target}</target>
    147           <optimize>${maven.compile.optimize}</optimize>
    148           <showDeprecations>${maven.compile.deprecation}</showDeprecations>
    149         </configuration>
    150       </plugin>
    151       <plugin>
    152         <artifactId>maven-surefire-plugin</artifactId>
    153       </plugin>
    154       <plugin>
    155         <artifactId>maven-jar-plugin</artifactId>
    156         <configuration>
    157           <archive>
    158             <manifestEntries>
    159               <Specification-Title>HttpComponents HttpClient</Specification-Title>
    160               <Specification-Version>${pom.version}</Specification-Version>
    161               <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
    162               <Implementation-Title>HttpComponents HttpClient</Implementation-Title>
    163               <Implementation-Version>${pom.version}</Implementation-Version>
    164               <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
    165               <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
    166               <url>${pom.url}</url>
    167             </manifestEntries>
    168           </archive>
    169         </configuration>
    170         <executions>
    171           <execution>
    172             <goals>
    173               <goal>test-jar</goal>
    174             </goals>
    175           </execution>
    176         </executions>
    177       </plugin>
    178     </plugins>
    179   </build>
    180 
    181   <reporting>
    182     <plugins>
    183 
    184       <plugin>
    185         <artifactId>maven-javadoc-plugin</artifactId>
    186         <configuration>
    187           <source>1.5</source>
    188           <links>
    189             <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
    190             <link>http://hc.apache.org/httpcomponents-core/httpcore/apidocs/</link>
    191           </links>
    192         </configuration>
    193         <reportSets>
    194           <reportSet>
    195             <reports>
    196               <report>javadoc</report>
    197             </reports>
    198           </reportSet>
    199         </reportSets>
    200       </plugin>
    201 
    202       <plugin>
    203         <groupId>com.atlassian.maven.plugins</groupId>
    204         <artifactId>maven-clover2-plugin</artifactId>
    205         <configuration>
    206           <jdk>1.5</jdk>
    207         </configuration>
    208       </plugin>
    209 
    210       <plugin>
    211         <groupId>org.codehaus.mojo</groupId>
    212         <artifactId>clirr-maven-plugin</artifactId>
    213         <configuration>
    214           <comparisonVersion>4.0</comparisonVersion>
    215         </configuration>
    216       </plugin>
    217 
    218       <plugin>
    219         <artifactId>maven-jxr-plugin</artifactId>
    220       </plugin>
    221 
    222       <plugin>
    223         <artifactId>maven-surefire-report-plugin</artifactId>
    224       </plugin>
    225 
    226     </plugins>
    227   </reporting>
    228 
    229 </project>
    230