Procházet zdrojové kódy

【修改】配置更新

linfutong před 3 roky
rodič
revize
bb5c9bea20
35 změnil soubory, kde provedl 78 přidání a 738 odebrání
  1. 0 1
      pom.xml
  2. 3 8
      zd-api/pom.xml
  3. 0 47
      zd-auth/pom.xml
  4. 0 1
      zd-common/zd-common-core/pom.xml
  5. 2 6
      zd-common/zd-common-datascope/pom.xml
  6. 2 7
      zd-common/zd-common-datasource/pom.xml
  7. 0 1
      zd-common/zd-common-log/pom.xml
  8. 2 6
      zd-common/zd-common-mqtt/pom.xml
  9. 0 1
      zd-common/zd-common-redis/pom.xml
  10. 0 1
      zd-common/zd-common-security/pom.xml
  11. 0 1
      zd-common/zd-common-swagger/pom.xml
  12. 0 89
      zd-gateway/pom.xml
  13. 0 1
      zd-modules/pom.xml
  14. 0 47
      zd-modules/zd-airbottle/pom.xml
  15. 10 3
      zd-modules/zd-airbottle/src/main/resources/bootstrap.yml
  16. 0 47
      zd-modules/zd-alarm/pom.xml
  17. 11 6
      zd-modules/zd-algorithm/pom.xml
  18. 9 0
      zd-modules/zd-base/src/main/resources/bootstrap.yml
  19. 17 0
      zd-modules/zd-bottle-parent/zd-bottle/src/main/resources/bootstrap.yml
  20. 0 30
      zd-modules/zd-camera/pom.xml
  21. 0 47
      zd-modules/zd-chemical/pom.xml
  22. 7 0
      zd-modules/zd-chemical/src/main/resources/bootstrap.yml
  23. 0 47
      zd-modules/zd-common-face/pom.xml
  24. 1 4
      zd-modules/zd-exam/pom.xml
  25. 7 0
      zd-modules/zd-exam/src/main/resources/bootstrap.yml
  26. 0 47
      zd-modules/zd-forward/pom.xml
  27. 0 47
      zd-modules/zd-message/pom.xml
  28. 0 48
      zd-modules/zd-modules-file/pom.xml
  29. 0 48
      zd-modules/zd-modules-gen/pom.xml
  30. 0 49
      zd-modules/zd-modules-job/pom.xml
  31. 7 0
      zd-modules/zd-modules-laboratory/src/main/resources/bootstrap.yml
  32. 0 1
      zd-modules/zd-modules-system/pom.xml
  33. 0 46
      zd-modules/zd-netty/pom.xml
  34. 0 2
      zd-modules/zd-smartlock/pom.xml
  35. 0 49
      zd-modules/zd-speaker/pom.xml

+ 0 - 1
pom.xml

@@ -333,5 +333,4 @@
             </plugin>
         </plugins>
     </build>
-
 </project>

+ 3 - 8
zd-api/pom.xml

@@ -7,16 +7,11 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
+    <artifactId>zd-api</artifactId>
+    <packaging>pom</packaging>
+    <description>api接口</description>
 
     <modules>
         <module>zd-api-system</module>
     </modules>
-
-    <artifactId>zd-api</artifactId>
-    <packaging>pom</packaging>
-
-    <description>
-        zd-api系统接口
-    </description>
-
 </project>

+ 0 - 47
zd-auth/pom.xml

@@ -83,53 +83,6 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-
-            <!-- docker的maven插件 -->
-<!--            <plugin>-->
-<!--                <groupId>io.fabric8</groupId>-->
-<!--                <artifactId>docker-maven-plugin</artifactId>-->
-<!--                <version>${docker.maven.verion}</version>-->
-<!--                <executions>-->
-<!--                    &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--                    <execution>-->
-<!--                        <id>default</id>-->
-<!--                        <phase>package</phase>-->
-<!--                        <goals>-->
-<!--                            <goal>remove</goal>-->
-<!--                            <goal>build</goal>-->
-<!--                            <goal>push</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--                <configuration>-->
-<!--                    &lt;!&ndash; docker主机 &ndash;&gt;-->
-<!--                    <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
-<!--                    <authConfig>-->
-<!--                        &lt;!&ndash; registry服务的认证&ndash;&gt;-->
-<!--                        <username>${docker.registry.username}</username>-->
-<!--                        <password>${docker.registry.password}</password>-->
-<!--                    </authConfig>-->
-<!--                    <images>-->
-<!--                        <image>-->
-<!--                            &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
-<!--                            <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
-<!--                            &lt;!&ndash; 仓库地址 &ndash;&gt;-->
-<!--                            <registry>${docker.registry}</registry>-->
-<!--                            <build>-->
-<!--                                <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
-<!--                                <tags>-->
-<!--                                    <tag>${project.version}</tag>-->
-<!--                                </tags>-->
-<!--                            </build>-->
-<!--                        </image>-->
-<!--                    </images>-->
-<!--                    <buildArgs>-->
-<!--                        &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
-<!--                        <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--                    </buildArgs>-->
-<!--                </configuration>-->
-<!--            </plugin>-->
         </plugins>
     </build>
-
 </project>

+ 0 - 1
zd-common/zd-common-core/pom.xml

