-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Matthias Wiedemann edited this page Jun 5, 2019
·
1 revision
Welcome to the metrics-feign wiki!
- Building the image
docker build -t javabuild -f Dockerfile.build .
- Building the code
docker run -it -v %cd%:/build -w /build javabuild mvn clean install
- Releasing inside the container:
-
Start container:
docker run -it -v %cd%:/build -w /build javabuild bash
-
Create Key (Compare to https://central.sonatype.org/pages/working-with-pgp-signatures.html)
gpg --gen-key
gpg --list-keys
-
Test signing:
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