diff --git a/hugegraph-common/pom.xml b/hugegraph-common/pom.xml index cba4fefe0..b75cdc540 100644 --- a/hugegraph-common/pom.xml +++ b/hugegraph-common/pom.xml @@ -210,39 +210,12 @@ + org.apache.maven.plugins maven-compiler-plugin - - ${compiler.source} - ${compiler.target} - - 500 - - - -Xlint:unchecked - - org.apache.maven.plugins maven-jar-plugin - - - true - - - false - - - true - - - - - ${project.version} - - - @@ -273,45 +246,20 @@ - release + apache-release org.apache.maven.plugins maven-source-plugin - - - attach-sources - - jar-no-fork - - - org.apache.maven.plugins maven-javadoc-plugin - - - attach-javadocs - - jar - - - org.apache.maven.plugins maven-gpg-plugin - - - sign-artifacts - verify - - sign - - - diff --git a/hugegraph-dist/scripts/apache-release.sh b/hugegraph-dist/scripts/apache-release.sh index da29e3f1b..3a4c80091 100755 --- a/hugegraph-dist/scripts/apache-release.sh +++ b/hugegraph-dist/scripts/apache-release.sh @@ -28,12 +28,15 @@ GIT_BRANCH="release-${RELEASE_VERSION}" RELEASE_VERSION=${RELEASE_VERSION:?"Please input the release version behind script"} -WORK_DIR=$(cd "$(dirname "$0")" || exit; pwd) +WORK_DIR=$( + cd "$(dirname "$0")" || exit + pwd +) 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 @@ -92,9 +95,10 @@ svn status ##### 4.3 commit & push files if [ "$USERNAME" = "" ]; then - svn commit -m "submit files for ${REPO} ${RELEASE_VERSION}" + svn commit -m "submit files for ${REPO} ${RELEASE_VERSION}" || exit else - svn commit -m "submit files for ${REPO} ${RELEASE_VERSION}" --username "${USERNAME}" --password "${PASSWORD}" + svn commit -m "submit files for ${REPO} ${RELEASE_VERSION}" \ + --username "${USERNAME}" --password "${PASSWORD}" || exit fi echo "Finished all, please check all steps in script manually again!" diff --git a/hugegraph-rpc/pom.xml b/hugegraph-rpc/pom.xml index ad5309d91..a6c15df21 100644 --- a/hugegraph-rpc/pom.xml +++ b/hugegraph-rpc/pom.xml @@ -103,39 +103,12 @@ + org.apache.maven.plugins maven-compiler-plugin - - ${compiler.source} - ${compiler.target} - - 500 - - - -Xlint:unchecked - - org.apache.maven.plugins maven-jar-plugin - - - true - - - false - - - true - - - - - ${project.version} - - - @@ -166,45 +139,20 @@ - release + apache-release org.apache.maven.plugins maven-source-plugin - - - attach-sources - - jar-no-fork - - - org.apache.maven.plugins maven-javadoc-plugin - - - attach-javadocs - - jar - - - org.apache.maven.plugins maven-gpg-plugin - - - sign-artifacts - verify - - sign - - - diff --git a/pom.xml b/pom.xml index 4b62a7699..98677233e 100644 --- a/pom.xml +++ b/pom.xml @@ -28,9 +28,10 @@ ${project.artifactId} https://github.com/apache/hugegraph-commons - hugegraph-commons is a common module for HugeGraph-Common and HugeGraph-Rpc with their peripheral components. - It includes rpc frame, locks, configurations, events, iterators, rest and some - numeric or collection util classes to simplify the development of HugeGraph and its components. + hugegraph-commons is a common module for HugeGraph-Common and HugeGraph-Rpc with their + peripheral components. + It includes rpc frame, locks, configurations, events, iterators, rest and some numeric or + collection util classes to simplify the development of HugeGraph and its components. @@ -48,37 +49,37 @@ - - Apache Hugegraph(Incubating) - dev-subscribe@hugegraph.apache.org - https://hugegraph.apache.org/ - + + Apache Hugegraph(Incubating) + dev-subscribe@hugegraph.apache.org + https://hugegraph.apache.org/ + - - Developer List - dev-subscribe@hugegraph.apache.org - dev-unsubscribe@hugegraph.apache.org - dev@hugegraph.incubator.apache.org - - - Commits List - commits-subscribe@hugegraph.apache.org - commits-unsubscribe@hugegraph.apache.org - commits@hugegraph.apache.org - - - Issues List - issues-subscribe@hugegraph.apache.org - issues-unsubscribe@hugegraph.apache.org - issues@hugegraph.apache.org - + + Developer List + dev-subscribe@hugegraph.apache.org + dev-unsubscribe@hugegraph.apache.org + dev@hugegraph.incubator.apache.org + + + Commits List + commits-subscribe@hugegraph.apache.org + commits-unsubscribe@hugegraph.apache.org + commits@hugegraph.apache.org + + + Issues List + issues-subscribe@hugegraph.apache.org + issues-unsubscribe@hugegraph.apache.org + issues@hugegraph.apache.org + - Github Issues - https://github.com/apache/hugegraph-commons/issues + Github Issues + https://github.com/apache/hugegraph-commons/issues @@ -171,12 +172,8 @@ true - - false - - - true - + false + true