mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 12:48:59 +08:00
chore: 移除多余配置
This commit is contained in:
parent
d1dc8390ca
commit
4fafc18f81
@ -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>
|
||||
|
||||
|
@ -8,7 +8,7 @@ import lombok.Getter;
|
||||
@Getter
|
||||
public enum PlatformEnum implements IBaseEnum<Integer> {
|
||||
|
||||
ALL(0, "全部平台"),
|
||||
ALL(0, "全平台"),
|
||||
APP(1, "APP"),
|
||||
PC(2, "PC"),
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user