You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by ji...@apache.org on 2022/12/15 10:38:18 UTC
[incubator-hugegraph-commons] branch release-1.0.0 updated (08e54bf -> 1c93682)
This is an automated email from the ASF dual-hosted git repository.
jin pushed a change to branch release-1.0.0
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-commons.git
discard 08e54bf chore(dist): exit script when upload files failed
new 1c93682 fix(dist): generate doc & exit script when upload files failed
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (08e54bf)
\
N -- N -- N refs/heads/release-1.0.0 (1c93682)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
hugegraph-common/pom.xml | 56 ++----------------------------------------------
hugegraph-rpc/pom.xml | 56 ++----------------------------------------------
pom.xml | 2 +-
3 files changed, 5 insertions(+), 109 deletions(-)
[incubator-hugegraph-commons] 01/01: fix(dist): generate doc & exit script when upload files failed
Posted by ji...@apache.org.
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-commons.git
commit 1c936824df96da27dcc24c810ba8a53ef27d4600
Author: imbajin <ji...@apache.org>
AuthorDate: Thu Dec 15 18:28:15 2022 +0800
fix(dist): generate doc & exit script when upload files failed
---
hugegraph-common/pom.xml | 56 +------------------------
hugegraph-dist/scripts/apache-release.sh | 12 ++++--
hugegraph-rpc/pom.xml | 56 +------------------------
pom.xml | 72 +++++++++++++++-----------------
4 files changed, 46 insertions(+), 150 deletions(-)
diff --git a/hugegraph-common/pom.xml b/hugegraph-common/pom.xml
index cba4fef..b75cdc5 100644
--- a/hugegraph-common/pom.xml
+++ b/hugegraph-common/pom.xml
@@ -210,39 +210,12 @@
<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>
<artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <index>true</index>
- <manifest>
- <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>${project.version}</Implementation-Version>
- </manifestEntries>
- </archive>
- </configuration>
</plugin>
<plugin>
@@ -273,45 +246,20 @@
<profiles>
<profile>
- <id>release</id>
+ <id>apache-release</id>
<build>
<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>
</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>
</plugin>
</plugins>
</build>
diff --git a/hugegraph-dist/scripts/apache-release.sh b/hugegraph-dist/scripts/apache-release.sh
index da29e3f..3a4c800 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 ad5309d..a6c15df 100644
--- a/hugegraph-rpc/pom.xml
+++ b/hugegraph-rpc/pom.xml
@@ -103,39 +103,12 @@
<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>
<artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <index>true</index>
- <manifest>
- <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>${project.version}</Implementation-Version>
- </manifestEntries>
- </archive>
- </configuration>
</plugin>
<plugin>
@@ -166,45 +139,20 @@
<profiles>
<profile>
- <id>release</id>
+ <id>apache-release</id>
<build>
<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>
</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>
</plugin>
</plugins>
</build>
diff --git a/pom.xml b/pom.xml
index 4b62a76..9867723 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,9 +28,10 @@
<name>${project.artifactId}</name>
<url>https://github.com/apache/hugegraph-commons</url>
<description>
- 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.
</description>
<parent>
@@ -48,37 +49,37 @@
</licenses>
<developers>
- <developer>
- <id>Apache Hugegraph(Incubating)</id>
- <email>dev-subscribe@hugegraph.apache.org</email>
- <url>https://hugegraph.apache.org/</url>
- </developer>
+ <developer>
+ <id>Apache Hugegraph(Incubating)</id>
+ <email>dev-subscribe@hugegraph.apache.org</email>
+ <url>https://hugegraph.apache.org/</url>
+ </developer>
</developers>
<mailingLists>
- <mailingList>
- <name>Developer List</name>
- <subscribe>dev-subscribe@hugegraph.apache.org</subscribe>
- <unsubscribe>dev-unsubscribe@hugegraph.apache.org</unsubscribe>
- <post>dev@hugegraph.incubator.apache.org</post>
- </mailingList>
- <mailingList>
- <name>Commits List</name>
- <subscribe>commits-subscribe@hugegraph.apache.org</subscribe>
- <unsubscribe>commits-unsubscribe@hugegraph.apache.org</unsubscribe>
- <post>commits@hugegraph.apache.org</post>
- </mailingList>
- <mailingList>
- <name>Issues List</name>
- <subscribe>issues-subscribe@hugegraph.apache.org</subscribe>
- <unsubscribe>issues-unsubscribe@hugegraph.apache.org</unsubscribe>
- <post>issues@hugegraph.apache.org</post>
- </mailingList>
+ <mailingList>
+ <name>Developer List</name>
+ <subscribe>dev-subscribe@hugegraph.apache.org</subscribe>
+ <unsubscribe>dev-unsubscribe@hugegraph.apache.org</unsubscribe>
+ <post>dev@hugegraph.incubator.apache.org</post>
+ </mailingList>
+ <mailingList>
+ <name>Commits List</name>
+ <subscribe>commits-subscribe@hugegraph.apache.org</subscribe>
+ <unsubscribe>commits-unsubscribe@hugegraph.apache.org</unsubscribe>
+ <post>commits@hugegraph.apache.org</post>
+ </mailingList>
+ <mailingList>
+ <name>Issues List</name>
+ <subscribe>issues-subscribe@hugegraph.apache.org</subscribe>
+ <unsubscribe>issues-unsubscribe@hugegraph.apache.org</unsubscribe>
+ <post>issues@hugegraph.apache.org</post>
+ </mailingList>
</mailingLists>
<issueManagement>
- <system>Github Issues</system>
- <url>https://github.com/apache/hugegraph-commons/issues</url>
+ <system>Github Issues</system>
+ <url>https://github.com/apache/hugegraph-commons/issues</url>
</issueManagement>
<scm>
@@ -171,12 +172,8 @@
<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
@@ -279,7 +276,7 @@
<profiles>
<profile>
- <id>release</id>
+ <id>apache-release</id>
<build>
<plugins>
<plugin>
@@ -306,9 +303,8 @@
</execution>
</executions>
<configuration>
- <additionalOptions>
- <additionalOption>-Xdoclint:none</additionalOption>
- </additionalOptions>
+ <doclint>none</doclint>
+ <failOnError>false</failOnError>
</configuration>
</plugin>
<plugin>