mvn clean package
then, you will see seatunnel release zip file in seatunnel-dist/target/
, such as seatunnel-dist-2.0.4-2.11.8-release.zip
References:
- https://central.sonatype.org/pages/producers.html
- https://central.sonatype.org/pages/working-with-pgp-signatures.html
- http://tutorials.jenkov.com/maven/publish-to-central-maven-repository.html
- https://www.jannikarndt.de/blog/2017/09/releasing_a_scala_maven_project_to_maven_central/
Command:
mvn clean deploy
- If you encounter such error:
gpg: signing failed: Operation cancelled
please execute deploy command as follows:
export GPG_TTY=$(tty); mvn clean deploy
- 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
- 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>
- 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.