This small tutorial contains necessary steps required to perform a release of Slice to newer version.
Generating PGP Signatures
Synchronization Slice artifacts with Maven central requires to provide pgp signatures. For that purpose you need to generate a key pair. If you don't generated and propagated public key yet, see Generating a PGP Signatures.
Configuring settings.xml file
...
Code Block | ||
---|---|---|
| ||
<settings> ... <profile> <id>slice-author</id> <activation> <activeByDefault>false</activeByDefault> </activation> <properties> <privateKey>C:\Users\kamil.ciecierski\.ssh\id_dsa.pub</privateKey> <scm.username>git</scm.username> </properties> ... </settings> |
If you don't generated and propagated public key yet, see Generating a PGP Signatures.
See also Sonatype Maven Repository Usage Guide
...
- you are switched to a proper git branch.
- your git user settings are correct and local repository is synchronized with the remote one - otherwise do proper git-push or git-pull operation.
- you generated and propagated PGP key - see see Generating a PGP Signatures.
...