mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2025-01-03 17:42:20 +08:00
chore: 移除多余配置
This commit is contained in:
parent
d1dc8390ca
commit
4fafc18f81
@ -112,39 +112,6 @@
|
|||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ import lombok.Getter;
|
|||||||
@Getter
|
@Getter
|
||||||
public enum PlatformEnum implements IBaseEnum<Integer> {
|
public enum PlatformEnum implements IBaseEnum<Integer> {
|
||||||
|
|
||||||
ALL(0, "全部平台"),
|
ALL(0, "全平台"),
|
||||||
APP(1, "APP"),
|
APP(1, "APP"),
|
||||||
PC(2, "PC"),
|
PC(2, "PC"),
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user