Hi all,
I would like in a maven2 POM to define a property with a different value if I am packaging a SNAPSHOT or a RELEASE (a non SNAPSHOT) of my project.
I know that I can write a simple Mojo plugin that defines the property regarding the project.version (contains SNAPSHOT or not), but I cannot imagine that in the Maven's hell of existing plugins there is not already one that I could use.
If you know a way of doing this, I would appreciate your help.
Matthieu