@@ -130,6 +130,5 @@
             <groupId>org.springframework</groupId>
             <artifactId>spring-webmvc</artifactId>
         </dependency>
-
     </dependencies>
 </project>

+ 2 - 6
zd-common/zd-common-datascope/pom.xml

@@ -8,15 +8,11 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-common-datascope</artifactId>
-
-    <description>
-        zd-common-datascope权限范围
-    </description>
+    <packaging>jar</packaging>
+    <description>权限范围</description>
 
     <dependencies>
-
         <!-- zd Common Security -->
         <dependency>
             <groupId>com.zd</groupId>

+ 2 - 7
zd-common/zd-common-datasource/pom.xml

@@ -8,15 +8,11 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-common-datasource</artifactId>
-
-    <description>
-        zd-common-datasource多数据源
-    </description>
+    <packaging>jar</packaging>
+    <description>多数据源</description>
 
     <dependencies>
-
 		<!-- Druid -->
         <dependency>
             <groupId>com.alibaba</groupId>
@@ -36,6 +32,5 @@
             <groupId>com.alibaba.cloud</groupId>
             <artifactId>spring-cloud-starter-alibaba-seata</artifactId>
         </dependency>
-
     </dependencies>
 </project>

+ 0 - 1
zd-common/zd-common-log/pom.xml

@@ -8,7 +8,6 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-common-log</artifactId>
     <packaging>jar</packaging>
     <description>日志记录</description>

+ 2 - 6
zd-common/zd-common-mqtt/pom.xml

@@ -8,15 +8,11 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-common-mqtt</artifactId>
+    <packaging>jar</packaging>
+    <description>MQTT</description>
 
-    <properties>
-        <maven.compiler.source>8</maven.compiler.source>
-        <maven.compiler.target>8</maven.compiler.target>
-    </properties>
     <dependencies>
-
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-integration</artifactId>

+ 0 - 1
zd-common/zd-common-redis/pom.xml

@@ -8,7 +8,6 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-common-redis</artifactId>
     <packaging>jar</packaging>
     <description>redis缓存服务</description>

+ 0 - 1
zd-common/zd-common-security/pom.xml

@@ -7,7 +7,6 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-common-security</artifactId>
     <packaging>jar</packaging>
     <description>安全模块</description>

+ 0 - 1
zd-common/zd-common-swagger/pom.xml

@@ -8,7 +8,6 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-common-swagger</artifactId>
     <packaging>jar</packaging>
     <description>swagger接口</description>

+ 0 - 89
zd-gateway/pom.xml

@@ -7,7 +7,6 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-gateway</artifactId>
     <packaging>jar</packaging>
     <description>网关模块</description>
@@ -106,7 +105,6 @@
                     </execution>
                 </executions>
             </plugin>
-
             <!-- 打包时跳过test插件,不运行test测试用例 -->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
@@ -116,93 +114,6 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-
-            <!-- docker的maven插件 -->
-<!--            <plugin>-->
-<!--                <groupId>io.fabric8</groupId>-->
-<!--                <artifactId>docker-maven-plugin</artifactId>-->
-<!--                <version>${docker.maven.verion}</version>-->
-<!--                <executions>-->
-<!--                    &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--                    <execution>-->
-<!--                        <id>default</id>-->
-<!--                        <phase>package</phase>-->
-<!--                        <goals>-->
-<!--                            &lt;!&ndash;删除老镜像&ndash;&gt;-->
-<!--&lt;!&ndash;                            <goal>remove</goal>&ndash;&gt;-->
-<!--                            &lt;!&ndash;构建镜像&ndash;&gt;-->
-<!--&lt;!&ndash;                            <goal>build</goal>&ndash;&gt;-->
-<!--                            <goal>stop</goal>-->
-<!--                            &lt;!&ndash;推送镜像到阿里云&ndash;&gt;-->
-<!--&lt;!&ndash;                            <goal>push</goal>&ndash;&gt;-->
-<!--                            &lt;!&ndash;运行镜像&ndash;&gt;-->
-<!--                            <goal>run</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--                <configuration>-->
-<!--                    &lt;!&ndash; docker主机 &ndash;&gt;-->
-<!--                    <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
-<!--                    <authConfig>-->
-<!--                        &lt;!&ndash; registry服务的认证&ndash;&gt;-->
-<!--                        <username>${docker.registry.username}</username>-->
-<!--                        <password>${docker.registry.password}</password>-->
-<!--                    </authConfig>-->
-<!--                    <removeNamePattern>%a</removeNamePattern>-->
-<!--                    <stopNamePattern>%a</stopNamePattern>-->
-<!--                    <allContainers>true</allContainers>-->
-<!--                    <images>-->
-<!--                        <image>-->
-<!--                            &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
-<!--                            <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
-<!--                            &lt;!&ndash; 仓库地址 &ndash;&gt;-->
-<!--                            <registry>${docker.registry}</registry>-->
-<!--                            <build>-->
-<!--                                &lt;!&ndash; dockerFile文件路径&ndash;&gt;-->
-<!--                                <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
-<!--                                <tags>-->
-<!--                                    &lt;!&ndash; 构建版本&ndash;&gt;-->
-<!--                                    <tag>${project.version}</tag>-->
-<!--                                </tags>-->
-<!--                            </build>-->
-<!--                            <alias>${project.artifactId}</alias>-->
-<!--                            <run>-->
-<!--                                &lt;!&ndash; 环境变量配置&ndash;&gt;-->
-<!--                                <envPropertyFile>${project.parent.basedir}/docker/zd/docker-compose.env</envPropertyFile>-->
-<!--                                &lt;!&ndash; 端口映射&ndash;&gt;-->
-<!--                                <ports>-->
-<!--                                    <port>9081:8080</port>-->
-<!--                                </ports>-->
-<!--                                &lt;!&ndash; 挂载卷&ndash;&gt;-->
-<!--                                <volumes>-->
-<!--                                    <bind>-->
-<!--                                        &lt;!&ndash; 可多配置&ndash;&gt;-->
-<!--                                        <volume>-->
-<!--                                            /zd/logs/${project.artifactId}:/logs/${project.artifactId}-->
-<!--                                        </volume>-->
-<!--                                    </bind>-->
-<!--                                </volumes>-->
-<!--                                <autoRemove>false</autoRemove>-->
-<!--                                &lt;!&ndash; 重启策略&ndash;&gt;-->
-<!--                                <restartPolicy>-->
-<!--                                    &lt;!&ndash; 总是&ndash;&gt;-->
-<!--                                    <name>always</name>-->
-<!--                                    &lt;!&ndash; 失败时重启&ndash;&gt;-->
-<!--&lt;!&ndash;                                    <name>on-failure</name>&ndash;&gt;-->
-<!--                                    &lt;!&ndash; 重启次数,当上方name配置采用on-failure时生效&ndash;&gt;-->
-<!--&lt;!&ndash;                                    <retry>3</retry>&ndash;&gt;-->
-<!--                                </restartPolicy>-->
-<!--                            </run>-->
-<!--                        </image>-->
-<!--                    </images>-->
-<!--                    <containerNamePattern>%a</containerNamePattern>-->
-<!--                    <buildArgs>-->
-<!--                        &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
-<!--                        <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--                    </buildArgs>-->
-<!--                </configuration>-->
-<!--            </plugin>-->
         </plugins>
     </build>
