Forráskód Böngészése

增加生成源码包

luoguangyi 2 éve
szülő
commit
5105d32209

+ 17 - 1
pom.xml

@@ -9,7 +9,7 @@
     </parent>
     <groupId>com.sagacloud</groupId>
     <artifactId>compute-engine</artifactId>
-    <version>2.3.3.341</version>
+    <version>2.3.3.342</version>
     <packaging>jar</packaging>
     <name>compute-engine</name>
     <properties>
@@ -143,6 +143,22 @@
                 <artifactId>spring-boot-maven-plugin</artifactId>
                 <version>${spring-boot.version}</version>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <version>${maven-source-plugin.version}</version>
+                <configuration>
+                    <attach>true</attach>
+                </configuration>
+                <executions>
+                    <execution>
+                        <phase>compile</phase>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
             <!--拷贝资源文件 copy-resources-->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>

+ 0 - 5
src/main/java/com/sagacloud/util/compute_engine/fjd/TableUtil.java

@@ -1,6 +1,5 @@
 package com.sagacloud.util.compute_engine.fjd;
 
-import cn.hutool.core.io.FileUtil;
 import cn.hutool.core.io.resource.ResourceUtil;
 import com.alibaba.fastjson.JSONArray;
 import com.alibaba.fastjson.JSONObject;
@@ -9,12 +8,8 @@ import com.sagacloud.repository.HBaseSaveManagerRepository;
 import com.sagacloud.util.compute_engine.util.ConstantCE;
 import com.sagacloud.util.compute_engine.util.QueryUtil;
 import lombok.extern.slf4j.Slf4j;
-import org.zillion.util.json.FastJsonReaderUtil;
 import org.zillion.util.json.FastJsonUtil;
 
-import java.io.File;
-import java.io.InputStreamReader;
-import java.io.Reader;
 import java.util.ArrayList;
 import java.util.List;