Skip to content

Commit 986a34e

Browse files
committed
Updated dev notes on maven deployment
1 parent d7144aa commit 986a34e

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

dev/Notes.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,29 @@ to deploy:
2121

2222
## Release to Maven Central
2323

24+
Pre-requisites:
25+
26+
- pgp installed
27+
- a default pgp key generated in registered in a public registry ( e.g. keys.openpgp.org)
28+
- `~/.m2/settting.xml` with credentials to oss.sonatype.org
29+
30+
2431
export GPG_TTY=$(tty)
2532
mvn -DskipTests -P release deploy
2633
mvn nexus-staging:release
2734

28-
35+
Note: Snapshot releases do not require the last step (i.e. after maven deploy the should be already fully deployed)
2936

3037
More info: https://central.sonatype.org/pages/apache-maven.html#performing-a-release-deployment-with-the-maven-release-plugin
3138

3239
see: `~/.m2/settting.xml for all the passwords etc`
3340

41+
Also see:
42+
43+
- https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key for how to generate a new PGP key.
44+
- https://keys.openpgp.org/about/usage on how to register a pgp key in a public repository.
45+
- https://oss.sonatype.org/#welcome to visit the actual hosting repositories.
46+
3447

3548
## Setting up an AWS vm for Hail compilation
3649

0 commit comments

Comments
 (0)