-
 </project>

+ 0 - 1
zd-modules/pom.xml

@@ -42,5 +42,4 @@
             <scope>compile</scope>
         </dependency>
     </dependencies>
-
 </project>

+ 0 - 47
zd-modules/zd-airbottle/pom.xml

@@ -8,7 +8,6 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-airbottle</artifactId>
     <packaging>jar</packaging>
     <description>气瓶服务-老版</description>
@@ -140,52 +139,6 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-
-<!-- docker的maven插件 -->
-<!--            <plugin>-->
-<!--                <groupId>io.fabric8</groupId>-->
-<!--                <artifactId>docker-maven-plugin</artifactId>-->
-<!--                <version>${docker.maven.verion}</version>-->
-<!--                <executions>-->
-<!--                    &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--                    <execution>-->
-<!--                        <id>default</id>-->
-<!--                        <phase>package</phase>-->
-<!--                        <goals>-->
-<!--                            <goal>remove</goal>-->
-<!--                            <goal>build</goal>-->
-<!--                            <goal>push</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--                <configuration>-->
-<!--                    &lt;!&ndash; docker主机 &ndash;&gt;-->
-<!--                    <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
-<!--                    <authConfig>-->
-<!--                        &lt;!&ndash; registry服务的认证&ndash;&gt;-->
-<!--                        <username>${docker.registry.username}</username>-->
-<!--                        <password>${docker.registry.password}</password>-->
-<!--                    </authConfig>-->
-<!--                    <images>-->
-<!--                        <image>-->
-<!--                            &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
-<!--                            <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
-<!--                            &lt;!&ndash; 仓库地址 &ndash;&gt;-->
-<!--                            <registry>${docker.registry}</registry>-->
-<!--                            <build>-->
-<!--                                <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
-<!--                                <tags>-->
-<!--                                    <tag>${project.version}</tag>-->
-<!--                                </tags>-->
-<!--                            </build>-->
-<!--                        </image>-->
-<!--                    </images>-->
-<!--                    <buildArgs>-->
-<!--                        &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
-<!--                        <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--                    </buildArgs>-->
-<!--                </configuration>-->
-<!--            </plugin>-->
         </plugins>
     </build>
 </project>

+ 10 - 3
zd-modules/zd-airbottle/src/main/resources/bootstrap.yml

@@ -2,9 +2,6 @@
 server:
   port: 9400
 # Spring
-#logging:
-#  level:
-#    root: debug
 spring:
   application:
     # 应用名称
@@ -27,3 +24,13 @@ spring:
         # 共享配置
         shared-configs:
           - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
+
+# mybatis配置
+mybatis:
+  # 搜索指定包别名
+  typeAliasesPackage: com.zd.airbottle.domain
+  # 配置mapper的扫描,找到所有的mapper.xml映射文件
+  mapperLocations: classpath:mapper/**/*.xml
+  configuration:
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    call-setters-on-nulls: true

+ 0 - 47
zd-modules/zd-alarm/pom.xml

