This is an automated email from the ASF dual-hosted git repository.
jermy 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 4d70db99 Add maven-clean-plugin for hubble (#335)
4d70db99 is described below
commit 4d70db99b1d4a9bc81213de3bf36a9e13015f56d
Author: Simon Cheung <[email protected]>
AuthorDate: Thu Oct 13 23:16:49 2022 +0800
Add maven-clean-plugin for hubble (#335)
---
hugegraph-dist/pom.xml | 8 +++-----
hugegraph-hubble/pom.xml | 19 +++++++++++++++++++
2 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/hugegraph-dist/pom.xml b/hugegraph-dist/pom.xml
index c29e5c75..507350a2 100644
--- a/hugegraph-dist/pom.xml
+++ b/hugegraph-dist/pom.xml
@@ -34,12 +34,10 @@
ls
${project.parent.basedir}/hugegraph-loader/*
ls
${project.parent.basedir}/hugegraph-tools/*
- \cp -r
${project.parent.basedir}/hugegraph-hubble/hugegraph-hubble ${project.basedir}
- \cp -r
${project.parent.basedir}/hugegraph-loader/hugegraph-loader-${project.version}
${project.basedir}
- \cp -r
${project.parent.basedir}/hugegraph-tools/hugegraph-tools-${project.version}
${project.basedir}
-
tar -zcvf
${project.parent.basedir}/${final.name}.tar.gz \
- hugegraph-hubble hugegraph-loader-*
hugegraph-tools-* || exit 1
+
${project.parent.basedir}/hugegraph-hubble/hugegraph-hubble \
+
${project.parent.basedir}/hugegraph-loader/hugegraph-loader-${project.version} \
+
${project.parent.basedir}/hugegraph-tools/hugegraph-tools-${project.version} ||
exit 1
md5sum
${project.parent.basedir}/${final.name}.tar.gz
echo -n "hugegraph-toolchain tar.gz
available at: "
diff --git a/hugegraph-hubble/pom.xml b/hugegraph-hubble/pom.xml
index f4db4e68..18a8a2c7 100644
--- a/hugegraph-hubble/pom.xml
+++ b/hugegraph-hubble/pom.xml
@@ -41,4 +41,23 @@
</dependencies>
</dependencyManagement>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>3.0.0</version>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>${project.artifactId}</directory>
+ </fileset>
+ <fileset>
+
<directory>hubble-dist/${project.artifactId}</directory>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
</project>