生成环境禁用doc相关接口
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.ichangzuo</groupId>
|
||||
<artifactId>server-java</artifactId>
|
||||
<version>2.0</version>
|
||||
<version>2.2</version>
|
||||
<description>基于 Java 17 + SpringBoot 3 + Spring Security 构建的唱作网系统。</description>
|
||||
|
||||
<parent>
|
||||
@@ -20,6 +20,9 @@
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
|
||||
<!-- 默认激活的 Spring profile(Maven -P dev/prod 可覆盖) -->
|
||||
<spring.profiles.active>dev</spring.profiles.active>
|
||||
|
||||
<hutool.version>5.8.27</hutool.version>
|
||||
|
||||
<mysql.version>8.0.28</mysql.version>
|
||||
@@ -302,15 +305,6 @@
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>test</id>
|
||||
<properties>
|
||||
<spring.profiles.active>test</spring.profiles.active>
|
||||
</properties>
|
||||
<build>
|
||||
<finalName>${project.artifactId}-${project.version}-test</finalName>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<build>
|
||||
@@ -329,12 +323,15 @@
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<layout>ZIP</layout>
|
||||
<!-- <includes>
|
||||
<profiles>
|
||||
<profile>${spring.profiles.active}</profile>
|
||||
</profiles>
|
||||
<includes>
|
||||
<include>
|
||||
<groupId>nothing</groupId>
|
||||
<artifactId>nothing</artifactId>
|
||||
</include>
|
||||
</includes> -->
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
|
||||
Reference in New Issue
Block a user