@@ -97,53 +97,6 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-
-<!-- docker的maven插件 -->
-<!--            <plugin>-->
-<!--                <groupId>io.fabric8</groupId>-->
-<!--                <artifactId>docker-maven-plugin</artifactId>-->
-<!--                <version>${docker.maven.verion}</version>-->
-<!--                <executions>-->
-<!--                    &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--                    <execution>-->
-<!--                        <id>default</id>-->
-<!--                        <phase>package</phase>-->
-<!--                        <goals>-->
-<!--                            <goal>remove</goal>-->
-<!--                            <goal>build</goal>-->
-<!--                            <goal>push</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--                <configuration>-->
-<!--                    &lt;!&ndash; docker主机 &ndash;&gt;-->
-<!--                    <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
-<!--                    <authConfig>-->
-<!--                        &lt;!&ndash; registry服务的认证&ndash;&gt;-->
-<!--                        <username>${docker.registry.username}</username>-->
-<!--                        <password>${docker.registry.password}</password>-->
-<!--                    </authConfig>-->
-<!--                    <images>-->
-<!--                        <image>-->
-<!--                            &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
-<!--                            <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
-<!--                            &lt;!&ndash; 仓库地址 &ndash;&gt;-->
-<!--                            <registry>${docker.registry}</registry>-->
-<!--                            <build>-->
-<!--                                <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
-<!--                                <tags>-->
-<!--                                    <tag>${project.version}</tag>-->
-<!--                                </tags>-->
-<!--                            </build>-->
-<!--                        </image>-->
-<!--                    </images>-->
-<!--                    <buildArgs>-->
-<!--                        &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
-<!--                        <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--                    </buildArgs>-->
-<!--                </configuration>-->
-<!--            </plugin>-->
         </plugins>
     </build>
-
 </project>

+ 11 - 6
zd-modules/zd-algorithm/pom.xml

@@ -8,15 +8,20 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <groupId>com.zd.alg</groupId>
     <artifactId>zd-algorithm</artifactId>
     <version>1.0</version>
     <description>算法服务</description>
 
-    <properties>
-        <maven.compiler.source>8</maven.compiler.source>
-        <maven.compiler.target>8</maven.compiler.target>
-    </properties>
-
+    <dependencies>
+        <dependency>
+            <groupId>com.zd</groupId>
+            <artifactId>zd-common-core</artifactId>
+        </dependency>
+        <!-- SpringBoot Web -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
+        </dependency>
+    </dependencies>
 </project>

+ 9 - 0
zd-modules/zd-base/src/main/resources/bootstrap.yml

@@ -24,3 +24,12 @@ spring:
         shared-configs:
           - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
 
+# mybatis配置
+mybatis:
+  # 搜索指定包别名
+  typeAliasesPackage: com.zd.base
+  # 配置mapper的扫描,找到所有的mapper.xml映射文件
+  mapperLocations: classpath:mapper/**/*.xml
+  configuration:
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    call-setters-on-nulls: true

+ 17 - 0
zd-modules/zd-bottle-parent/zd-bottle/src/main/resources/bootstrap.yml

@@ -28,3 +28,20 @@ spring:
         shared-configs:
           - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
 
+# mybatis配置
+mybatis-plus:
+  global-config:
+    db-config:
+      table-prefix: ab_
+  configuration:
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    call-setters-on-nulls: true
+  type-aliases-package: com.zd.bottle.domain
+
+#分页插件配置
+pagehelper:
+  helper-dialect: mysql
+  reasonable: true
+  support-methods-arguments: true
+  page-size-zero: true
+  params: count=countSql

+ 0 - 30
zd-modules/zd-camera/pom.xml

@@ -269,36 +269,6 @@
 					<skipTests>true</skipTests>
 				</configuration>
 			</plugin>
-
-			<!-- docker的maven插件 -->
-<!--			<plugin>-->
-<!--				<groupId>com.spotify</groupId>-->
-<!--				<artifactId>dockerfile-maven-plugin</artifactId>-->
-<!--				<version>${docker.maven.verion}</version>-->
-
-<!--				<executions>-->
-<!--					&lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--					<execution>-->
-<!--						<id>default</id>-->
-<!--						<phase>package</phase>-->
-<!--						<goals>-->
-<!--							<goal>build</goal>-->
-<!--							<goal>push</goal>-->
-<!--						</goals>-->
-<!--					</execution>-->
-<!--				</executions>-->
-<!--				<configuration>-->
-<!--					<repository>${docker.registry}/${docker.namespace}/${project.artifactId}</repository>-->
-<!--					<tag>latest</tag>-->
-<!--					&lt;!&ndash; 镜像服务器账号密码  &ndash;&gt;-->
-<!--					<username>admin</username>-->
-<!--					<password>zd123456..</password>-->
-<!--					&lt;!&ndash; 构建参数,指定jar包名称 &ndash;&gt;-->
-<!--					<buildArgs>-->
-<!--						<JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--					</buildArgs>-->
-<!--				</configuration>-->
-<!--			</plugin>-->
 		</plugins>
 	</build>
 </project>

+ 0 - 47
zd-modules/zd-chemical/pom.xml

@@ -8,7 +8,6 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-chemical</artifactId>
     <packaging>jar</packaging>
     <description>化学品服务</description>
