Przeglądaj źródła

【优化】 依赖优化

linfutong 3 lat temu
rodzic
commit
dac548cbc2
4 zmienionych plików z 0 dodań i 73 usunięć
  1. 0 11
      pom.xml
  2. 0 9
      zd-auth/pom.xml
  3. 0 7
      zd-gateway/pom.xml
  4. 0 46
      zd-visual/zd-monitor/pom.xml

+ 0 - 11
pom.xml

@@ -52,22 +52,11 @@
         <face.version>3.0.0.0</face.version>
         <bce.version>0.10.154</bce.version>
         <pinyin4j.version>2.5.1</pinyin4j.version>
-
-        <!-- docker -->
-        <docker.maven.verion>0.40.2</docker.maven.verion>
-        <docker.registry>registry.cn-hangzhou.aliyuncs.com</docker.registry>
-        <docker.registry.username>zd-push@1603061150808095.onaliyun.com</docker.registry.username>
-        <docker.registry.password>zd123456..</docker.registry.password>
-        <nacos.host>192.168.1.88</nacos.host>
-        <redis.host>192.168.1.43</redis.host>
-        <docker.namespace>zd-yun</docker.namespace>
-        <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
     </properties>
 
     <!-- 依赖声明 -->
     <dependencyManagement>
         <dependencies>
-
             <!-- SpringCloud 微服务 -->
             <dependency>
                 <groupId>org.springframework.cloud</groupId>

+ 0 - 9
zd-auth/pom.xml

@@ -89,15 +89,6 @@
                     </execution>
                 </executions>
             </plugin>
-            <!-- 打包时跳过test插件,不运行test测试用例 -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <version>${maven-surefire-plugin.version}</version>
-                <configuration>
-                    <skipTests>true</skipTests>
-                </configuration>
-            </plugin>
         </plugins>
     </build>
 </project>

+ 0 - 7
zd-gateway/pom.xml

@@ -85,13 +85,6 @@
             </exclusions>
         </dependency>
 
-        <!-- Swagger -->
-        <!--<dependency>
-            <groupId>io.springfox</groupId>
-            <artifactId>springfox-swagger-ui</artifactId>
-            <version>${swagger.fox.version}</version>
-        </dependency>-->
-
         <dependency>
             <groupId>com.github.xiaoymin</groupId>
             <artifactId>knife4j-spring-ui</artifactId>

+ 0 - 46
zd-visual/zd-monitor/pom.xml

@@ -76,52 +76,6 @@
                     </execution>
                 </executions>
             </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>