1 Star 0 Fork 2

罗浩楠/LiuBiaoJavaComponent

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 4.39 KB
一键复制 编辑 原始数据 按行查看 历史
liubiao 提交于 2023-09-20 18:18 . init
<?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">
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.liubiao</groupId>
<artifactId>LiuBiaoJavaComponent</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<druid-spring-boot-starter.version>1.1.22</druid-spring-boot-starter.version>
</properties>
<dependencies>
<!--springframework-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</dependency>
<!--springframework-->
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.2.2.RELEASE</version>
</plugin>
<!-- 跳过单元测试 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
<!--打包-->
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
<include>**/*.yml</include>
<include>**/*.drl</include>
<include>**/*.html</include>
<include>**/*.bpmn</include>
<include>**/*.css</include>
<include>**/*.js</include>
<include>**/*.es</include>
<include>**/*.ts</include>
<include>**/*.docx</include>
<include>**/*.xlsx</include>
<include>**/*.xls</include>
<include>**/*.setting</include>
</includes>
<!--开启过滤,用指定的参数替换directory下的文件中的参数-->
<filtering>true</filtering>
</resource>
</resources>
<!--打包-->
</build>
<profiles>
<!-- nohup java -jar -Dspring.profiles.active=test order-service-2.0.0.jar &
mvn clean package -Ptest
mvn clean package -Pdev
mvn clean package -Pprod
mvn clean package -Psv-->
<profile>
<!-- 开发环境 -->
<id>dev</id>
<properties>
<profiles.active>dev</profiles.active>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<!-- 生产环境 -->
<profile>
<id>docker</id>
<properties>
<profiles.active>docker</profiles.active>
</properties>
</profile>
</profiles>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/haonan-online/LiuBiaoJavaComponent.git
git@gitee.com:haonan-online/LiuBiaoJavaComponent.git
haonan-online
LiuBiaoJavaComponent
LiuBiaoJavaComponent
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385