@@ -190,52 +189,6 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-
-<!-- docker的maven插件 -->
-<!--            <plugin>-->
-<!--                <groupId>io.fabric8</groupId>-->
-<!--                <artifactId>docker-maven-plugin</artifactId>-->
-<!--                <version>${docker.maven.verion}</version>-->
-<!--                <executions>-->
-<!--                    &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--                    <execution>-->
-<!--                        <id>default</id>-->
-<!--                        <phase>package</phase>-->
-<!--                        <goals>-->
-<!--                            <goal>remove</goal>-->
-<!--                            <goal>build</goal>-->
-<!--                            <goal>push</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--                <configuration>-->
-<!--                    &lt;!&ndash; docker主机 &ndash;&gt;-->
-<!--                    <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
-<!--                    <authConfig>-->
-<!--                        &lt;!&ndash; registry服务的认证&ndash;&gt;-->
-<!--                        <username>${docker.registry.username}</username>-->
-<!--                        <password>${docker.registry.password}</password>-->
-<!--                    </authConfig>-->
-<!--                    <images>-->
-<!--                        <image>-->
-<!--                            &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
-<!--                            <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
-<!--                            &lt;!&ndash; 仓库地址 &ndash;&gt;-->
-<!--                            <registry>${docker.registry}</registry>-->
-<!--                            <build>-->
-<!--                                <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
-<!--                                <tags>-->
-<!--                                    <tag>${project.version}</tag>-->
-<!--                                </tags>-->
-<!--                            </build>-->
-<!--                        </image>-->
-<!--                    </images>-->
-<!--                    <buildArgs>-->
-<!--                        &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
-<!--                        <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--                    </buildArgs>-->
-<!--                </configuration>-->
-<!--            </plugin>-->
         </plugins>
     </build>
 </project>

+ 7 - 0
zd-modules/zd-chemical/src/main/resources/bootstrap.yml

@@ -23,3 +23,10 @@ spring:
         # 共享配置
         shared-configs:
           - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
+
+# mybatis配置
+mybatis:
+  # 搜索指定包别名
+  typeAliasesPackage: com.zd.chemical
+  # 配置mapper的扫描,找到所有的mapper.xml映射文件
+  mapperLocations: classpath:mapper/**/*.xml

+ 0 - 47
zd-modules/zd-common-face/pom.xml

@@ -8,7 +8,6 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-common-face</artifactId>
     <packaging>jar</packaging>
     <description>人脸对接</description>
@@ -94,52 +93,6 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-
-<!-- docker的maven插件 -->
-<!--            <plugin>-->
-<!--                <groupId>io.fabric8</groupId>-->
-<!--                <artifactId>docker-maven-plugin</artifactId>-->
-<!--                <version>${docker.maven.verion}</version>-->
-<!--                <executions>-->
-<!--                    &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--                    <execution>-->
-<!--                        <id>default</id>-->
-<!--                        <phase>package</phase>-->
-<!--                        <goals>-->
-<!--                            <goal>remove</goal>-->
-<!--                            <goal>build</goal>-->
-<!--                            <goal>push</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--                <configuration>-->
-<!--                    &lt;!&ndash; docker主机 &ndash;&gt;-->
-<!--                    <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
-<!--                    <authConfig>-->
-<!--                        &lt;!&ndash; registry服务的认证&ndash;&gt;-->
-<!--                        <username>${docker.registry.username}</username>-->
-<!--                        <password>${docker.registry.password}</password>-->
-<!--                    </authConfig>-->
-<!--                    <images>-->
-<!--                        <image>-->
-<!--                            &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
-<!--                            <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
-<!--                            &lt;!&ndash; 仓库地址 &ndash;&gt;-->
-<!--                            <registry>${docker.registry}</registry>-->
-<!--                            <build>-->
-<!--                                <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
-<!--                                <tags>-->
-<!--                                    <tag>${project.version}</tag>-->
-<!--                                </tags>-->
-<!--                            </build>-->
-<!--                        </image>-->
-<!--                    </images>-->
-<!--                    <buildArgs>-->
-<!--                        &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
-<!--                        <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--                    </buildArgs>-->
-<!--                </configuration>-->
-<!--            </plugin>-->
         </plugins>
     </build>
 </project>

+ 1 - 4
zd-modules/zd-exam/pom.xml

@@ -8,7 +8,6 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-exam</artifactId>
     <packaging>jar</packaging>
     <description>考试服务</description>
@@ -81,9 +80,7 @@
             <version>3.2.0</version>
         </dependency>
         <dependency>
-
             <groupId>org.springframework.boot</groupId>
-
             <artifactId>spring-boot-starter-test</artifactId>
             <scope>test</scope>
             <exclusions>
@@ -93,6 +90,7 @@
                 </exclusion>
             </exclusions>
         </dependency>
+
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-test</artifactId>
@@ -124,5 +122,4 @@
             </plugin>
         </plugins>
     </build>
-
 </project>

+ 7 - 0
zd-modules/zd-exam/src/main/resources/bootstrap.yml

@@ -23,3 +23,10 @@ spring:
         # 共享配置
         shared-configs:
           - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
