Skip to content

Commit 5b383fb

Browse files
committed
release: 3.4.0
1 parent 3c8d269 commit 5b383fb

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

ruoyi-admin/pom.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@
6666
<warName>${artifactId}</warName>
6767
</configuration>
6868
</plugin>
69-
<!--<plugin>
69+
<plugin>
7070
<groupId>com.spotify</groupId>
7171
<artifactId>docker-maven-plugin</artifactId>
7272
<version>1.0.0</version>
73-
&lt;!&ndash;将插件绑定在某个phase执行&ndash;&gt;
73+
<!--将插件绑定在某个phase执行-->
7474
<executions>
7575
<execution>
7676
<id>build-image</id>
77-
&lt;!&ndash;将插件绑定在package这个phase上。也就是说,用户只需执行mvn package ,就会自动执行mvn docker:build&ndash;&gt;
77+
<!--将插件绑定在package这个phase上。也就是说,用户只需执行mvn package ,就会自动执行mvn docker:build-->
7878
<phase>package</phase>
7979
<goals>
8080
<goal>build</goal>
@@ -83,35 +83,35 @@
8383
</executions>
8484

8585
<configuration>
86-
&lt;!&ndash;指定生成的镜像名&ndash;&gt;
86+
<!--指定生成的镜像名-->
8787
<imageName>lerry/${project.artifactId}</imageName>
88-
&lt;!&ndash;指定标签&ndash;&gt;
88+
<!--指定标签-->
8989
<imageTags>
9090
<imageTag>latest</imageTag>
9191
</imageTags>
9292

93-
&lt;!&ndash; 指定 Dockerfile 路径 ${project.basedir}:项目根路径下&ndash;&gt;
93+
<!-- 指定 Dockerfile 路径 ${project.basedir}:项目根路径下-->
9494
<dockerDirectory>${project.basedir}</dockerDirectory>
9595

96-
&lt;!&ndash;指定远程 docker api地址&ndash;&gt;
96+
<!--指定远程 docker api地址-->
9797
<dockerHost>http://123.207.20.136:2375</dockerHost>
9898

99-
&lt;!&ndash; 这里是复制 jar 包到 docker 容器指定目录配置 &ndash;&gt;
99+
<!-- 这里是复制 jar 包到 docker 容器指定目录配置 -->
100100
<resources>
101101
<resource>
102102
<targetPath>/</targetPath>
103-
&lt;!&ndash;jar 包所在的路径 此处配置的 即对应 target 目录&ndash;&gt;
103+
<!--jar 包所在的路径 此处配置的 即对应 target 目录-->
104104
<directory>${project.build.directory}</directory>
105-
&lt;!&ndash; 需要包含的 jar包 ,这里对应的是 Dockerfile中添加的文件名 &ndash;&gt;
105+
<!-- 需要包含的 jar包 ,这里对应的是 Dockerfile中添加的文件名 -->
106106
<include>${project.build.finalName}.jar</include>
107107
</resource>
108108
</resources>
109109

110-
&lt;!&ndash; 以下两行是为了docker push到DockerHub使用的。 &ndash;&gt;
110+
<!-- 以下两行是为了docker push到DockerHub使用的。 -->
111111
<serverId>docker-hub</serverId>
112112
<registryUrl>https://index.docker.io/v1</registryUrl>
113113
</configuration>
114-
</plugin>-->
114+
</plugin>
115115
</plugins>
116116
<finalName>${project.artifactId}-${project.version}-${env}</finalName>
117117
<filters>

0 commit comments

Comments
 (0)