Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.
Bradley Willcott edited this page Apr 27, 2020 · 1 revision

simple-buildnumber-maven-plugin

Welcome to the simple-buildnumber-maven-plugin wiki!

First, I'll give you some background to the project.

I was looking for a method of generating a build number and having it incorporated into the finalName used as the file name for the project. My search led me to: buildnumber-maven-plugin project. It had a lot more to it than I was looking for, especially scm interaction. So, I cloned the source, and started hacking. Eventually deciding it would be easier to start a new project and copy across the bits I needed.

After much research and trail & error, I worked out how to interact with the maven project to change the active version for the current run. Then, I worked out an effective method of updating the pom.xml file, so that the new version text was visible in the IDE and the pom.

The result is this new maven plug-in.

Clone this wiki locally