1 Star 0 Fork 0

吴庆龙/maven-quickstart

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 3.04 KB
一键复制 编辑 原始数据 按行查看 历史
吴庆龙 提交于 2022-04-30 23:03 . commit
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.0</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.snailwu</groupId>
<artifactId>maven-quickstart</artifactId>
<version>0.0.1</version>
<name>maven-quickstart</name>
<properties>
<java.version>1.8</java.version>
<!-- 跳过测试 -->
<maven.test.skip>true</maven.test.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<!-- 配置 deploy -->
<distributionManagement>
<repository>
<!--必须与 settings.xml 的 id 一致-->
<id>snailwu-demo-releases</id>
<name>releases</name>
<url>https://snailwu-maven.pkg.coding.net/repository/demo/releases/</url>
</repository>
<snapshotRepository>
<!--必须与 settings.xml 的 id 一致-->
<id>snailwu-demo-snapshots</id>
<name>snapshots</name>
<url>https://snailwu-maven.pkg.coding.net/repository/demo/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<!-- 生成 MavenDemo-0.0.1-sources.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>
<!-- 生成 MavenDemo-0.0.1-javadoc.jar 包 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lancewu602/maven-quickstart.git
git@gitee.com:lancewu602/maven-quickstart.git
lancewu602
maven-quickstart
maven-quickstart
master

搜索帮助