Prechádzať zdrojové kódy

feat:统一管理依赖

zhangyi 1 rok pred
rodič
commit
4fe0327912
3 zmenil súbory, kde vykonal 12 pridanie a 9 odobranie
  1. 0 8
      api/pom.xml
  2. 12 0
      pom.xml
  3. 0 1
      web/pom.xml

+ 0 - 8
api/pom.xml

@@ -42,14 +42,6 @@
         <dependency>
             <groupId>com.nju.edu</groupId>
             <artifactId>seecoder-gitlab-client</artifactId>
-            <!-- 这个包引入的log产生了绑定冲突,所以排除掉 -->
-            <exclusions>
-                <exclusion>
-                    <groupId>org.apache.logging.log4j</groupId>
-                    <artifactId>log4j-slf4j-impl</artifactId>
-                </exclusion>
-            </exclusions>
-            <version>0.1.8</version>
         </dependency>
         <!-- https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit -->
         <dependency>

+ 12 - 0
pom.xml

@@ -41,6 +41,18 @@
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
+            <dependency>
+                <groupId>com.nju.edu</groupId>
+                <artifactId>seecoder-gitlab-client</artifactId>
+                <!-- 这个包引入的log产生了绑定冲突,所以排除掉 -->
+                <exclusions>
+                    <exclusion>
+                        <groupId>org.apache.logging.log4j</groupId>
+                        <artifactId>log4j-slf4j-impl</artifactId>
+                    </exclusion>
+                </exclusions>
+                <version>0.1.8</version>
+            </dependency>
         </dependencies>
     </dependencyManagement>
 

+ 0 - 1
web/pom.xml

@@ -130,7 +130,6 @@
         <dependency>
             <groupId>com.nju.edu</groupId>
             <artifactId>seecoder-gitlab-client</artifactId>
-            <version>0.1.8</version>
         </dependency>
     </dependencies>