This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new df10532d701 Repair the error reported by the shade (#18031)
df10532d701 is described below

commit df10532d7010b83ab5dbab0d9463b2fc4bb775ed
Author: Long Tai <[email protected]>
AuthorDate: Sat May 28 22:39:23 2022 +0800

    Repair the error reported by the shade (#18031)
    
    * Repair agent related source package not found
    
    * Repair could not find listenablefuture:jar:sources
---
 pom.xml                                                   | 7 +++++++
 shardingsphere-agent/shardingsphere-agent-plugins/pom.xml | 1 -
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 55bcb509125..e427142739e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,6 +60,7 @@
         <shade.package>org.apache.shardingsphere.dependencies</shade.package>
         
         <guava.version>30.0-jre</guava.version>
+        <guava-listenablefuture.version>1.0</guava-listenablefuture.version>
         <commons-lang3.version>3.8</commons-lang3.version>
         <commons-collections4.version>4.4</commons-collections4.version>
         <commons-codec.version>1.15</commons-codec.version>
@@ -689,6 +690,12 @@
                 <artifactId>caffeine</artifactId>
                 <version>${caffeine.version}</version>
             </dependency>
+            
+            <dependency>
+                <groupId>com.google.guava</groupId>
+                <artifactId>listenablefuture</artifactId>
+                <version>${guava-listenablefuture.version}</version>
+            </dependency>
         </dependencies>
     </dependencyManagement>
     
diff --git a/shardingsphere-agent/shardingsphere-agent-plugins/pom.xml 
b/shardingsphere-agent/shardingsphere-agent-plugins/pom.xml
index 9bfd1614d64..71b5d8e80f0 100644
--- a/shardingsphere-agent/shardingsphere-agent-plugins/pom.xml
+++ b/shardingsphere-agent/shardingsphere-agent-plugins/pom.xml
@@ -64,7 +64,6 @@
                         <configuration>
                             
<shadedArtifactAttached>false</shadedArtifactAttached>
                             
<createDependencyReducedPom>true</createDependencyReducedPom>
-                            <createSourcesJar>true</createSourcesJar>
                             <shadeSourcesContent>true</shadeSourcesContent>
                             <artifactSet>
                                 <excludes>

Reply via email to