Home | History | Annotate | Download | only in 4.1.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 
     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.1.1</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   <dependencies>
     44     <dependency>
     45       <groupId>org.apache.httpcomponents</groupId>
     46       <artifactId>httpcore</artifactId>
     47       <version>${httpcore.version}</version>
     48       <scope>compile</scope>
     49     </dependency>
     50     <dependency>
     51       <groupId>commons-logging</groupId>
     52       <artifactId>commons-logging</artifactId>
     53       <version>${commons-logging.version}</version>
     54       <scope>compile</scope>
     55     </dependency>
     56     <dependency>
     57       <groupId>commons-codec</groupId>
     58       <artifactId>commons-codec</artifactId>
     59       <version>${commons-codec.version}</version>
     60       <scope>compile</scope>
     61     </dependency>
     62     <dependency>
     63       <groupId>junit</groupId>
     64       <artifactId>junit</artifactId>
     65       <version>${junit.version}</version>
     66       <scope>test</scope>
     67     </dependency>
     68     <dependency>
     69       <groupId>org.mockito</groupId>
     70       <artifactId>mockito-core</artifactId>
     71       <version>${mockito.version}</version>
     72       <scope>test</scope>
     73     </dependency>
     74   </dependencies>
     75 
     76   <properties>
     77     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     78     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     79     <maven.compile.source>1.5</maven.compile.source>
     80     <maven.compile.target>1.5</maven.compile.target>
     81     <maven.compile.optimize>true</maven.compile.optimize>
     82     <maven.compile.deprecation>true</maven.compile.deprecation>
     83   </properties>
     84 
     85   <build>
     86     <resources>
     87       <resource>
     88         <directory>src/main/resources</directory>
     89         <filtering>true</filtering>
     90         <includes>
     91             <include>**/*.properties</include>
     92         </includes>
     93       </resource>
     94     </resources>
     95     <plugins>
     96       <plugin>
     97         <groupId>org.apache.maven.plugins</groupId>
     98         <artifactId>maven-compiler-plugin</artifactId>
     99         <configuration>
    100           <source>${maven.compile.source}</source>
    101           <target>${maven.compile.target}</target>
    102           <optimize>${maven.compile.optimize}</optimize>
    103           <showDeprecations>${maven.compile.deprecation}</showDeprecations>
    104         </configuration>
    105       </plugin>
    106       <plugin>
    107         <artifactId>maven-surefire-plugin</artifactId>
    108       </plugin>
    109       <plugin>
    110         <artifactId>maven-jar-plugin</artifactId>
    111         <executions>
    112           <execution>
    113             <goals>
    114               <goal>test-jar</goal>
    115             </goals>
    116           </execution>
    117         </executions>
    118       </plugin>
    119       <plugin>
    120         <groupId>com.atlassian.maven.plugins</groupId>
    121         <artifactId>maven-clover2-plugin</artifactId>
    122         <configuration>
    123           <flushPolicy>threaded</flushPolicy>
    124           <flushInterval>100</flushInterval>
    125           <targetPercentage>50%</targetPercentage>
    126         </configuration>
    127         <executions>
    128           <execution>
    129             <id>site</id>
    130             <phase>pre-site</phase>
    131             <goals>
    132               <goal>instrument</goal>
    133             </goals>
    134           </execution>
    135         </executions>
    136       </plugin>
    137     </plugins>
    138   </build>
    139 
    140   <reporting>
    141     <plugins>
    142 
    143       <plugin>
    144         <artifactId>maven-javadoc-plugin</artifactId>
    145         <configuration>
    146           <!-- reduce console output. Can override with -Dquiet=false -->
    147           <quiet>true</quiet>
    148           <source>1.5</source>
    149           <links>
    150             <link>http://download.oracle.com/javase/1.5.0/docs/api/</link>
    151             <link>http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/</link>
    152           </links>
    153         </configuration>
    154         <reportSets>
    155           <reportSet>
    156             <reports>
    157               <report>javadoc</report>
    158             </reports>
    159           </reportSet>
    160         </reportSets>
    161       </plugin>
    162 
    163       <plugin>
    164         <groupId>com.atlassian.maven.plugins</groupId>
    165         <artifactId>maven-clover2-plugin</artifactId>
    166         <version>${clover.version}</version>
    167         <configuration>
    168           <jdk>1.5</jdk>
    169         </configuration>
    170       </plugin>
    171 
    172       <plugin>
    173         <artifactId>maven-jxr-plugin</artifactId>
    174       </plugin>
    175 
    176       <plugin>
    177         <artifactId>maven-surefire-report-plugin</artifactId>
    178       </plugin>
    179 
    180     </plugins>
    181   </reporting>
    182 
    183 </project>
    184