zhongjiajie commented on a change in pull request #1435: URL: https://github.com/apache/incubator-seatunnel/pull/1435#discussion_r821300734
########## File path: build.md ########## @@ -5,80 +5,6 @@ ``` -mvn clean package +mvn clean package -Dmaven.test.skip=true ``` - -then, you will see seatunnel release zip file in `seatunnel-dist/target/`, such as `seatunnel-dist-2.0.4-2.11.8-release.zip` - -### How to deploy seatunnel artifacts to central maven repo - -References: -1. https://central.sonatype.org/pages/producers.html -2. https://central.sonatype.org/pages/working-with-pgp-signatures.html -3. http://tutorials.jenkov.com/maven/publish-to-central-maven-repository.html -4. https://www.jannikarndt.de/blog/2017/09/releasing_a_scala_maven_project_to_maven_central/ - -Command: - -``` -mvn clean deploy -``` - -#### GPG Signing Notes: - -1. If you encounter such error: - -``` -gpg: signing failed: Operation cancelled -``` - -please execute deploy command as follows: - -``` -export GPG_TTY=$(tty); mvn clean deploy -``` - -2. If you encounter such error: - -``` -gpg: signing failed: Timeout -``` - -please remove current gpg files and regenerate it: - -``` -$ rm -rf ~/.gnupg -``` - -then regenerate: - -https://central.sonatype.org/pages/working-with-pgp-signatures.html - -3. If you encounter such error: - -``` -gpg: keyserver receive failed: No route to host -``` - -please find a available gpg host, such as: hkp://keyserver.ubuntu.com - -gpg --keyserver hkp://keyserver.ubuntu.com --send-keys <your_key> - -4. If you encounter such error: - -``` -No public key: Key with id: (xxxx) was not able to be located on http://keyserver.ubuntu.com:port. Upload your public key and try the operation again. -``` - -please use the keyserver in error log to send keys: - -``` -gpg --keyserver hkp://keyserver.ubuntu.com --send-keys <your_key> -``` - -then, it works. - - - - - +Then, you will see the seatunnel distribution source package --`apache-seatunnel-incubating-${version}-src.tar.gz` and the binary package `apache-seatunnel-incubating-${version}-bin.tar.gz` in `seatunnel-dist/target/`. Review comment: ```suggestion After above command finish, you will see the seatunnel distribution source package `apache-seatunnel-incubating-${version}-src.tar.gz` and the binary package `apache-seatunnel-incubating-${version}-bin.tar.gz` in directory `seatunnel-dist/target/`. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
