Ver Fonte

upgrade pom.xml

deason há 6 anos atrás
pai
commit
a40711e58c

+ 69 - 38
examcloud-core-print-common/pom.xml

@@ -11,6 +11,17 @@
     </parent>
 
     <dependencies>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-configuration-processor</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.springframework.boot</groupId>
+                    <artifactId>spring-boot-starter-logging</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
         <!-- fix conflicted jars -->
         <dependency>
             <groupId>cn.com.qmth.examcloud</groupId>
@@ -18,27 +29,52 @@
             <version>${examcloud.version}</version>
             <exclusions>
                 <exclusion>
-                    <groupId>io.springfox</groupId>
-                    <artifactId>springfox-swagger2</artifactId>
+                    <groupId>commons-io</groupId>
+                    <artifactId>commons-io</artifactId>
                 </exclusion>
                 <exclusion>
-                    <groupId>io.springfox</groupId>
-                    <artifactId>springfox-swagger-ui</artifactId>
+                    <groupId>commons-lang</groupId>
+                    <artifactId>commons-lang</artifactId>
                 </exclusion>
                 <exclusion>
-                    <groupId>com.google.code.findbugs</groupId>
-                    <artifactId>jsr305</artifactId>
+                    <groupId>commons-beanutils</groupId>
+                    <artifactId>commons-beanutils</artifactId>
                 </exclusion>
                 <exclusion>
-                    <groupId>org.apache.poi</groupId>
-                    <artifactId>poi-ooxml</artifactId>
+                    <groupId>commons-logging</groupId>
+                    <artifactId>commons-logging</artifactId>
                 </exclusion>
                 <exclusion>
                     <groupId>org.apache.commons</groupId>
                     <artifactId>commons-compress</artifactId>
                 </exclusion>
+                <exclusion>
+                    <groupId>commons-collections</groupId>
+                    <artifactId>commons-collections</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>com.mchange</groupId>
+                    <artifactId>mchange-commons-java</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.poi</groupId>
+                    <artifactId>poi</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.poi</groupId>
+                    <artifactId>poi-ooxml</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>io.springfox</groupId>
+                    <artifactId>springfox-swagger2</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>io.springfox</groupId>
+                    <artifactId>springfox-swagger-ui</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>
+
         <dependency>
             <groupId>io.springfox</groupId>
             <artifactId>springfox-swagger2</artifactId>
@@ -53,6 +89,7 @@
             <groupId>com.github.xiaoymin</groupId>
             <artifactId>swagger-bootstrap-ui</artifactId>
         </dependency>
+
         <dependency>
             <groupId>commons-fileupload</groupId>
             <artifactId>commons-fileupload</artifactId>
@@ -64,15 +101,31 @@
             </exclusions>
         </dependency>
         <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-configuration-processor</artifactId>
+            <groupId>cn.afterturn</groupId>
+            <artifactId>easypoi-base</artifactId>
             <exclusions>
                 <exclusion>
-                    <groupId>org.springframework.boot</groupId>
-                    <artifactId>spring-boot-starter-logging</artifactId>
+                    <groupId>com.google.guava</groupId>
+                    <artifactId>guava</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.commons</groupId>
+                    <artifactId>commons-lang3</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>commons-codec</groupId>
+                    <artifactId>commons-codec</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.javassist</groupId>
+                    <artifactId>javassist</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>
+        <dependency>
+            <groupId>com.itextpdf</groupId>
+            <artifactId>itextpdf</artifactId>
+        </dependency>
         <dependency>
             <groupId>com.upyun</groupId>
             <artifactId>java-sdk</artifactId>
@@ -85,6 +138,10 @@
             <groupId>org.apache.commons</groupId>
             <artifactId>commons-lang3</artifactId>
         </dependency>
+        <dependency>
+            <groupId>commons-lang</groupId>
+            <artifactId>commons-lang</artifactId>
+        </dependency>
         <dependency>
             <groupId>commons-codec</groupId>
             <artifactId>commons-codec</artifactId>
@@ -97,31 +154,5 @@
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
         </dependency>
-        <dependency>
-            <groupId>com.google.code.findbugs</groupId>
-            <artifactId>jsr305</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>cn.afterturn</groupId>
-            <artifactId>easypoi-base</artifactId>
-            <exclusions>
-                <exclusion>
-                    <groupId>com.google.guava</groupId>
-                    <artifactId>guava</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.apache.commons</groupId>
-                    <artifactId>commons-lang3</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>commons-codec</groupId>
-                    <artifactId>commons-codec</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>com.itextpdf</groupId>
-            <artifactId>itextpdf</artifactId>
-        </dependency>
     </dependencies>
 </project>

