Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Latest commit

 

History

History
53 lines (48 loc) · 1.33 KB

DEVELOPER.md

File metadata and controls

53 lines (48 loc) · 1.33 KB

Developer's Guide

Spring MultiRabbit is released under the Apache 2.0 license.

Building

Spring MultiRabbit depends on Java 8 (minimum, for compatibility), Maven 3, Docker and GPG. Make sure to have them installed, so you can fully run tests. For instructions on GPG, read instructions below.

To build Spring MultiRabbit, run:

mvn clean install

To build Spring MultiRabbit skipping the signing of the package, run:

mvn clean install -Dgpg.skip=true

GPG Configuration

To run and build locally, the developer needs to have GPG installed and configured to the package can be signed

  1. Install GPG
brew install gpg // MacOS
  1. List the current keys
gpg --list-keys 
  1. Create a key if none is found
gpg --generate-key
  1. Add the following to the ~/.m2/settings.xml under the servers section
<server>
    <id>gpg.passphrase</id>
    <passphrase>someNonProductionPassPhrase</passphrase>
</server>

If you already have a key, but doesn't remember the password, you can remove the key and recreate it.

  1. List the keys and use the name for the ID on the next steps
gpg --list-keys
  1. Delete the secret keys
gpg --delete-secret-keys "Some Name"
  1. Delete the keys
gpg --delete-keys "Some Name"
  1. Create a new key following the instructions above