A bank development team of three engineers automated their Java monolith release process to bypass the limitations of the standard maven-release-plugin in an on-premise, secure environment. The team replaced manual procedures with a custom Maven plugin built on JGit, which handles artifact assembly and release note validation.

The custom plugin integrates with the Jira API to verify task statuses, ensuring only completed items are included in releases. Each build generates a unique hash, and the final package, consisting of a Git Bundle and certificates, is stored in the registry. This setup allows for local debugging and testing using maven-plugin-testing-harness.

By moving the release logic into a Parent POM and utilizing an isolated GitLab Runner for CI/CD, the team reduced release preparation time from 60 minutes to 5 minutes. Recovery time following a build failure dropped from 24 hours to 15 minutes, and onboarding a new project into the pipeline now takes approximately 15 minutes.