I'm looking for a maven plugin that will help me manage version names and codes of every build that is made on our CI environment. Something that will be able to attach a prefix to the main version code or even update it (not changing the pom.xml). For example:
project version: 2.0.1
git/svn revision: 2342334
jar output: name-2.0.1-2342334.jar
maven repo: ../path/to/local/maven/repo/<package path>/2.0.1-2342334/
The main requirements to this plugin are:
- Must be in Maven Repository (which means that NO additional setting required to add this plugin in my
pom.xmland run maven) - Must not edit the pom, each time it's applied
- A configuration file, would be great, so I could manage the versioning process
- Must be able to edit the output file metadata (so the version will be applied as if it was written in the
pom.xmlfile in the first place)
So far I found only maven-buildmetadata-pluging but unfortunately it's not in Maven Repo, so I'm stuck. Any help would be great.