Skip to content
Matthias Wiedemann edited this page Jun 5, 2019 · 1 revision

Welcome to the metrics-feign wiki!

Releasing inside a docker container containing required tools

  1. Building the image

docker build -t javabuild -f Dockerfile.build .

  1. Building the code

docker run -it -v %cd%:/build -w /build javabuild mvn clean install

  1. Releasing inside the container:

mvn clean install -P release -DskipTests

  • Publish Key:

gpg --keyserver hkp://ipv4.pool.sks-keyservers.net:80 --send-keys 33E284416D6FC80C73AA165A1E1AD8746E976A0A

  • Test snapshot deployment to Sonatype (be aware of security of server with id ossrh in settings.xml)

mvn clean deploy

  • Release

mvn release:clean release:prepare

mvn release:perform

Clone this wiki locally