|
|
<?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/maven-v4_0_0.xsd">
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
<groupId>com.liuhuiyu</groupId>
|
|
|
<artifactId>liuhuiyu-tool-parent</artifactId>
|
|
|
<version>2023.0.1</version>
|
|
|
<name>liuhuiyu-tool-parent</name>
|
|
|
<description>liuhuiyu工具箱</description>
|
|
|
<url>https://github.com/liuhuiyu2004/utils</url>
|
|
|
<modules>
|
|
|
<module>liuhuiyu-test</module>
|
|
|
<module>liuhuiyu-core</module>
|
|
|
<module>liuhuiyu-json</module>
|
|
|
</modules>
|
|
|
|
|
|
<properties>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
<!-- versions -->
|
|
|
<compile.version>8</compile.version>
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
|
<!-- 全局单元测试 -->
|
|
|
</dependencies>
|
|
|
|
|
|
<issueManagement>
|
|
|
<system>Github Issue</system>
|
|
|
<url>https://github.com/liuhuiyu2004/utils/issues</url>
|
|
|
</issueManagement>
|
|
|
|
|
|
<licenses>
|
|
|
<license>
|
|
|
<name>Mulan Permissive Software License,Version 2</name>
|
|
|
<url>https://license.coscl.org.cn/MulanPSL2</url>
|
|
|
</license>
|
|
|
</licenses>
|
|
|
<developers>
|
|
|
<developer>
|
|
|
<name>liuhuiyu</name>
|
|
|
<email>liuhuiyu2004@outlook.com</email>
|
|
|
<organizationUrl>http://liuhuiyu.com</organizationUrl>
|
|
|
</developer>
|
|
|
</developers>
|
|
|
|
|
|
<!--项目部署和发布的话需要配置: 在pom.xml中添加 distributionManagement 配置-->
|
|
|
<!-- maven仓库配置 deploy时可推送到配置的仓库中 -->
|
|
|
<distributionManagement>
|
|
|
<repository>
|
|
|
<id>maven-releases</id>
|
|
|
<name>Nexus Releases Repository Pro</name>
|
|
|
<url>http://47.242.184.139:8081/repository/maven-releases/</url>
|
|
|
</repository>
|
|
|
<snapshotRepository>
|
|
|
<id>maven-snapshots</id>
|
|
|
<name>Nexus Snapshots Repository Pro</name>
|
|
|
<url>http://47.242.184.139:8081/repository/maven-snapshots/</url>
|
|
|
</snapshotRepository>
|
|
|
</distributionManagement>
|
|
|
<!--在项目中使用pom.xml进行下载依赖配置的话可以单独使用:
|
|
|
注意:项目中使用的maven,如果已经在settings.xml中配置过后就无需在配置此项-->
|
|
|
<repositories>
|
|
|
<repository>
|
|
|
<id>repository</id>
|
|
|
<url>http://47.242.184.139:8081/repository/maven-public/</url>
|
|
|
<releases>
|
|
|
<enabled>true</enabled>
|
|
|
</releases>
|
|
|
<snapshots>
|
|
|
<enabled>true</enabled>
|
|
|
</snapshots>
|
|
|
</repository>
|
|
|
</repositories>
|
|
|
<pluginRepositories>
|
|
|
<pluginRepository>
|
|
|
<id>central</id>
|
|
|
<url>http://47.242.184.139:8081/repository/maven-central/</url>
|
|
|
<releases>
|
|
|
<enabled>true</enabled>
|
|
|
</releases>
|
|
|
<snapshots>
|
|
|
<enabled>false</enabled>
|
|
|
</snapshots>
|
|
|
</pluginRepository>
|
|
|
</pluginRepositories>
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<version>3.8.1</version>
|
|
|
<configuration>
|
|
|
<source>${compile.version}</source>
|
|
|
<target>${compile.version}</target>
|
|
|
<encoding>UTF-8</encoding>
|
|
|
<compilerArgument>-Xlint:unchecked</compilerArgument>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
<!-- Javadoc -->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
<version>3.4.0</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<phase>package</phase>
|
|
|
<goals>
|
|
|
<goal>jar</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
<profiles>
|
|
|
<profile>
|
|
|
<id>release</id>
|
|
|
<distributionManagement>
|
|
|
<snapshotRepository>
|
|
|
<id>oss</id>
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
|
</snapshotRepository>
|
|
|
<repository>
|
|
|
<id>oss</id>
|
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
|
</repository>
|
|
|
</distributionManagement>
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<!-- Source -->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
<version>3.2.1</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<id>oss</id>
|
|
|
<phase>package</phase>
|
|
|
<goals>
|
|
|
<goal>jar-no-fork</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</profile>
|
|
|
</profiles>
|
|
|
|
|
|
</project> |