1 Star 1 Fork 1

ACANX/acanx-utils

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 13.45 KB
一键复制 编辑 原始数据 按行查看 历史
ACANX 提交于 2025-04-30 01:25 +08:00 . release:v0.0.1.11
<?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.acanx</groupId>
<artifactId>acanx-utils</artifactId>
<version>0.0.1.11</version>
<packaging>jar</packaging>
<name>ACANX-Utils</name>
<description>ACANX-Utils 工具库</description>
<url>https://gitee.com/ACANX/acanx-utils</url>
<!-- <logo>https://foruda.gitee.com/images/1745466198269588961/ed913b81_526602.png</logo> -->
<inceptionYear>2019</inceptionYear>
<scm>
<tag>master</tag>
<url>git@gitee.com:ACANX/acanx-utils.git</url>
<connection>scm:git:git@gitee.com:ACANX/acanx-utils.git</connection>
<developerConnection>scm:git:git@gitee.com:ACANX/acanx-utils.git</developerConnection>
</scm>
<organization>
<name>ACANX</name>
<url>https://www.acanx.com</url>
<!-- <logo>https://foruda.gitee.com/images/1745466198269588961/ed913b81_526602.png</logo> -->
</organization>
<developers>
<developer>
<name>ACANX</name>
<email>acanx@qq.com</email>
<organization>ACANX</organization>
<!-- <logo>https://foruda.gitee.com/images/1745466198269588961/ed913b81_526602.png</logo> -->
</developer>
</developers>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties>
<project.release.version>0.0.1.11</project.release.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<java.version>8</java.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<maven-deploy-plugin.version>3.1.2</maven-deploy-plugin.version>
<maven-surefire-plugin.version>3.5.0</maven-surefire-plugin.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.10.0</maven-javadoc-plugin.version>
<maven-gpg-plugin.version>3.2.6</maven-gpg-plugin.version>
<central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version>
<nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version>
<junit-jupiter.version>5.11.3</junit-jupiter.version>
</properties>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
<!-- 生成Javadoc,关闭doclint,避免注解检查不通过 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<!-- <additionalparam>-Xdoclint:none</additionalparam>-->
<!-- <aggregate>true</aggregate>-->
<charset>${project.build.sourceEncoding}</charset> <!-- utf-8读取文件 -->
<encoding>${project.build.sourceEncoding}</encoding> <!-- utf-8进行编码代码 -->
<docencoding>${project.build.sourceEncoding}</docencoding> <!-- utf-8进行编码文档 -->
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!--本地发布-->
<profile>
<id>dev</id>
<properties>
<project.release.version>0.0.1.11</project.release.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<!-- 生成Source jar文件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 生成Javadoc,关闭doclint,避免注解检查不通过 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<!-- <additionalparam>-Xdoclint:none</additionalparam>-->
<!-- <aggregate>true</aggregate>-->
<charset>${project.build.sourceEncoding}</charset> <!-- utf-8读取文件 -->
<encoding>${project.build.sourceEncoding}</encoding> <!-- utf-8进行编码代码 -->
<docencoding>${project.build.sourceEncoding}</docencoding> <!-- utf-8进行编码文档 -->
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- 发布到本地仓库 -->
<profile>
<id>product</id>
<properties>
<project.release.version>0.0.1.11</project.release.version>
</properties>
</profile>
<!-- 发布到 Maven中央仓库 -->
<profile>
<id>sonatype-oss-release</id>
<!-- 设为默认profile 开始 -->
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<!-- 设为默认profile 结束 -->
<properties>
<project.release.version>0.0.1.11</project.release.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<!-- 生成Source jar文件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 生成Javadoc,关闭doclint,避免注解检查不通过 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<!-- <additionalparam>-Xdoclint:none</additionalparam> -->
<!-- <aggregate>true</aggregate> -->
<charset>${project.build.sourceEncoding}</charset><!-- utf-8读取文件 -->
<encoding>${project.build.sourceEncoding}</encoding><!-- utf-8进行编码代码 -->
<docencoding>${project.build.sourceEncoding}</docencoding><!-- utf-8进行编码文档 -->
</configuration>
</execution>
</executions>
</plugin>
<!-- Maven GPG插件用于使用以下配置对组件进行签名 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- 改成你自己的路径 -->
<executable>D:\ProgramExt\GnuPG\bin\gpg.exe</executable>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
</plugin>
<!-- 正式版/SNAPSHOT发布使用central-publishing-maven-plugin插件-->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publishing-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>sonatype-nexus-staging</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
<!-- repository、snapshotRepository中的id一定要与Maven的setting.xml文件中的server节点下的id 保持一一对应! -->
<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/ACANX/acanx-utils.git
git@gitee.com:ACANX/acanx-utils.git
ACANX
acanx-utils
acanx-utils
dev

搜索帮助