Set a different version to my jars at project deployment stage - Maven -


i have maven deployment problem:

when execute maven deploy, maven pushes jars remote repository under project version specified in pom files:

<version>version.x.y.z</version> 

the problem don't want overwrite previous jars every time rebuild project, want increment version automatically every time build part of building process.

(so, don't want use cli tool such "versions maven plugin" change pom files before building process.) have environment variable, $project.buildnumber, can use set project version.

is possible configure maven-deploy-plugin automatically change version (for instance using environment variable)?

many thanks!!


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -