Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.03 KB

BUILDING.md

File metadata and controls

38 lines (25 loc) · 1.03 KB

Instructions for building, testing, and deploying

Building

Run maven as usual to get the dependencies and compile the code.

mvn clean compile

Testing

Most of the tests use the Maven Integration Testing Framework (ITF). Each of the ITF tests runs a full maven build. The tests use WireMock to perform some stubs and assert on the requests being done.

mvn clean compile verify

Deploying/Releasing

First, build, run the integration tests, and deploy.

mvn clean compile verify package deploy

The deploy will upload the artifact to GH, in this case, but won't create any tags or other assets.

Go to GH page of this project and create the release by hand, using the tag following semantic versioning. Tag can be created at the moment of the creation of the release (easier) or it can be created locally and push to GH.

Example:

git tag -a "0.3.0" -m "v0.3.0" 
git push origin --tags