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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -