You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
141 lines
5.6 KiB
XML
141 lines
5.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.liuhuiyu</groupId>
|
|
<artifactId>okhttp3util</artifactId>
|
|
<version>2021.2.2</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<okhttp.version>4.10.0-RC1</okhttp.version>
|
|
<log4j2.version>2.17.1</log4j2.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>5.8.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-api</artifactId>
|
|
<version>${log4j2.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>2.0.0-alpha5</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!--region 测试-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
<!-- <artifactId>spring-boot-starter-test</artifactId>-->
|
|
<!-- <version>2.1.6.RELEASE</version>-->
|
|
<!-- <scope>test</scope>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.apache.logging.log4j</groupId>-->
|
|
<!-- <artifactId>log4j-api</artifactId>-->
|
|
<!-- <version>2.14.1</version>-->
|
|
<!-- <scope>test</scope>-->
|
|
<!-- </dependency>-->
|
|
<!--endregion -->
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>okhttp</artifactId>
|
|
<!-- <version>4.10.0-RC1</version>-->
|
|
<version>${okhttp.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.8.6</version>
|
|
</dependency>
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.jetbrains</groupId>-->
|
|
<!-- <artifactId>annotations</artifactId>-->
|
|
<!-- <version>19.0.0</version>-->
|
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.projectlombok</groupId>-->
|
|
<!-- <artifactId>lombok</artifactId>-->
|
|
<!-- <version>1.18.18</version>-->
|
|
<!-- <optional>true</optional>-->
|
|
<!-- </dependency>-->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.9</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<version>1.3.70</version>
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-resources</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/java</directory>
|
|
<includes>
|
|
<include>**/*.java</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
<!-- <artifactId>maven-source-plugin</artifactId>-->
|
|
<!-- <version>3.0.0</version>-->
|
|
<!-- <!– 绑定source插件到Maven的生命周期,并在生命周期后执行绑定的source的goal –>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <!– 绑定source插件到Maven的生命周期 –>-->
|
|
<!-- <phase>compile</phase>-->
|
|
<!-- <!–在生命周期后执行绑定的source插件的goals –>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>jar-no-fork</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- </plugin>-->
|
|
|
|
</plugins>
|
|
</build>
|
|
</project> |