Home | History | Annotate | Download | only in 4.4.4
      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  --><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">
     27   <modelVersion>4.0.0</modelVersion>
     28   <parent>
     29     <groupId>org.apache.httpcomponents</groupId>
     30     <artifactId>httpcomponents-core</artifactId>
     31     <version>4.4.4</version>
     32   </parent>
     33   <artifactId>httpcore</artifactId>
     34   <name>Apache HttpCore</name>
     35   <inceptionYear>2005</inceptionYear>
     36   <description>
     37    Apache HttpComponents Core (blocking I/O)
     38   </description>
     39   <url>http://hc.apache.org/httpcomponents-core-ga</url>
     40   <packaging>jar</packaging>
     41 
     42   <dependencies>
     43     <dependency>
     44       <groupId>junit</groupId>
     45       <artifactId>junit</artifactId>
     46       <scope>test</scope>
     47     </dependency>
     48     <dependency>
     49       <groupId>org.mockito</groupId>
     50       <artifactId>mockito-core</artifactId>
     51       <scope>test</scope>
     52     </dependency>
     53     <dependency>
     54       <groupId>commons-logging</groupId>
     55       <artifactId>commons-logging</artifactId>
     56       <scope>test</scope>
     57     </dependency>
     58   </dependencies>
     59 
     60   <build>
     61     <plugins>
     62       <plugin>
     63         <groupId>org.codehaus.mojo</groupId>
     64         <artifactId>build-helper-maven-plugin</artifactId>
     65         <version>1.8</version>
     66         <executions>
     67           <execution>
     68           <id>add-source</id>
     69           <phase>generate-sources</phase>
     70           <goals>
     71             <goal>add-source</goal>
     72           </goals>
     73           <configuration>
     74             <sources>
     75               <source>src/main/java-deprecated</source>
     76             </sources>
     77             </configuration>
     78           </execution>
     79         </executions>
     80       </plugin>
     81       <plugin>
     82         <groupId>org.apache.rat</groupId>
     83         <artifactId>apache-rat-plugin</artifactId>
     84         <executions>
     85           <execution>
     86             <phase>verify</phase>
     87             <goals>
     88               <goal>check</goal>
     89             </goals>
     90           </execution>
     91         </executions>
     92         <configuration>
     93           <excludes>
     94             <exclude>.externalToolBuilders/**</exclude>			
     95             <exclude>.pmd</exclude>			
     96             <exclude>maven-eclipse.xml</exclude>
     97           </excludes>
     98         </configuration>
     99       </plugin>
    100       <plugin>
    101           <groupId>org.apache.maven.plugins</groupId>
    102           <artifactId>maven-jar-plugin</artifactId>
    103           <version>2.6</version>
    104           <executions>
    105               <execution>
    106                   <goals>
    107                       <goal>test-jar</goal>
    108                   </goals>
    109               </execution>
    110           </executions>
    111       </plugin>
    112     </plugins>
    113     <resources>
    114       <resource>
    115         <directory>src/main/resources</directory>
    116         <filtering>true</filtering>
    117         <includes>
    118             <include>**/*.properties</include>
    119         </includes>
    120       </resource>
    121     </resources>
    122   </build>
    123 
    124   <reporting>
    125     <plugins>
    126 
    127       <plugin>
    128         <artifactId>maven-javadoc-plugin</artifactId>
    129         <version>${hc.javadoc.version}</version>
    130         <configuration>
    131           <!-- reduce console output. Can override with -Dquiet=false -->
    132           <quiet>true</quiet>
    133           <source>${maven.compiler.source}</source>
    134           <links>
    135             <link>http://docs.oracle.com/javase/6/docs/api/</link>
    136           </links>
    137         </configuration>
    138         <reportSets>
    139           <reportSet>
    140             <reports>
    141               <report>javadoc</report>
    142             </reports>
    143           </reportSet>
    144         </reportSets>
    145       </plugin>
    146 
    147       <plugin>
    148         <artifactId>maven-project-info-reports-plugin</artifactId>
    149         <version>${hc.project-info.version}</version>
    150         <inherited>false</inherited>
    151         <reportSets>
    152           <reportSet>
    153             <reports>
    154               <report>dependencies</report>
    155               <report>dependency-info</report>
    156               <report>summary</report>
    157             </reports>
    158           </reportSet>
    159         </reportSets>
    160       </plugin>
    161 
    162       <plugin>
    163         <artifactId>maven-jxr-plugin</artifactId>
    164         <version>${hc.jxr.version}</version>
    165       </plugin>
    166 
    167       <plugin>
    168         <artifactId>maven-surefire-report-plugin</artifactId>
    169         <version>${hc.surefire-report.version}</version>
    170       </plugin>
    171 
    172     </plugins>
    173   </reporting>
    174 
    175 </project>
    176