This is an automated email from the ASF dual-hosted git repository. jin pushed a commit to branch release-1.0.0 in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git
commit edd8c836e5915d913b05612ae94151db38c0da9d Author: imbajin <j...@apache.org> AuthorDate: Thu Dec 15 18:58:47 2022 +0800 chore(dist): replace profile id & unify the dependencies/plugins --- hugegraph-client/pom.xml | 48 +-- hugegraph-dist/scripts/apache-release.sh | 5 +- hugegraph-hubble/hubble-be/pom.xml | 1 - hugegraph-hubble/hubble-dist/pom.xml | 1 - hugegraph-hubble/pom.xml | 1 - hugegraph-loader/pom.xml | 29 +- hugegraph-tools/pom.xml | 31 +- pom.xml | 705 ++++++++++++++++--------------- 8 files changed, 378 insertions(+), 443 deletions(-) diff --git a/hugegraph-client/pom.xml b/hugegraph-client/pom.xml index 15019628..422e5327 100644 --- a/hugegraph-client/pom.xml +++ b/hugegraph-client/pom.xml @@ -84,22 +84,17 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> - <version>2.4</version> <configuration> <archive> <index>true</index> <manifest> - <addDefaultImplementationEntries> - false - </addDefaultImplementationEntries> - <addDefaultSpecificationEntries> - true - </addDefaultSpecificationEntries> + <addDefaultImplementationEntries>false</addDefaultImplementationEntries> + <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> </manifest> <manifestEntries> <!-- Must be on one line, otherwise the automatic upgrade script cannot replace the version number --> - <Implementation-Version>2.0.1.0</Implementation-Version> + <Implementation-Version>${revision}</Implementation-Version> </manifestEntries> </archive> </configuration> @@ -138,55 +133,20 @@ <profiles> <profile> - <id>release</id> + <id>apache-release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> - <version>2.2.1</version> - <executions> - <execution> - <id>attach-sources</id> - <goals> - <goal>jar-no-fork</goal> - </goals> - </execution> - </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>2.9.1</version> - <executions> - <execution> - <id>attach-javadocs</id> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> - <version>1.5</version> - <executions> - <execution> - <id>sign-artifacts</id> - <phase>verify</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - <configuration> - <!-- Prevent `gpg` from using pinentry programs --> - <gpgArguments> - <arg>--pinentry-mode</arg> - <arg>loopback</arg> - </gpgArguments> - </configuration> </plugin> </plugins> </build> diff --git a/hugegraph-dist/scripts/apache-release.sh b/hugegraph-dist/scripts/apache-release.sh index 1a00c077..9d36366c 100755 --- a/hugegraph-dist/scripts/apache-release.sh +++ b/hugegraph-dist/scripts/apache-release.sh @@ -36,7 +36,7 @@ cd "${WORK_DIR}" || exit echo "In the work dir: $(pwd)" # clean old dir then build a new one -rm -rfv dist && mkdir -p dist/apache-${REPO} +rm -rf dist && mkdir -p dist/apache-${REPO} # step1: package the source code cd ../../ || exit @@ -62,10 +62,11 @@ done ##### 3.2 Generate SHA512 file shasum --version 1>/dev/null || exit for i in *.tar.gz; do - echo "$i" && shasum -a 512 "$i" >"$i".sha512 + shasum -a 512 "$i" | tee "$i".sha512 done #### 3.3 check signature & sha512 +echo "start to check signature & hashcode" for i in *.tar.gz; do echo "$i" gpg --verify "$i".asc "$i" || exit diff --git a/hugegraph-hubble/hubble-be/pom.xml b/hugegraph-hubble/hubble-be/pom.xml index 590e8a83..7d520ce8 100644 --- a/hugegraph-hubble/hubble-be/pom.xml +++ b/hugegraph-hubble/hubble-be/pom.xml @@ -180,7 +180,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> - <version>2.4</version> <configuration> <archive> <manifest> diff --git a/hugegraph-hubble/hubble-dist/pom.xml b/hugegraph-hubble/hubble-dist/pom.xml index 281e2d60..9de40921 100644 --- a/hugegraph-hubble/hubble-dist/pom.xml +++ b/hugegraph-hubble/hubble-dist/pom.xml @@ -104,7 +104,6 @@ </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> - <version>3.0.0</version> <configuration> <filesets> <fileset> diff --git a/hugegraph-hubble/pom.xml b/hugegraph-hubble/pom.xml index d8cba158..a3685908 100644 --- a/hugegraph-hubble/pom.xml +++ b/hugegraph-hubble/pom.xml @@ -67,7 +67,6 @@ <plugins> <plugin> <artifactId>maven-clean-plugin</artifactId> - <version>3.0.0</version> <configuration> <filesets> <fileset> diff --git a/hugegraph-loader/pom.xml b/hugegraph-loader/pom.xml index 419ec33c..4abfc528 100644 --- a/hugegraph-loader/pom.xml +++ b/hugegraph-loader/pom.xml @@ -546,7 +546,7 @@ </properties> </profile> <profile> - <id>release</id> + <id>apache-release</id> <build> <plugins> <plugin> @@ -606,17 +606,8 @@ <build> <plugins> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>${compiler.source}</source> - <target>${compiler.target}</target> - <compilerArguments> - <Xmaxerrs>500</Xmaxerrs> - </compilerArguments> - <compilerArgs> - <arg>-Xlint:unchecked</arg> - </compilerArgs> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -661,22 +652,8 @@ </executions> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> - <configuration> - <filesets> - <fileset> - <directory>${project.basedir}</directory> - <includes> - <include>*.tar.gz</include> - <include>${final.name}/**</include> - </includes> - <followSymlinks>false</followSymlinks> - </fileset> - <fileset> - <directory>${final.name}</directory> - </fileset> - </filesets> - </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> diff --git a/hugegraph-tools/pom.xml b/hugegraph-tools/pom.xml index b6bfc9a4..8f71b05a 100644 --- a/hugegraph-tools/pom.xml +++ b/hugegraph-tools/pom.xml @@ -191,12 +191,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.7.0</version> - <configuration> - <source>${java.version}</source> - <target>${java.version}</target> - <encoding>${project.build.sourceEncoding}</encoding> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -241,31 +235,16 @@ </executions> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> - <version>3.0.0</version> - <configuration> - <filesets> - <fileset> - <directory>${project.basedir}</directory> - <includes> - <include>*.tar.gz</include> - <include>${final.name}/**</include> - </includes> - <followSymlinks>false</followSymlinks> - </fileset> - <fileset> - <directory>${final.name}</directory> - </fileset> - </filesets> - </configuration> </plugin> </plugins> </build> <profiles> - <!-- mvn clean install -Prelease --> + <!-- mvn clean install -Papache-release --> <profile> - <id>release</id> + <id>apache-release</id> <build> <plugins> <plugin> @@ -297,8 +276,8 @@ <plugin> <artifactId>maven-release-plugin</artifactId> <configuration> - <!-- Pass these arguments to the deploy plugin. --> - <arguments>-Prelease</arguments> + <!-- Pass these arguments to the deployment plugin. --> + <arguments>-Papache-release</arguments> </configuration> </plugin> <plugin> diff --git a/pom.xml b/pom.xml index a7780301..eb0b5f2c 100644 --- a/pom.xml +++ b/pom.xml @@ -143,351 +143,372 @@ <!-- </dependency>--> </dependencies> -<!-- <profiles>--> -<!-- <profile>--> -<!-- <id>release</id>--> -<!-- <build>--> -<!-- <plugins>--> -<!-- <plugin>--> -<!-- <groupId>org.apache.maven.plugins</groupId>--> -<!-- <artifactId>maven-source-plugin</artifactId>--> -<!-- <version>2.2.1</version>--> -<!-- <executions>--> -<!-- <execution>--> -<!-- <id>attach-sources</id>--> -<!-- <goals>--> -<!-- <goal>jar-no-fork</goal>--> -<!-- </goals>--> -<!-- </execution>--> -<!-- </executions>--> -<!-- </plugin>--> -<!-- <plugin>--> -<!-- <groupId>org.apache.maven.plugins</groupId>--> -<!-- <artifactId>maven-javadoc-plugin</artifactId>--> -<!-- <version>2.9.1</version>--> -<!-- <executions>--> -<!-- <execution>--> -<!-- <id>attach-javadocs</id>--> -<!-- <goals>--> -<!-- <goal>jar</goal>--> -<!-- </goals>--> -<!-- </execution>--> -<!-- </executions>--> -<!-- <configuration>--> -<!-- <additionalJOptions>--> -<!-- <additionalJOption>-Xdoclint:none</additionalJOption>--> -<!-- </additionalJOptions>--> -<!-- </configuration>--> -<!-- </plugin>--> -<!-- <plugin>--> -<!-- <groupId>org.apache.maven.plugins</groupId>--> -<!-- <artifactId>maven-gpg-plugin</artifactId>--> -<!-- <version>1.5</version>--> -<!-- <executions>--> -<!-- <execution>--> -<!-- <id>sign-artifacts</id>--> -<!-- <phase>verify</phase>--> -<!-- <goals>--> -<!-- <goal>sign</goal>--> -<!-- </goals>--> -<!-- </execution>--> -<!-- </executions>--> -<!-- <configuration>--> -<!-- <!– Prevent `gpg` from using pinentry programs –>--> -<!-- <gpgArguments>--> -<!-- <arg>--pinentry-mode</arg>--> -<!-- <arg>loopback</arg>--> -<!-- </gpgArguments>--> -<!-- </configuration>--> -<!-- </plugin>--> -<!-- </plugins>--> -<!-- </build>--> -<!-- </profile>--> -<!-- </profiles>--> + <profiles> + <profile> + <id>apache-release</id> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar-no-fork</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <executions> + <execution> + <id>attach-javadocs</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + <configuration> + <doclint>none</doclint> + <failOnError>false</failOnError> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + <configuration> + <!-- Prevent `gpg` from using pinentry programs --> + <gpgArguments> + <arg>--pinentry-mode</arg> + <arg>loopback</arg> + </gpgArguments> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> + </profiles> <build> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>license-maven-plugin</artifactId> - <version>1.19</version> - <executions> - <execution> - <id>default-cli</id> - <configuration> - <!-- Accept the pom module --> - <acceptPomPackaging>true</acceptPomPackaging> - <!-- Using the template which is grouped by License file --> - <fileTemplate>/org/codehaus/mojo/license/third-party-file-groupByMultiLicense.ftl</fileTemplate> - <licenseMerges> - <licenseMerge>The Apache Software License, Version 2.0|The Apache License, Version 2.0</licenseMerge> - <licenseMerge>The Apache Software License, Version 2.0|Apache License, Version 2.0</licenseMerge> - <licenseMerge>The Apache Software License, Version 2.0|Apache Public License 2.0</licenseMerge> - <licenseMerge>The Apache Software License, Version 2.0|Apache 2</licenseMerge> - <licenseMerge>The Apache Software License, Version 2.0|Apache 2.0</licenseMerge> - <licenseMerge>The Apache Software License, Version 2.0|Apache-2.0</licenseMerge> - <licenseMerge>The Apache Software License, Version 2.0|Apache License 2.0</licenseMerge> - <licenseMerge>The Apache Software License, Version 2.0|Apache License, version 2.0</licenseMerge> - <licenseMerge>3-Clause BSD License|BSD 3-clause</licenseMerge> - <licenseMerge>3-Clause BSD License|BSD 3-Clause</licenseMerge> - <licenseMerge>Eclipse Public License v1.0|Eclipse Public License 1.0</licenseMerge> - <licenseMerge>Eclipse Public License v1.0|Eclipse Public License - v 1.0</licenseMerge> - <licenseMerge>The MIT License|MIT License</licenseMerge> - </licenseMerges> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> - <configuration> - <source>${compiler.source}</source> - <target>${compiler.target}</target> - <compilerArguments> - <Xmaxerrs>500</Xmaxerrs> - </compilerArguments> - <compilerArgs> - <arg>-Xlint:unchecked</arg> - </compilerArgs> - </configuration> - </plugin> -<!-- <plugin>--> -<!-- <groupId>org.apache.maven.plugins</groupId>--> -<!-- <artifactId>maven-assembly-plugin</artifactId>--> -<!-- <version>2.4</version>--> -<!-- <executions>--> -<!-- <execution>--> -<!-- <id>assembly-hugegraph-toolchain</id>--> -<!-- <phase>package</phase>--> -<!-- <goals>--> -<!-- <goal>single</goal>--> -<!-- </goals>--> -<!-- <configuration>--> -<!-- <attach>false</attach>--> -<!-- <appendAssemblyId>false</appendAssemblyId>--> -<!-- <outputDirectory>${project.basedir}</outputDirectory>--> -<!-- <descriptor>${assembly.descriptor.dir}/assembly.xml</descriptor>--> -<!-- <finalName>${final.name}</finalName>--> -<!-- </configuration>--> -<!-- </execution>--> -<!-- </executions>--> -<!-- </plugin>--> -<!-- <plugin>--> -<!-- <artifactId>maven-antrun-plugin</artifactId>--> -<!-- <executions>--> -<!-- <execution>--> -<!-- <phase>package</phase>--> -<!-- <goals>--> -<!-- <goal>run</goal>--> -<!-- </goals>--> -<!-- <configuration>--> -<!-- <tasks>--> -<!-- <echo file="${project.basedir}/dist.sh">--> -<!-- tar -zcvf \--> -<!-- ${project.basedir}/${final.name}.tar.gz ${final.name} || exit 1--> -<!-- rm -f ${project.basedir}/dist.sh--> -<!-- echo -n "hugegraph-loader tar.gz available at: "--> -<!-- echo "${project.basedir}/${final.name}.tar.gz"--> -<!-- </echo>--> -<!-- <exec executable="${shell-executable}"--> -<!-- dir="${project.basedir}" failonerror="true">--> -<!-- <arg line="./dist.sh"/>--> -<!-- </exec>--> -<!-- </tasks>--> -<!-- </configuration>--> -<!-- </execution>--> -<!-- </executions>--> -<!-- </plugin>--> -<!-- <plugin>--> -<!-- <artifactId>maven-clean-plugin</artifactId>--> -<!-- <version>3.0.0</version>--> -<!-- <configuration>--> -<!-- <filesets>--> -<!-- <fileset>--> -<!-- <directory>${project.basedir}</directory>--> -<!-- <includes>--> -<!-- <include>*.tar.gz</include>--> -<!-- <include>${final.name}/**</include>--> -<!-- </includes>--> -<!-- <followSymlinks>false</followSymlinks>--> -<!-- </fileset>--> -<!-- <fileset>--> -<!-- <directory>${final.name}</directory>--> -<!-- </fileset>--> -<!-- </filesets>--> -<!-- </configuration>--> -<!-- </plugin>--> -<!-- <plugin>--> -<!-- <groupId>org.jacoco</groupId>--> -<!-- <artifactId>jacoco-maven-plugin</artifactId>--> -<!-- <version>0.8.4</version>--> -<!-- <executions>--> -<!-- <execution>--> -<!-- <id>pre-unit-test</id>--> -<!-- <goals>--> -<!-- <goal>prepare-agent</goal>--> -<!-- </goals>--> -<!-- </execution>--> -<!-- <execution>--> -<!-- <id>post-unit-test</id>--> -<!-- <phase>test</phase>--> -<!-- <goals>--> -<!-- <goal>report</goal>--> -<!-- </goals>--> -<!-- <configuration>--> -<!-- <outputDirectory>--> -<!-- ${project.build.directory}--> -<!-- </outputDirectory>--> -<!-- </configuration>--> -<!-- </execution>--> -<!-- </executions>--> -<!-- </plugin>--> -<!-- <plugin>--> -<!-- <groupId>org.codehaus.mojo</groupId>--> -<!-- <artifactId>properties-maven-plugin</artifactId>--> -<!-- <version>1.0.0</version>--> -<!-- <executions>--> -<!-- <execution>--> -<!-- <phase>generate-resources</phase>--> -<!-- <goals>--> -<!-- <goal>write-project-properties</goal>--> -<!-- </goals>--> -<!-- <configuration>--> -<!-- <outputFile>--> -<!-- ${project.build.testOutputDirectory}/profile.properties--> -<!-- </outputFile>--> -<!-- </configuration>--> -<!-- </execution>--> -<!-- </executions>--> -<!-- </plugin>--> -<!-- <plugin>--> -<!-- <groupId>org.apache.maven.plugins</groupId>--> -<!-- <artifactId>maven-resources-plugin</artifactId>--> -<!-- <version>2.7</version>--> -<!-- <configuration>--> -<!-- <encoding>UTF-8</encoding>--> -<!-- <nonFilteredFileExtensions>--> -<!-- <nonFilteredFileExtension>parquet</nonFilteredFileExtension>--> -<!-- </nonFilteredFileExtensions>--> -<!-- </configuration>--> -<!-- </plugin>--> -<!-- <plugin>--> -<!-- <groupId>org.apache.maven.plugins</groupId>--> -<!-- <artifactId>maven-surefire-plugin</artifactId>--> -<!-- <version>2.20</version>--> -<!-- <configuration>--> -<!-- <includes>--> -<!-- <include>${test-classes}</include>--> -<!-- </includes>--> -<!-- </configuration>--> -<!-- </plugin>--> -<!-- TODO: after all modules fix checkstyle, enable it in root again --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>3.1.2</version> - <dependencies> - <dependency> - <groupId>com.puppycrawl.tools</groupId> - <artifactId>checkstyle</artifactId> - <version>8.45</version> - </dependency> - </dependencies> - <configuration> - <configLocation>checkstyle.xml</configLocation> - <encoding>UTF-8</encoding> - <consoleOutput>true</consoleOutput> - <failsOnError>true</failsOnError> - <linkXRef>false</linkXRef> - <includeTestSourceDirectory>false</includeTestSourceDirectory> - </configuration> - <executions> - <execution> - <id>validate</id> - <phase>validate</phase> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - </plugin> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>license-maven-plugin</artifactId> + <version>1.19</version> + <executions> + <execution> + <id>default-cli</id> + <configuration> + <!-- Accept the pom module --> + <acceptPomPackaging>true</acceptPomPackaging> + <!-- Using the template which is grouped by License file --> + <fileTemplate> + /org/codehaus/mojo/license/third-party-file-groupByMultiLicense.ftl + </fileTemplate> + <licenseMerges> + <licenseMerge>The Apache Software License, Version 2.0|The + Apache License, Version 2.0 + </licenseMerge> + <licenseMerge>The Apache Software License, Version 2.0|Apache + License, Version 2.0 + </licenseMerge> + <licenseMerge>The Apache Software License, Version 2.0|Apache + Public License 2.0 + </licenseMerge> + <licenseMerge>The Apache Software License, Version 2.0|Apache + 2 + </licenseMerge> + <licenseMerge>The Apache Software License, Version 2.0|Apache + 2.0 + </licenseMerge> + <licenseMerge>The Apache Software License, Version + 2.0|Apache-2.0 + </licenseMerge> + <licenseMerge>The Apache Software License, Version 2.0|Apache + License 2.0 + </licenseMerge> + <licenseMerge>The Apache Software License, Version 2.0|Apache + License, version 2.0 + </licenseMerge> + <licenseMerge>3-Clause BSD License|BSD 3-clause</licenseMerge> + <licenseMerge>3-Clause BSD License|BSD 3-Clause</licenseMerge> + <licenseMerge>Eclipse Public License v1.0|Eclipse Public License + 1.0 + </licenseMerge> + <licenseMerge>Eclipse Public License v1.0|Eclipse Public License + - v 1.0 + </licenseMerge> + <licenseMerge>The MIT License|MIT License</licenseMerge> + </licenseMerges> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>${compiler.source}</source> + <target>${compiler.target}</target> + <encoding>${project.build.sourceEncoding}</encoding> + <compilerArguments> + <Xmaxerrs>500</Xmaxerrs> + </compilerArguments> + <compilerArgs> + <arg>-Xlint:unchecked</arg> + </compilerArgs> + </configuration> + </plugin> + <!-- <plugin>--> + <!-- <groupId>org.apache.maven.plugins</groupId>--> + <!-- <artifactId>maven-assembly-plugin</artifactId>--> + <!-- <version>2.4</version>--> + <!-- <executions>--> + <!-- <execution>--> + <!-- <id>assembly-hugegraph-toolchain</id>--> + <!-- <phase>package</phase>--> + <!-- <goals>--> + <!-- <goal>single</goal>--> + <!-- </goals>--> + <!-- <configuration>--> + <!-- <attach>false</attach>--> + <!-- <appendAssemblyId>false</appendAssemblyId>--> + <!-- <outputDirectory>${project.basedir}</outputDirectory>--> + <!-- <descriptor>${assembly.descriptor.dir}/assembly.xml</descriptor>--> + <!-- <finalName>${final.name}</finalName>--> + <!-- </configuration>--> + <!-- </execution>--> + <!-- </executions>--> + <!-- </plugin>--> + <!-- <plugin>--> + <!-- <artifactId>maven-antrun-plugin</artifactId>--> + <!-- <executions>--> + <!-- <execution>--> + <!-- <phase>package</phase>--> + <!-- <goals>--> + <!-- <goal>run</goal>--> + <!-- </goals>--> + <!-- <configuration>--> + <!-- <tasks>--> + <!-- <echo file="${project.basedir}/dist.sh">--> + <!-- tar -zcvf \--> + <!-- ${project.basedir}/${final.name}.tar.gz ${final.name} || exit 1--> + <!-- rm -f ${project.basedir}/dist.sh--> + <!-- echo -n "hugegraph-loader tar.gz available at: "--> + <!-- echo "${project.basedir}/${final.name}.tar.gz"--> + <!-- </echo>--> + <!-- <exec executable="${shell-executable}"--> + <!-- dir="${project.basedir}" failonerror="true">--> + <!-- <arg line="./dist.sh"/>--> + <!-- </exec>--> + <!-- </tasks>--> + <!-- </configuration>--> + <!-- </execution>--> + <!-- </executions>--> + <!-- </plugin>--> + <plugin> + <artifactId>maven-clean-plugin</artifactId> + <configuration> + <filesets> + <fileset> + <directory>${project.basedir}</directory> + <includes> + <include>*.tar.gz</include> + <include>${final.name}/**</include> + <include>.flattened-pom.xml</include> + </includes> + <followSymlinks>false</followSymlinks> + </fileset> + <fileset> + <directory>${final.name}</directory> + </fileset> + </filesets> + </configuration> + </plugin> + <!-- <plugin>--> + <!-- <groupId>org.jacoco</groupId>--> + <!-- <artifactId>jacoco-maven-plugin</artifactId>--> + <!-- <version>0.8.4</version>--> + <!-- <executions>--> + <!-- <execution>--> + <!-- <id>pre-unit-test</id>--> + <!-- <goals>--> + <!-- <goal>prepare-agent</goal>--> + <!-- </goals>--> + <!-- </execution>--> + <!-- <execution>--> + <!-- <id>post-unit-test</id>--> + <!-- <phase>test</phase>--> + <!-- <goals>--> + <!-- <goal>report</goal>--> + <!-- </goals>--> + <!-- <configuration>--> + <!-- <outputDirectory>--> + <!-- ${project.build.directory}--> + <!-- </outputDirectory>--> + <!-- </configuration>--> + <!-- </execution>--> + <!-- </executions>--> + <!-- </plugin>--> + <!-- <plugin>--> + <!-- <groupId>org.codehaus.mojo</groupId>--> + <!-- <artifactId>properties-maven-plugin</artifactId>--> + <!-- <version>1.0.0</version>--> + <!-- <executions>--> + <!-- <execution>--> + <!-- <phase>generate-resources</phase>--> + <!-- <goals>--> + <!-- <goal>write-project-properties</goal>--> + <!-- </goals>--> + <!-- <configuration>--> + <!-- <outputFile>--> + <!-- ${project.build.testOutputDirectory}/profile.properties--> + <!-- </outputFile>--> + <!-- </configuration>--> + <!-- </execution>--> + <!-- </executions>--> + <!-- </plugin>--> + <!-- <plugin>--> + <!-- <groupId>org.apache.maven.plugins</groupId>--> + <!-- <artifactId>maven-resources-plugin</artifactId>--> + <!-- <version>2.7</version>--> + <!-- <configuration>--> + <!-- <encoding>UTF-8</encoding>--> + <!-- <nonFilteredFileExtensions>--> + <!-- <nonFilteredFileExtension>parquet</nonFilteredFileExtension>--> + <!-- </nonFilteredFileExtensions>--> + <!-- </configuration>--> + <!-- </plugin>--> + <!-- <plugin>--> + <!-- <groupId>org.apache.maven.plugins</groupId>--> + <!-- <artifactId>maven-surefire-plugin</artifactId>--> + <!-- <version>2.20</version>--> + <!-- <configuration>--> + <!-- <includes>--> + <!-- <include>${test-classes}</include>--> + <!-- </includes>--> + <!-- </configuration>--> + <!-- </plugin>--> + <!-- TODO: after all modules fix checkstyle, enable it in root again --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>3.1.2</version> + <dependencies> + <dependency> + <groupId>com.puppycrawl.tools</groupId> + <artifactId>checkstyle</artifactId> + <version>8.45</version> + </dependency> + </dependencies> + <configuration> + <configLocation>checkstyle.xml</configLocation> + <encoding>UTF-8</encoding> + <consoleOutput>true</consoleOutput> + <failsOnError>true</failsOnError> + <linkXRef>false</linkXRef> + <includeTestSourceDirectory>false</includeTestSourceDirectory> + </configuration> + <executions> + <execution> + <id>validate</id> + <phase>validate</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> - <!-- Apache RAT for license check --> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <version>0.15</version> - <configuration> - <excludes> - <exclude>**/*.versionsBackup</exclude> - <exclude>**/*.log</exclude> - <exclude>**/*.txt</exclude> - <exclude>**/*.csv</exclude> - <exclude>**/*.json</exclude> - <exclude>**/*.conf</exclude> - <exclude>**/*.properties</exclude> - <exclude>**/*.gitattributes</exclude> - <exclude>dist/**/*</exclude> - <exclude>docs/**/*</exclude> - <exclude>scripts/dev/reviewers</exclude> - <exclude>**/*.md</exclude> - <exclude>**/dependency-reduced-pom.xml</exclude> - <exclude>**/.flattened-pom.xml</exclude> - <exclude>**/logs/*.log</exclude> - <exclude>**/target/*</exclude> - <exclude>style/*</exclude> - <exclude>ChangeLog</exclude> - <exclude>CONFIG.ini</exclude> - <exclude>GROUPS</exclude> - <exclude>OWNERS</exclude> - <!-- GitHub --> - <exclude>.github/**/*</exclude> - <!-- Intellij --> - <exclude>**/*.iml</exclude> - <exclude>**/*.iws</exclude> - <exclude>**/*.ipr</exclude> - <exclude>**/META-INF/MANIFEST.MF</exclude> - <!-- Maven --> - <exclude>.repository/**</exclude> - <exclude>**/.flattened-pom.xml</exclude> - </excludes> - <consoleOutput>true</consoleOutput> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>flatten-maven-plugin</artifactId> - <version>1.3.0</version> - <configuration> - <updatePomFile>true</updatePomFile> - <flattenMode>resolveCiFriendliesOnly</flattenMode> - </configuration> - <executions> - <execution> - <id>flatten</id> - <phase>process-resources</phase> - <goals> - <goal>flatten</goal> - </goals> - </execution> - <execution> - <id>flatten.clean</id> - <phase>clean</phase> - <goals> - <goal>clean</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - -<!-- <testResources>--> -<!-- <testResource>--> -<!-- <directory>src/test/resources/</directory>--> -<!-- <filtering>true</filtering>--> -<!-- </testResource>--> -<!-- </testResources>--> + <!-- Apache RAT for license check --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>**/*.versionsBackup</exclude> + <exclude>**/*.log</exclude> + <exclude>**/*.txt</exclude> + <exclude>**/*.csv</exclude> + <exclude>**/*.json</exclude> + <exclude>**/*.conf</exclude> + <exclude>**/*.properties</exclude> + <exclude>**/*.gitattributes</exclude> + <exclude>dist/**/*</exclude> + <exclude>docs/**/*</exclude> + <exclude>scripts/dev/reviewers</exclude> + <exclude>**/*.md</exclude> + <exclude>**/dependency-reduced-pom.xml</exclude> + <exclude>**/.flattened-pom.xml</exclude> + <exclude>**/logs/*.log</exclude> + <exclude>**/target/*</exclude> + <exclude>style/*</exclude> + <exclude>ChangeLog</exclude> + <exclude>CONFIG.ini</exclude> + <exclude>GROUPS</exclude> + <exclude>OWNERS</exclude> + <!-- GitHub --> + <exclude>.github/**/*</exclude> + <!-- Intellij --> + <exclude>**/*.iml</exclude> + <exclude>**/*.iws</exclude> + <exclude>**/*.ipr</exclude> + <exclude>**/META-INF/MANIFEST.MF</exclude> + <!-- Maven --> + <exclude>.repository/**</exclude> + <exclude>**/.flattened-pom.xml</exclude> + </excludes> + <consoleOutput>true</consoleOutput> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>flatten-maven-plugin</artifactId> + <version>1.3.0</version> + <configuration> + <updatePomFile>true</updatePomFile> + <flattenMode>resolveCiFriendliesOnly</flattenMode> + </configuration> + <executions> + <execution> + <id>flatten</id> + <phase>process-resources</phase> + <goals> + <goal>flatten</goal> + </goals> + </execution> + <execution> + <id>flatten.clean</id> + <phase>clean</phase> + <goals> + <goal>clean</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </pluginManagement> + <!-- <testResources>--> + <!-- <testResource>--> + <!-- <directory>src/test/resources/</directory>--> + <!-- <filtering>true</filtering>--> + <!-- </testResource>--> + <!-- </testResources>--> </build> <repositories>