Browse Source

spring-boot-demo-docker 完成

pull/1/head
Yangkai.Shen 5 years ago
parent
commit
db489d2c53
1 changed files with 10 additions and 9 deletions
  1. +10
    -9
      spring-boot-demo-docker/pom.xml

+ 10
- 9
spring-boot-demo-docker/pom.xml View File

@@ -54,15 +54,16 @@
<JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
</buildArgs>
</configuration>
<executions>
<execution>
<id>default</id>
<phase>package</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
</executions>
<!-- <executions>-->
<!-- &lt;!&ndash;设置运行 mvn package 的时候自动执行docker build&ndash;&gt;-->
<!-- <execution>-->
<!-- <id>default</id>-->
<!-- <phase>package</phase>-->
<!-- <goals>-->
<!-- <goal>build</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
</plugin>
</plugins>
</build>


Loading…
Cancel
Save