+ 35 - 11
examcloud-core-print-service/pom.xml

@@ -17,25 +17,35 @@
             <artifactId>examcloud-core-print-dao</artifactId>
             <version>${examcloud.version}</version>
         </dependency>
+
+        <!-- rpc api start -->
         <dependency>
             <groupId>cn.com.qmth.examcloud.rpc</groupId>
             <artifactId>examcloud-core-print-api</artifactId>
             <version>${examcloud.version}</version>
             <exclusions>
                 <exclusion>
-                    <groupId>cn.com.qmth.examcloud.commons</groupId>
-                    <artifactId>examcloud-commons-web</artifactId>
+                    <groupId>cn.com.qmth.examcloud</groupId>
+                    <artifactId>examcloud-web</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>cn.com.qmth.examcloud</groupId>
+                    <artifactId>examcloud-api-commons</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>
         <dependency>
             <groupId>cn.com.qmth.examcloud.rpc</groupId>
-            <artifactId>examcloud-global-api</artifactId>
+            <artifactId>examcloud-global-api-client</artifactId>
             <version>${examcloud.version}</version>
             <exclusions>
                 <exclusion>
-                    <groupId>cn.com.qmth.examcloud.commons</groupId>
-                    <artifactId>examcloud-commons-web</artifactId>
+                    <groupId>cn.com.qmth.examcloud</groupId>
+                    <artifactId>examcloud-web</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>cn.com.qmth.examcloud</groupId>
+                    <artifactId>examcloud-api-commons</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>
@@ -45,8 +55,12 @@
             <version>${examcloud.version}</version>
             <exclusions>
                 <exclusion>
-                    <groupId>cn.com.qmth.examcloud.commons</groupId>
-                    <artifactId>examcloud-commons-web</artifactId>
+                    <groupId>cn.com.qmth.examcloud</groupId>
+                    <artifactId>examcloud-web</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>cn.com.qmth.examcloud</groupId>
+                    <artifactId>examcloud-api-commons</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>
@@ -56,8 +70,12 @@
             <version>${examcloud.version}</version>
             <exclusions>
                 <exclusion>
-                    <groupId>cn.com.qmth.examcloud.commons</groupId>
-                    <artifactId>examcloud-commons-web</artifactId>
+                    <groupId>cn.com.qmth.examcloud</groupId>
+                    <artifactId>examcloud-web</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>cn.com.qmth.examcloud</groupId>
+                    <artifactId>examcloud-api-commons</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>
@@ -67,10 +85,16 @@
             <version>${examcloud.version}</version>
             <exclusions>
                 <exclusion>
-                    <groupId>cn.com.qmth.examcloud.commons</groupId>
-                    <artifactId>examcloud-commons-web</artifactId>
+                    <groupId>cn.com.qmth.examcloud</groupId>
+                    <artifactId>examcloud-web</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>cn.com.qmth.examcloud</groupId>
+                    <artifactId>examcloud-api-commons</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>
+        <!-- rpc api end -->
+
     </dependencies>
 </project>

+ 1 - 0
examcloud-core-print-starter/pom.xml

@@ -17,6 +17,7 @@
             <artifactId>examcloud-core-print-provider</artifactId>
             <version>${examcloud.version}</version>
         </dependency>
+
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>

+ 10 - 0
pom.xml

@@ -48,6 +48,11 @@
                 <artifactId>commons-lang3</artifactId>
                 <version>3.8.1</version>
             </dependency>
+            <dependency>
+                <groupId>commons-lang</groupId>
+                <artifactId>commons-lang</artifactId>
+                <version>2.6</version>
+            </dependency>
             <dependency>
                 <groupId>commons-codec</groupId>
                 <artifactId>commons-codec</artifactId>
@@ -63,6 +68,11 @@
                 <artifactId>commons-io</artifactId>
                 <version>2.6</version>
             </dependency>
+            <dependency>
+                <groupId>commons-collections</groupId>
+                <artifactId>commons-collections</artifactId>
+                <version>3.2.2</version>
+            </dependency>
             <dependency>
                 <groupId>commons-fileupload</groupId>
                 <artifactId>commons-fileupload</artifactId>