mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
150 lines
4.5 KiB
XML
Executable File
150 lines
4.5 KiB
XML
Executable File
<?xml version='1.0' encoding='utf-8'?>
|
||
<!--
|
||
~ Copyright (c) 2024 Hutool Team and hutool.cn
|
||
~
|
||
~ Licensed 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.
|
||
-->
|
||
|
||
<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">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<packaging>jar</packaging>
|
||
|
||
<parent>
|
||
<groupId>org.dromara.hutool</groupId>
|
||
<artifactId>hutool-parent</artifactId>
|
||
<version>6.0.0-M19</version>
|
||
</parent>
|
||
|
||
<artifactId>hutool-http</artifactId>
|
||
<name>${project.artifactId}</name>
|
||
<description>Hutool Http客户端</description>
|
||
|
||
<properties>
|
||
<Automatic-Module-Name>org.dromara.hutool.http</Automatic-Module-Name>
|
||
<httpclient5.version>5.4.1</httpclient5.version>
|
||
<httpclient4.version>4.5.14</httpclient4.version>
|
||
<okhttp.version>4.12.0</okhttp.version>
|
||
<!-- 固定 2.2.x支持到JDK8 -->
|
||
<undertow.version>2.2.36.Final</undertow.version>
|
||
<!-- 固定 9.x支持到JDK8 -->
|
||
<jetty.version>9.4.56.v20240826</jetty.version>
|
||
<!-- 固定 9.x支持到JDK8 -->
|
||
<tomcat.version>9.0.97</tomcat.version>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.dromara.hutool</groupId>
|
||
<artifactId>hutool-core</artifactId>
|
||
<version>${project.parent.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.dromara.hutool</groupId>
|
||
<artifactId>hutool-log</artifactId>
|
||
<version>${project.parent.version}</version>
|
||
</dependency>
|
||
<!-- webservice SOAP, 从javaEE变成jakartaEE(javax.xml.soap) Jakarta XML SOAP(jakarta.xml.soap) -->
|
||
<dependency>
|
||
<groupId>jakarta.xml.soap</groupId>
|
||
<artifactId>jakarta.xml.soap-api</artifactId>
|
||
<version>2.0.1</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.sun.xml.messaging.saaj</groupId>
|
||
<artifactId>saaj-impl</artifactId>
|
||
<version>2.0.1</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
<!-- Servlet -->
|
||
<dependency>
|
||
<groupId>jakarta.servlet</groupId>
|
||
<artifactId>jakarta.servlet-api</artifactId>
|
||
<!-- 版本固定5.0.0,可以支持jdk8 -->
|
||
<version>5.0.0</version>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>javax.servlet</groupId>
|
||
<artifactId>javax.servlet-api</artifactId>
|
||
<version>4.0.1</version>
|
||
<scope>provided</scope>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
|
||
<!-- 第三方HTTP客户端库 -->
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents.client5</groupId>
|
||
<artifactId>httpclient5</artifactId>
|
||
<version>${httpclient5.version}</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpclient</artifactId>
|
||
<version>${httpclient4.version}</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.squareup.okhttp3</groupId>
|
||
<artifactId>okhttp</artifactId>
|
||
<version>${okhttp.version}</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
|
||
<!-- 第三方HTTP服务器库 -->
|
||
<dependency>
|
||
<groupId>io.undertow</groupId>
|
||
<artifactId>undertow-core</artifactId>
|
||
<version>${undertow.version}</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.eclipse.jetty</groupId>
|
||
<artifactId>jetty-server</artifactId>
|
||
<version>${jetty.version}</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.tomcat.embed</groupId>
|
||
<artifactId>tomcat-embed-core</artifactId>
|
||
<version>${tomcat.version}</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
|
||
<!-- 仅用于测试 -->
|
||
<dependency>
|
||
<groupId>org.dromara.hutool</groupId>
|
||
<artifactId>hutool-json</artifactId>
|
||
<version>${project.parent.version}</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.brotli</groupId>
|
||
<artifactId>dec</artifactId>
|
||
<version>0.1.2</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-simple</artifactId>
|
||
<version>2.0.9</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
</project>
|