+
+# mybatis配置
+mybatis:
+  # 搜索指定包别名
+  typeAliasesPackage: com.zd.system
+  # 配置mapper的扫描,找到所有的mapper.xml映射文件
+  mapperLocations: classpath:mapper/**/*.xml

+ 0 - 47
zd-modules/zd-forward/pom.xml

@@ -8,7 +8,6 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-forward</artifactId>
     <packaging>jar</packaging>
     <description>AI算法</description>
@@ -114,52 +113,6 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-
-<!-- docker的maven插件 -->
-<!--            <plugin>-->
-<!--                <groupId>io.fabric8</groupId>-->
-<!--                <artifactId>docker-maven-plugin</artifactId>-->
-<!--                <version>${docker.maven.verion}</version>-->
-<!--                <executions>-->
-<!--                    &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--                    <execution>-->
-<!--                        <id>default</id>-->
-<!--                        <phase>package</phase>-->
-<!--                        <goals>-->
-<!--                            <goal>remove</goal>-->
-<!--                            <goal>build</goal>-->
-<!--                            <goal>push</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--                <configuration>-->
-<!--                    &lt;!&ndash; docker主机 &ndash;&gt;-->
-<!--                    <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
-<!--                    <authConfig>-->
-<!--                        &lt;!&ndash; registry服务的认证&ndash;&gt;-->
-<!--                        <username>${docker.registry.username}</username>-->
-<!--                        <password>${docker.registry.password}</password>-->
-<!--                    </authConfig>-->
-<!--                    <images>-->
-<!--                        <image>-->
-<!--                            &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
-<!--                            <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
-<!--                            &lt;!&ndash; 仓库地址 &ndash;&gt;-->
-<!--                            <registry>${docker.registry}</registry>-->
-<!--                            <build>-->
-<!--                                <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
-<!--                                <tags>-->
-<!--                                    <tag>${project.version}</tag>-->
-<!--                                </tags>-->
-<!--                            </build>-->
-<!--                        </image>-->
-<!--                    </images>-->
-<!--                    <buildArgs>-->
-<!--                        &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
-<!--                        <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--                    </buildArgs>-->
-<!--                </configuration>-->
-<!--            </plugin>-->
         </plugins>
     </build>
 </project>

+ 0 - 47
zd-modules/zd-message/pom.xml

@@ -8,7 +8,6 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-message</artifactId>
     <packaging>jar</packaging>
     <description>消息服务</description>
@@ -151,52 +150,6 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-
-<!-- docker的maven插件 -->
-<!--            <plugin>-->
-<!--                <groupId>io.fabric8</groupId>-->
-<!--                <artifactId>docker-maven-plugin</artifactId>-->
-<!--                <version>${docker.maven.verion}</version>-->
-<!--                <executions>-->
-<!--                    &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--                    <execution>-->
-<!--                        <id>default</id>-->
-<!--                        <phase>package</phase>-->
-<!--                        <goals>-->
-<!--                            <goal>remove</goal>-->
-<!--                            <goal>build</goal>-->
-<!--                            <goal>push</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--                <configuration>-->
-<!--                    &lt;!&ndash; docker主机 &ndash;&gt;-->
-<!--                    <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
-<!--                    <authConfig>-->
-<!--                        &lt;!&ndash; registry服务的认证&ndash;&gt;-->
-<!--                        <username>${docker.registry.username}</username>-->
-<!--                        <password>${docker.registry.password}</password>-->
-<!--                    </authConfig>-->
-<!--                    <images>-->
-<!--                        <image>-->
-<!--                            &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
-<!--                            <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
-<!--                            &lt;!&ndash; 仓库地址 &ndash;&gt;-->
-<!--                            <registry>${docker.registry}</registry>-->
-<!--                            <build>-->
-<!--                                <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
-<!--                                <tags>-->
-<!--                                    <tag>${project.version}</tag>-->
-<!--                                </tags>-->
-<!--                            </build>-->
-<!--                        </image>-->
-<!--                    </images>-->
-<!--                    <buildArgs>-->
-<!--                        &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
-<!--                        <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--                    </buildArgs>-->
-<!--                </configuration>-->
-<!--            </plugin>-->
         </plugins>
     </build>
 </project>

+ 0 - 48
zd-modules/zd-modules-file/pom.xml

@@ -14,7 +14,6 @@
     <description>文件服务</description>
 
     <dependencies>
