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

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


The following commit(s) were added to refs/heads/master by this push:
     new 70a2100f fix(dist): bin package lack execute permission (#394)
70a2100f is described below

commit 70a2100f41c2e85bdf51aa5766b7921a9febf49f
Author: 青年 <[email protected]>
AuthorDate: Fri Dec 9 15:55:49 2022 +0800

    fix(dist): bin package lack execute permission (#394)
---
 hugegraph-loader/pom.xml | 10 ++++++----
 hugegraph-tools/pom.xml  | 15 ++++++---------
 2 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/hugegraph-loader/pom.xml b/hugegraph-loader/pom.xml
index a9f225b0..419ec33c 100644
--- a/hugegraph-loader/pom.xml
+++ b/hugegraph-loader/pom.xml
@@ -649,10 +649,12 @@
                         </goals>
                         <configuration>
                             <target>
-                                <tar 
destfile="${project.basedir}/${final.name}.tar.gz"
-                                     basedir="${project.basedir}"
-                                     includes="${final.name}/**"
-                                     compression="gzip"/>
+                                <tar 
destfile="${project.basedir}/target/${final.name}.tar.gz"
+                                     compression="gzip">
+                                    <tarfileset dir="${project.basedir}" 
filemode="755">
+                                        <include name="${final.name}/**"/>
+                                    </tarfileset>
+                                </tar>
                             </target>
                         </configuration>
                     </execution>
diff --git a/hugegraph-tools/pom.xml b/hugegraph-tools/pom.xml
index b9c6ff4a..b6bfc9a4 100644
--- a/hugegraph-tools/pom.xml
+++ b/hugegraph-tools/pom.xml
@@ -187,11 +187,6 @@
     </dependencies>
 
     <build>
-        <directory>output</directory>
-        <sourceDirectory>src/main/java</sourceDirectory>
-        <!--<testSourceDirectory>src/test/java</testSourceDirectory>-->
-        <outputDirectory>output/classes</outputDirectory>
-        <!--<testOutputDirectory>output/test-classes</testOutputDirectory>-->
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
@@ -234,10 +229,12 @@
                         </goals>
                         <configuration>
                             <target>
-                                <tar 
destfile="${project.basedir}/${final.name}.tar.gz"
-                                     basedir="${project.basedir}"
-                                     includes="${final.name}/**"
-                                     compression="gzip"/>
+                                <tar 
destfile="${project.basedir}/target/${final.name}.tar.gz"
+                                     compression="gzip">
+                                    <tarfileset dir="${project.basedir}" 
filemode="755">
+                                        <include name="${final.name}/**"/>
+                                    </tarfileset>
+                                </tar>
                             </target>
                         </configuration>
                     </execution>

Reply via email to