1 Star 0 Fork 0

小七/maven-release-plugin-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 2.92 KB
一键复制 编辑 原始数据 按行查看 历史
<?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.daniel</groupId>
<artifactId>maven-release-plugin-demo</artifactId>
<packaging>pom</packaging>
<version>2.0.0-SNAPSHOT</version>
<modules>
<module>demo-core</module>
<module>demo-api</module>
</modules>
<distributionManagement>
<repository>
<id>releases</id>
<name>Releases</name>
<url>http://172.30.251.13:8889/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>Snapshot</name>
<url>http://172.30.251.13:8889/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<scm>
<!--git项目只读的地址,可以用SSH 也可以用 HTTPS的-->
<connection>scm:git:[email protected]:power315cn/maven-release-plugin-demo.git</connection>
<!--git项目可写的地址,可以用SSH 也可以用 HTTPS的-->
<developerConnection>scm:git:[email protected]:power315cn/maven-release-plugin-demo.git</developerConnection>
<tag>HEAD</tag>
</scm>
<build>
<plugins>
<!-- 发布插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<tagNameFormat>v@{project.version}</tagNameFormat>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<encoding>UTF-8</encoding>
<charset>UTF-8</charset>
<docencoding>UTF-8</docencoding>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<failOnError>false</failOnError>
<!-- <additionalparam>-Xdoclint:none</additionalparam> -->
<!--<additionalJOption>-Xdoclint:none</additionalJOption>-->
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/power315cn/maven-release-plugin-demo.git
[email protected]:power315cn/maven-release-plugin-demo.git
power315cn
maven-release-plugin-demo
maven-release-plugin-demo
master

搜索帮助