|
|
|
|
|
<?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>
|
|
|
|
|
|
|
|
|
|
|
|
<artifactId>core</artifactId>
|
|
|
|
|
|
<name>liuhuiyu-tool-core</name>
|
|
|
|
|
|
<version>2023.0.1</version>
|
|
|
|
|
|
<description>无依赖工具包</description>
|
|
|
|
|
|
<parent>
|
|
|
|
|
|
<groupId>com.liuhuiyu</groupId>
|
|
|
|
|
|
<artifactId>liuhuiyu-tool-parent</artifactId>
|
|
|
|
|
|
<version>2023.0.1</version>
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
|
|
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
<kotlin.version>1.8.0</kotlin.version>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.liuhuiyu</groupId>
|
|
|
|
|
|
<artifactId>liuhuiyu-test</artifactId>
|
|
|
|
|
|
<version>2023.0.1</version>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<!--项目部署和发布的话需要配置: 在pom.xml中添加 distributionManagement 配置-->
|
|
|
|
|
|
<!-- maven仓库配置 deploy时可推送到配置的仓库中 -->
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
|
|
<repository>
|
|
|
|
|
|
<id>maven-releases</id>
|
|
|
|
|
|
<name>Nexus Releases Repository Pro</name>
|
|
|
|
|
|
<url>http://43.139.89.198:8081/repository/maven-releases/</url>
|
|
|
|
|
|
</repository>
|
|
|
|
|
|
<snapshotRepository>
|
|
|
|
|
|
<id>maven-snapshots</id>
|
|
|
|
|
|
<name>Nexus Snapshots Repository Pro</name>
|
|
|
|
|
|
<url>http://43.139.89.198:8081/repository/maven-snapshots/</url>
|
|
|
|
|
|
</snapshotRepository>
|
|
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
<!--在项目中使用pom.xml进行下载依赖配置的话可以单独使用:
|
|
|
|
|
|
注意:项目中使用的maven,如果已经在settings.xml中配置过后就无需在配置此项-->
|
|
|
|
|
|
<repositories>
|
|
|
|
|
|
<repository>
|
|
|
|
|
|
<id>repository</id>
|
|
|
|
|
|
<url>http://43.139.89.198:8081/repository/maven-public/</url>
|
|
|
|
|
|
<releases>
|
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
|
</releases>
|
|
|
|
|
|
<snapshots>
|
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
|
</snapshots>
|
|
|
|
|
|
</repository>
|
|
|
|
|
|
</repositories>
|
|
|
|
|
|
<pluginRepositories>
|
|
|
|
|
|
<pluginRepository>
|
|
|
|
|
|
<id>central</id>
|
|
|
|
|
|
<url>http://43.139.89.198:8081/repository/maven-central/</url>
|
|
|
|
|
|
<releases>
|
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
|
</releases>
|
|
|
|
|
|
<snapshots>
|
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
|
</snapshots>
|
|
|
|
|
|
</pluginRepository>
|
|
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<!--生成doc jar包-->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>jar</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
<!-- 不让像@Param 这种后面没写值的东西 报错。-->
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<additionalJOption>-Xdoclint:none</additionalJOption>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<!--生成源码jar包-->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<id>attach-sources</id>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>jar</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
</project>
|