chore: 移除多余配置

This commit is contained in:
郝先瑞 2022-06-27 23:53:19 +08:00
parent d1dc8390ca
commit 4fafc18f81
2 changed files with 1 additions and 34 deletions

View File

@ -112,39 +112,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>1.2.2</version>
<!--将插件绑定在某个phase执行-->
<executions>
<execution>
<id>build-image</id>
<phase>package</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
</executions>
<configuration>
<imageName>${project.artifactId}</imageName>
<!--指定标签-->
<imageTags>
<imageTag>latest</imageTag>
</imageTags>
<!-- 指定 Dockerfile 路径-->
<dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
<forceTags>true</forceTags>
<resources>
<resource>
<targetPath>/</targetPath>
<directory>${project.build.directory}</directory>
<include>${project.build.finalName}.jar</include>
</resource>
</resources>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -8,7 +8,7 @@ import lombok.Getter;
@Getter
public enum PlatformEnum implements IBaseEnum<Integer> {
ALL(0, "平台"),
ALL(0, "平台"),
APP(1, "APP"),
PC(2, "PC"),
;