|
@@ -68,6 +68,12 @@
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>com.zd</groupId>
|
|
<groupId>com.zd</groupId>
|
|
|
<artifactId>zd-common-redis</artifactId>
|
|
<artifactId>zd-common-redis</artifactId>
|
|
|
|
|
+ <exclusions>
|
|
|
|
|
+ <exclusion>
|
|
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
|
|
+ <artifactId>spring-webmvc</artifactId>
|
|
|
|
|
+ </exclusion>
|
|
|
|
|
+ </exclusions>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Swagger -->
|
|
<!-- Swagger -->
|
|
@@ -126,9 +132,10 @@
|
|
|
<!-- <phase>package</phase>-->
|
|
<!-- <phase>package</phase>-->
|
|
|
<!-- <goals>-->
|
|
<!-- <goals>-->
|
|
|
<!-- <!–删除老镜像–>-->
|
|
<!-- <!–删除老镜像–>-->
|
|
|
-<!-- <goal>remove</goal>-->
|
|
|
|
|
|
|
+<!--<!– <goal>remove</goal>–>-->
|
|
|
<!-- <!–构建镜像–>-->
|
|
<!-- <!–构建镜像–>-->
|
|
|
-<!-- <goal>build</goal>-->
|
|
|
|
|
|
|
+<!--<!– <goal>build</goal>–>-->
|
|
|
|
|
+<!-- <goal>stop</goal>-->
|
|
|
<!-- <!–推送镜像到阿里云–>-->
|
|
<!-- <!–推送镜像到阿里云–>-->
|
|
|
<!--<!– <goal>push</goal>–>-->
|
|
<!--<!– <goal>push</goal>–>-->
|
|
|
<!-- <!–运行镜像–>-->
|
|
<!-- <!–运行镜像–>-->
|
|
@@ -144,6 +151,9 @@
|
|
|
<!-- <username>${docker.registry.username}</username>-->
|
|
<!-- <username>${docker.registry.username}</username>-->
|
|
|
<!-- <password>${docker.registry.password}</password>-->
|
|
<!-- <password>${docker.registry.password}</password>-->
|
|
|
<!-- </authConfig>-->
|
|
<!-- </authConfig>-->
|
|
|
|
|
+<!-- <removeNamePattern>%a</removeNamePattern>-->
|
|
|
|
|
+<!-- <stopNamePattern>%a</stopNamePattern>-->
|
|
|
|
|
+<!-- <allContainers>true</allContainers>-->
|
|
|
<!-- <images>-->
|
|
<!-- <images>-->
|
|
|
<!-- <image>-->
|
|
<!-- <image>-->
|
|
|
<!-- <!– [命名空间] / [镜像名称:版本号] –>-->
|
|
<!-- <!– [命名空间] / [镜像名称:版本号] –>-->
|
|
@@ -158,13 +168,10 @@
|
|
|
<!-- <tag>${project.version}</tag>-->
|
|
<!-- <tag>${project.version}</tag>-->
|
|
|
<!-- </tags>-->
|
|
<!-- </tags>-->
|
|
|
<!-- </build>-->
|
|
<!-- </build>-->
|
|
|
|
|
+<!-- <alias>${project.artifactId}</alias>-->
|
|
|
<!-- <run>-->
|
|
<!-- <run>-->
|
|
|
<!-- <!– 环境变量配置–>-->
|
|
<!-- <!– 环境变量配置–>-->
|
|
|
-<!-- <env>-->
|
|
|
|
|
-<!-- <!– 次数可参考 docker/zd/docker-compose.env 下的变量根据实际关联地址配置 –>-->
|
|
|
|
|
-<!-- <NACOS_HOST>192.168.1.88</NACOS_HOST>-->
|
|
|
|
|
-<!-- <REDIS_HOST>192.168.1.43</REDIS_HOST>-->
|
|
|
|
|
-<!-- </env>-->
|
|
|
|
|
|
|
+<!-- <envPropertyFile>${project.parent.basedir}/docker/zd/docker-compose.env</envPropertyFile>-->
|
|
|
<!-- <!– 端口映射–>-->
|
|
<!-- <!– 端口映射–>-->
|
|
|
<!-- <ports>-->
|
|
<!-- <ports>-->
|
|
|
<!-- <port>9081:8080</port>-->
|
|
<!-- <port>9081:8080</port>-->
|
|
@@ -191,6 +198,7 @@
|
|
|
<!-- </run>-->
|
|
<!-- </run>-->
|
|
|
<!-- </image>-->
|
|
<!-- </image>-->
|
|
|
<!-- </images>-->
|
|
<!-- </images>-->
|
|
|
|
|
+<!-- <containerNamePattern>%a</containerNamePattern>-->
|
|
|
<!-- <buildArgs>-->
|
|
<!-- <buildArgs>-->
|
|
|
<!-- <!– dockerfile参数,指定jar路径 –>-->
|
|
<!-- <!– dockerfile参数,指定jar路径 –>-->
|
|
|
<!-- <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
|
|
<!-- <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
|