You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by go...@apache.org on 2021/12/15 10:34:18 UTC

[incubator-inlong] branch master updated: [INLONG-1997][Bug][InLong-DataProxy] modify build can not create lib package error (#2003)

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

gosonzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new d3377e4  [INLONG-1997][Bug][InLong-DataProxy] modify build can not create lib package error (#2003)
d3377e4 is described below

commit d3377e41ff0807aac39fe5463d9202c7891db4de
Author: baomingyu <ba...@163.com>
AuthorDate: Wed Dec 15 18:34:14 2021 +0800

    [INLONG-1997][Bug][InLong-DataProxy] modify build can not create lib package error (#2003)
---
 inlong-dataproxy/dataproxy-dist/pom.xml                        | 1 +
 inlong-dataproxy/dataproxy-dist/src/main/assembly/assembly.xml | 8 +++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/inlong-dataproxy/dataproxy-dist/pom.xml b/inlong-dataproxy/dataproxy-dist/pom.xml
index 96db136..d5349d9 100644
--- a/inlong-dataproxy/dataproxy-dist/pom.xml
+++ b/inlong-dataproxy/dataproxy-dist/pom.xml
@@ -60,6 +60,7 @@
                         </goals>
                         <configuration>
                             <finalName>apache-inlong-dataproxy-${project.version}</finalName>
+                            <appendAssemblyId>false</appendAssemblyId>q
                             <descriptors>
                                 <descriptor>src/main/assembly/assembly.xml</descriptor>
                             </descriptors>
diff --git a/inlong-dataproxy/dataproxy-dist/src/main/assembly/assembly.xml b/inlong-dataproxy/dataproxy-dist/src/main/assembly/assembly.xml
index 7508f91..ce92298 100644
--- a/inlong-dataproxy/dataproxy-dist/src/main/assembly/assembly.xml
+++ b/inlong-dataproxy/dataproxy-dist/src/main/assembly/assembly.xml
@@ -25,10 +25,16 @@
     <id>bin</id>
 
     <formats>
-        <format>dir</format>
         <format>tar.gz</format>
     </formats>
     <includeBaseDirectory>false</includeBaseDirectory>
+    <dependencySets>
+        <dependencySet>
+            <outputDirectory>lib</outputDirectory>
+            <unpack>false</unpack>
+            <useProjectArtifact>true</useProjectArtifact>
+        </dependencySet>
+    </dependencySets>
 
     <fileSets>
         <fileSet>