httpcomponents-client/pom.xml

431 lines
16 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!--
====================================================================
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
====================================================================
This software consists of voluntary contributions made by many
individuals on behalf of the Apache Software Foundation. For more
information on the Apache Software Foundation, please see
<http://www.apache.org />.
2021-01-09 15:51:14 -05:00
--><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/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcomponents-parent</artifactId>
2024-10-01 05:12:40 -04:00
<version>14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5-parent</artifactId>
<name>Apache HttpComponents Client Parent</name>
<version>5.5-alpha1-SNAPSHOT</version>
<description>Apache HttpComponents Client is a library of components for building client side HTTP services</description>
<url>https://hc.apache.org/httpcomponents-client-5.5.x/${project.version}/</url>
<inceptionYear>1999</inceptionYear>
<packaging>pom</packaging>
<issueManagement>
<system>Jira</system>
2020-09-21 04:51:10 -04:00
<url>https://issues.apache.org/jira/browse/HTTPCLIENT</url>
</issueManagement>
<scm>
2020-09-21 04:58:51 -04:00
<connection>scm:git:https://gitbox.apache.org/repos/asf/httpcomponents-client.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/httpcomponents-client.git</developerConnection>
2017-05-17 08:37:06 -04:00
<url>https://github.com/apache/httpcomponents-client/tree/${project.scm.tag}</url>
<tag>5.5-alpha1-SNAPSHOT</tag>
</scm>
<distributionManagement>
<site>
<id>apache.website</id>
<name>Apache HttpComponents Website</name>
<url>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/site/components/httpcomponents-client-5.5.x/LATEST/</url>
</site>
</distributionManagement>
<properties>
2020-12-20 09:22:42 -05:00
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
2024-09-12 08:51:22 -04:00
<httpcore.version>5.3</httpcore.version>
<log4j.version>2.23.1</log4j.version>
2022-05-18 09:18:25 -04:00
<brotli.version>0.1.2</brotli.version>
<conscrypt.version>2.5.2</conscrypt.version>
<ehcache.version>3.10.8</ehcache.version>
2017-10-19 09:52:50 -04:00
<memcached.version>2.12.3</memcached.version>
<slf4j.version>1.7.36</slf4j.version>
<junit.version>5.11.0</junit.version>
<hamcrest.version>3.0</hamcrest.version>
<mockito.version>4.11.0</mockito.version>
<hc.stylecheck.version>1</hc.stylecheck.version>
<rxjava.version>2.2.21</rxjava.version>
<api.comparison.version>5.3</api.comparison.version>
<hc.animal-sniffer.signature.ignores>javax.net.ssl.SSLEngine,javax.net.ssl.SSLParameters,java.nio.ByteBuffer,java.nio.CharBuffer</hc.animal-sniffer.signature.ignores>
<japicmp.version>0.15.4</japicmp.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
<artifactId>httpcore5</artifactId>
<version>${httpcore.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
<artifactId>httpcore5-h2</artifactId>
<version>${httpcore.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
<artifactId>httpcore5-testing</artifactId>
<version>${httpcore.version}</version>
</dependency>
2018-10-18 05:27:21 -04:00
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
<artifactId>httpcore5-reactive</artifactId>
<version>${httpcore.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5-cache</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5-fluent</artifactId>
<version>${project.version}</version>
</dependency>
2018-01-10 04:59:00 -05:00
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
2018-01-10 04:59:00 -05:00
<artifactId>log4j-slf4j-impl</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
2018-01-10 04:59:00 -05:00
<artifactId>log4j-core</artifactId>
<version>${log4j.version}</version>
</dependency>
2022-05-18 09:18:25 -04:00
<dependency>
<groupId>org.brotli</groupId>
<artifactId>dec</artifactId>
<version>${brotli.version}</version>
</dependency>
<dependency>
<groupId>org.conscrypt</groupId>
<artifactId>conscrypt-openjdk-uber</artifactId>
<version>${conscrypt.version}</version>
</dependency>
<dependency>
2017-10-19 09:49:57 -04:00
<groupId>org.ehcache.modules</groupId>
<artifactId>ehcache-api</artifactId>
<version>${ehcache.version}</version>
</dependency>
<dependency>
<groupId>net.spy</groupId>
<artifactId>spymemcached</artifactId>
<version>${memcached.version}</version>
</dependency>
<dependency>
<groupId>io.reactivex.rxjava2</groupId>
<artifactId>rxjava</artifactId>
<version>${rxjava.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${junit.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<modules>
<module>httpclient5</module>
<module>httpclient5-fluent</module>
<module>httpclient5-cache</module>
<module>httpclient5-testing</module>
</modules>
<build>
<defaultGoal>clean verify</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>${Automatic-Module-Name}</Automatic-Module-Name>
<Implementation-URL>${project.url}</Implementation-URL>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<links>
2023-08-20 04:56:20 -04:00
<link>https://hc.apache.org/httpcomponents-core-5.0.x/httpcore5/apidocs/</link>
<link>https://hc.apache.org/httpcomponents-core-5.0.x/httpcore5-h2/apidocs/</link>
2020-09-21 05:15:47 -04:00
<link>${project.url}/httpclient5/apidocs/</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>validate-main</id>
<phase>validate</phase>
<configuration>
<configLocation>hc-stylecheck/default.xml</configLocation>
<headerLocation>hc-stylecheck/asl2.header</headerLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
<sourceDirectories>
<sourceDirectory>${basedir}/src/main</sourceDirectory>
</sourceDirectories>
</configuration>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
<execution>
<id>validate-test</id>
<phase>validate</phase>
<configuration>
<configLocation>hc-stylecheck/default.xml</configLocation>
<headerLocation>hc-stylecheck/asl2.header</headerLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
<sourceDirectories>
<sourceDirectory>${basedir}/src/test</sourceDirectory>
</sourceDirectories>
</configuration>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
</executions>
</plugin>
2020-02-22 08:18:17 -05:00
<plugin>
2020-12-21 13:14:25 -05:00
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
2020-02-22 08:18:17 -05:00
<configuration>
2020-12-21 13:14:25 -05:00
<oldVersion>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${api.comparison.version}</version>
<type>jar</type>
</dependency>
</oldVersion>
<newVersion>
<file>
<path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
</file>
</newVersion>
<parameter>
<breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
<breakBuildOnSourceIncompatibleModifications>true</breakBuildOnSourceIncompatibleModifications>
<overrideCompatibilityChangeParameters>
<overrideCompatibilityChangeParameter>
<compatibilityChange>METHOD_NEW_DEFAULT</compatibilityChange>
<binaryCompatible>true</binaryCompatible>
<sourceCompatible>true</sourceCompatible>
</overrideCompatibilityChangeParameter>
</overrideCompatibilityChangeParameters>
<excludes>
<exclude>@org.apache.hc.core5.annotation.Internal</exclude>
</excludes>
<ignoreMissingClasses>true</ignoreMissingClasses>
2020-12-21 13:14:25 -05:00
</parameter>
2020-02-22 08:18:17 -05:00
</configuration>
2020-12-21 13:14:25 -05:00
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>cmp</goal>
</goals>
</execution>
</executions>
2020-02-22 08:18:17 -05:00
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<excludes>
<exclude>src/docbkx/resources/**</exclude>
<exclude>src/test/resources/*.truststore</exclude>
<exclude>src/test/resources/*.serialized</exclude>
<exclude>.checkstyle</exclude>
<exclude>.externalToolBuilders/**</exclude>
<exclude>maven-eclipse.xml</exclude>
<exclude>**/serial</exclude>
<exclude>**/index.txt</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<inherited>false</inherited>
<reportSets>
<reportSet>
<reports>
<report>index</report>
<report>dependency-info</report>
<report>dependency-management</report>
<report>issue-management</report>
<report>licenses</report>
<report>mailing-lists</report>
<report>scm</report>
<report>summary</report>
</reports>
</reportSet>
</reportSets>
</plugin>
2020-09-21 05:15:47 -04:00
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<quiet>true</quiet>
2021-01-09 15:51:14 -05:00
<notimestamp>true</notimestamp>
2020-09-21 05:15:47 -04:00
<links>
<link>https://hc.apache.org/httpcomponents-core-5.0.x/httpcore5/apidocs/</link>
<link>https://hc.apache.org/httpcomponents-core-5.0.x/httpcore5-h2/apidocs/</link>
<link>${project.url}/httpclient5/apidocs/</link>
</links>
2021-01-09 15:51:14 -05:00
<groups>
<group>
<title>Apache HttpClient</title>
<packages>org.apache.hc.client5.http*</packages>
</group>
<group>
<title>Apache HttpClient Cache</title>
<packages>org.apache.hc.client5.http.cache*:org.apache.hc.client5.http.impl.cache*:org.apache.hc.client5.http.schedule:org.apache.hc.client5.http.impl.schedule*</packages>
</group>
<group>
<title>Apache HttpClient Fluent</title>
<packages>org.apache.hc.client5.http.fluent*</packages>
</group>
<group>
<title>Apache HttpClient Testing</title>
<packages>org.apache.hc.client5.testing*</packages>
</group>
<group>
<title>Apache HttpClient Windows features</title>
<packages>org.apache.hc.client5.http.impl.win*</packages>
</group>
</groups>
2020-09-21 05:15:47 -04:00
</configuration>
<reportSets>
<reportSet>
<reports>
<report>javadoc</report>
2021-01-09 15:51:14 -05:00
<report>aggregate</report>
2020-09-21 05:15:47 -04:00
</reports>
</reportSet>
</reportSets>
</plugin>
2020-12-21 13:14:25 -05:00
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>cmp-report</report>
</reports>
</reportSet>
</reportSets>
<configuration>
<oldVersion>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${api.comparison.version}</version>
<type>jar</type>
</dependency>
</oldVersion>
<newVersion>
<file>
<path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
</file>
</newVersion>
<parameter>
<excludes>
<exclude>@org.apache.hc.core5.annotation.Internal</exclude>
</excludes>
<ignoreMissingClasses>true</ignoreMissingClasses>
2020-12-21 13:14:25 -05:00
</parameter>
</configuration>
</plugin>
2020-09-21 05:22:24 -04:00
<plugin>
<artifactId>maven-jxr-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
</plugins>
</reporting>
</project>