-
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-data-redis</artifactId>
@@ -113,53 +112,6 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-
-<!-- docker的maven插件 -->
-<!--            <plugin>-->
-<!--                <groupId>io.fabric8</groupId>-->
-<!--                <artifactId>docker-maven-plugin</artifactId>-->
-<!--                <version>${docker.maven.verion}</version>-->
-<!--                <executions>-->
-<!--                    &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--                    <execution>-->
-<!--                        <id>default</id>-->
-<!--                        <phase>package</phase>-->
-<!--                        <goals>-->
-<!--                            <goal>remove</goal>-->
-<!--                            <goal>build</goal>-->
-<!--                            <goal>push</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--                <configuration>-->
-<!--                    &lt;!&ndash; docker主机 &ndash;&gt;-->
-<!--                    <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
-<!--                    <authConfig>-->
-<!--                        &lt;!&ndash; registry服务的认证&ndash;&gt;-->
-<!--                        <username>${docker.registry.username}</username>-->
-<!--                        <password>${docker.registry.password}</password>-->
-<!--                    </authConfig>-->
-<!--                    <images>-->
-<!--                        <image>-->
-<!--                            &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
-<!--                            <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
-<!--                            &lt;!&ndash; 仓库地址 &ndash;&gt;-->
-<!--                            <registry>${docker.registry}</registry>-->
-<!--                            <build>-->
-<!--                                <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
-<!--                                <tags>-->
-<!--                                    <tag>${project.version}</tag>-->
-<!--                                </tags>-->
-<!--                            </build>-->
-<!--                        </image>-->
-<!--                    </images>-->
-<!--                    <buildArgs>-->
-<!--                        &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
-<!--                        <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--                    </buildArgs>-->
-<!--                </configuration>-->
-<!--            </plugin>-->
         </plugins>
     </build>
-
 </project>

+ 0 - 48
zd-modules/zd-modules-gen/pom.xml

@@ -14,7 +14,6 @@
     <description>代码生成</description>
 
     <dependencies>
-
     	<!-- SpringCloud Alibaba Nacos -->
         <dependency>
             <groupId>com.alibaba.cloud</groupId>
@@ -101,53 +100,6 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-
-<!-- docker的maven插件 -->
-<!--            <plugin>-->
-<!--                <groupId>io.fabric8</groupId>-->
-<!--                <artifactId>docker-maven-plugin</artifactId>-->
-<!--                <version>${docker.maven.verion}</version>-->
-<!--                <executions>-->
-<!--                    &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--                    <execution>-->
-<!--                        <id>default</id>-->
-<!--                        <phase>package</phase>-->
-<!--                        <goals>-->
-<!--                            <goal>remove</goal>-->
-<!--                            <goal>build</goal>-->
-<!--                            <goal>push</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--                <configuration>-->
-<!--                    &lt;!&ndash; docker主机 &ndash;&gt;-->
-<!--                    <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
-<!--                    <authConfig>-->
-<!--                        &lt;!&ndash; registry服务的认证&ndash;&gt;-->
-<!--                        <username>${docker.registry.username}</username>-->
-<!--                        <password>${docker.registry.password}</password>-->
-<!--                    </authConfig>-->
-<!--                    <images>-->
-<!--                        <image>-->
-<!--                            &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
-<!--                            <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
-<!--                            &lt;!&ndash; 仓库地址 &ndash;&gt;-->
-<!--                            <registry>${docker.registry}</registry>-->
-<!--                            <build>-->
-<!--                                <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
-<!--                                <tags>-->
-<!--                                    <tag>${project.version}</tag>-->
-<!--                                </tags>-->
-<!--                            </build>-->
-<!--                        </image>-->
-<!--                    </images>-->
-<!--                    <buildArgs>-->
-<!--                        &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
-<!--                        <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--                    </buildArgs>-->
-<!--                </configuration>-->
-<!--            </plugin>-->
         </plugins>
     </build>
-
 </project>

+ 0 - 49
zd-modules/zd-modules-job/pom.xml

@@ -8,13 +8,11 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-modules-job</artifactId>
     <packaging>jar</packaging>
     <description>定时任务</description>
 
     <dependencies>
-
     	<!-- SpringCloud Alibaba Nacos -->
         <dependency>
             <groupId>com.alibaba.cloud</groupId>
@@ -101,53 +99,6 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-
-<!-- docker的maven插件 -->
-<!--            <plugin>-->
-<!--                <groupId>io.fabric8</groupId>-->
-<!--                <artifactId>docker-maven-plugin</artifactId>-->
-<!--                <version>${docker.maven.verion}</version>-->
-<!--                <executions>-->
-<!--                    &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--                    <execution>-->
-<!--                        <id>default</id>-->
-<!--                        <phase>package</phase>-->
-<!--                        <goals>-->
-<!--                            <goal>remove</goal>-->
-<!--                            <goal>build</goal>-->
-<!--                            <goal>push</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--                <configuration>-->
-<!--                    &lt;!&ndash; docker主机 &ndash;&gt;-->
-<!--                    <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
-<!--                    <authConfig>-->
-<!--                        &lt;!&ndash; registry服务的认证&ndash;&gt;-->
-<!--                        <username>${docker.registry.username}</username>-->
-<!--                        <password>${docker.registry.password}</password>-->
-<!--                    </authConfig>-->
-<!--                    <images>-->
-<!--                        <image>-->
-<!--                            &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
-<!--                            <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
-<!--                            &lt;!&ndash; 仓库地址 &ndash;&gt;-->
-<!--                            <registry>${docker.registry}</registry>-->
-<!--                            <build>-->
-<!--                                <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
-<!--                                <tags>-->
-<!--                                    <tag>${project.version}</tag>-->
-<!--                                </tags>-->
-<!--                            </build>-->
-<!--                        </image>-->
-<!--                    </images>-->
-<!--                    <buildArgs>-->
-<!--                        &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
-<!--                        <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--                    </buildArgs>-->
-<!--                </configuration>-->
-<!--            </plugin>-->
         </plugins>
     </build>
-
 </project>

