Skip to content

Commit

Permalink
默认不指定插件的 classifier 和 executable 选项,会影响不需要的子项目,具体配置由子项目去自定义实现。
Browse files Browse the repository at this point in the history
  • Loading branch information
javastacks committed Aug 8, 2022
1 parent 116ce9b commit afe8ae0
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
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>

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.0-M4</version>
</parent>

<groupId>cn.javastack</groupId>
<artifactId>spring-boot-best-practice</artifactId>
<version>1.0</version>
Expand Down Expand Up @@ -40,12 +46,6 @@
<name>spring-boot-best-practice</name>
<description>Spring Boot Best Practice</description>

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.0-M4</version>
</parent>

<dependencies>

<dependency>
Expand Down Expand Up @@ -89,10 +89,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<classifier>exec</classifier>
<executable>true</executable>
</configuration>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit afe8ae0

Please sign in to comment.