Set up Maven-based continuous delivery for this library.
Goal:
Build and publish SNAPSHOT versions automatically when code is updated and tests pass.
Tasks
- Configure Maven for publishing artifacts (distribution management / repository settings)
- Create CI job to run Maven publish command
- Publish only on main branch
- Ensure publish runs only if unit tests pass
- Keep version as *-SNAPSHOT for now
- Document how publishing works in README
- Add a minimum coverage rule before publish
- Add release publishing later (non-SNAPSHOT)
It's done when :
A new commit on main publishes a SNAPSHOT artifact
If tests fail, publish does not happen
Team can find and download the published SNAPSHOT from the package registry
Set up Maven-based continuous delivery for this library.
Goal:
Build and publish SNAPSHOT versions automatically when code is updated and tests pass.
Tasks
It's done when :
A new commit on main publishes a SNAPSHOT artifact
If tests fail, publish does not happen
Team can find and download the published SNAPSHOT from the package registry