fix: pom.xml

body:
remove docker package config
This commit is contained in:
josxy 2021-04-23 23:07:53 +08:00
parent a16c85ca76
commit d1be6600b2

60
pom.xml
View File

@ -88,36 +88,36 @@
<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> <!-- <plugin>-->
<groupId>com.spotify</groupId> <!-- <groupId>com.spotify</groupId>-->
<artifactId>docker-maven-plugin</artifactId> <!-- <artifactId>docker-maven-plugin</artifactId>-->
<version>1.2.0</version> <!-- <version>1.2.0</version>-->
<executions> <!-- <executions>-->
<execution> <!-- <execution>-->
<id>build-image</id> <!-- <id>build-image</id>-->
<phase>package</phase> <!-- <phase>package</phase>-->
<goals> <!-- <goals>-->
<goal>build</goal> <!-- <goal>build</goal>-->
</goals> <!-- </goals>-->
</execution> <!-- </execution>-->
</executions> <!-- </executions>-->
<configuration> <!-- <configuration>-->
<dockerHost>http://103.153.100.47:2375</dockerHost> <!-- <dockerHost>http://103.153.100.47:2375</dockerHost>-->
<imageName>mx/${project.artifactId}</imageName> <!-- <imageName>mx/${project.artifactId}</imageName>-->
<imageTags> <!-- <imageTags>-->
<imageTag>${project.version}</imageTag> <!-- <imageTag>${project.version}</imageTag>-->
</imageTags> <!-- </imageTags>-->
<forceTags>true</forceTags> <!-- <forceTags>true</forceTags>-->
<dockerDirectory>${project.basedir}</dockerDirectory> <!-- <dockerDirectory>${project.basedir}</dockerDirectory>-->
<resources> <!-- <resources>-->
<resource> <!-- <resource>-->
<targetPath>/</targetPath> <!-- <targetPath>/</targetPath>-->
<directory>${project.build.directory}</directory> <!-- <directory>${project.build.directory}</directory>-->
<include>${project.build.finalName}.jar</include> <!-- <include>${project.build.finalName}.jar</include>-->
</resource> <!-- </resource>-->
</resources> <!-- </resources>-->
</configuration> <!-- </configuration>-->
</plugin> <!-- </plugin>-->
</plugins> </plugins>
</build> </build>
</project> </project>