+ 7 - 0
zd-modules/zd-modules-laboratory/src/main/resources/bootstrap.yml

@@ -27,3 +27,10 @@ spring:
         # 共享配置
         shared-configs:
           - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
+
+# mybatis配置
+mybatis:
+  # 搜索指定包别名
+  typeAliasesPackage: com.zd.laboratory
+  # 配置mapper的扫描,找到所有的mapper.xml映射文件
+  mapperLocations: classpath:mapper/**/*.xml

+ 0 - 1
zd-modules/zd-modules-system/pom.xml

@@ -117,5 +117,4 @@
             </plugin>
         </plugins>
     </build>
-
 </project>

+ 0 - 46
zd-modules/zd-netty/pom.xml

@@ -177,52 +177,6 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-
-            <!-- docker的maven插件 -->
-<!--            <plugin>-->
-<!--                <groupId>io.fabric8</groupId>-->
-<!--                <artifactId>docker-maven-plugin</artifactId>-->
-<!--                <version>${docker.maven.verion}</version>-->
-<!--                <executions>-->
-<!--                    &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--                    <execution>-->
-<!--                        <id>default</id>-->
-<!--                        <phase>package</phase>-->
-<!--                        <goals>-->
-<!--                            <goal>remove</goal>-->
-<!--                            <goal>build</goal>-->
-<!--                            <goal>push</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--                <configuration>-->
-<!--                    &lt;!&ndash; docker主机 &ndash;&gt;-->
-<!--                    <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
-<!--                    <authConfig>-->
-<!--                        &lt;!&ndash; registry服务的认证&ndash;&gt;-->
-<!--                        <username>${docker.registry.username}</username>-->
-<!--                        <password>${docker.registry.password}</password>-->
-<!--                    </authConfig>-->
-<!--                    <images>-->
-<!--                        <image>-->
-<!--                            &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
-<!--                            <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
-<!--                            &lt;!&ndash; 仓库地址 &ndash;&gt;-->
-<!--                            <registry>${docker.registry}</registry>-->
-<!--                            <build>-->
-<!--                                <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
-<!--                                <tags>-->
-<!--                                    <tag>${project.version}</tag>-->
-<!--                                </tags>-->
-<!--                            </build>-->
-<!--                        </image>-->
-<!--                    </images>-->
-<!--                    <buildArgs>-->
-<!--                        &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
-<!--                        <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--                    </buildArgs>-->
-<!--                </configuration>-->
-<!--            </plugin>-->
         </plugins>
     </build>
 </project>

+ 0 - 2
zd-modules/zd-smartlock/pom.xml

@@ -8,7 +8,6 @@
         <version>3.1.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-
     <artifactId>zd-smartlock</artifactId>
     <packaging>jar</packaging>
     <description>智能门锁</description>
@@ -103,5 +102,4 @@
             </plugin>
         </plugins>
     </build>
-
 </project>

+ 0 - 49
zd-modules/zd-speaker/pom.xml

@@ -57,8 +57,6 @@
             <artifactId>okhttp</artifactId>
             <version>3.10.0</version>
         </dependency>
-
-
     </dependencies>
 
     <build>
@@ -84,53 +82,6 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-
-<!-- docker的maven插件 -->
-<!--            <plugin>-->
-<!--                <groupId>io.fabric8</groupId>-->
-<!--                <artifactId>docker-maven-plugin</artifactId>-->
-<!--                <version>${docker.maven.verion}</version>-->
-<!--                <executions>-->
-<!--                    &lt;!&ndash;执行 mvn package 时 自动构建docker镜像并推送到仓库 &ndash;&gt;-->
-<!--                    <execution>-->
-<!--                        <id>default</id>-->
-<!--                        <phase>package</phase>-->
-<!--                        <goals>-->
-<!--                            <goal>remove</goal>-->
-<!--                            <goal>build</goal>-->
-<!--                            <goal>push</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--                <configuration>-->
-<!--                    &lt;!&ndash; docker主机 &ndash;&gt;-->
-<!--                    <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
-<!--                    <authConfig>-->
-<!--                        &lt;!&ndash; registry服务的认证&ndash;&gt;-->
-<!--                        <username>${docker.registry.username}</username>-->
-<!--                        <password>${docker.registry.password}</password>-->
-<!--                    </authConfig>-->
-<!--                    <images>-->
-<!--                        <image>-->
-<!--                            &lt;!&ndash; [命名空间] / [镜像名称:版本号] &ndash;&gt;-->
-<!--                            <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
-<!--                            &lt;!&ndash; 仓库地址 &ndash;&gt;-->
-<!--                            <registry>${docker.registry}</registry>-->
-<!--                            <build>-->
-<!--                                <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
-<!--                                <tags>-->
-<!--                                    <tag>${project.version}</tag>-->
-<!--                                </tags>-->
-<!--                            </build>-->
-<!--                        </image>-->
-<!--                    </images>-->
-<!--                    <buildArgs>-->
-<!--                        &lt;!&ndash; dockerfile参数,指定jar路径 &ndash;&gt;-->
-<!--                        <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
-<!--                    </buildArgs>-->
-<!--                </configuration>-->
-<!--            </plugin>-->
         </plugins>
     </build>
-
 </project>