This documentation relates to QuickBuild 8.0.x
Select here if you are using a different version

Use Version Stored in Maven POM

Version 1 by Robin Shen
on Jan 08, 2018 11:17.


 
compared with
Current by Robin Shen
on Mar 19, 2018 04:45.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 2 changes. View first change.

 h1. Situation
 When run a Maven build, instruct QuickBuild to use version stored in POM.
  
 h1. Demonstration
 Run the [demo configuration|https://demo.pmease.com/overview/121]. At start of the build, the version is taking from _next build version_ of the configuration, however when the maven build step finishes, build version will be set to _1.0.0-SNAPSHOT_, which is the same as stored in POM.
  Run the [demo configuration|http://demo.pmease.com/overview/121]. At start of the build, the version is taking from _next build version_ of the configuration, however when the maven build step finishes, build version will be set to _1.0.0-SNAPSHOT_, which is the same as stored in POM.
  
 h1. Resolution
 Check [step definition of the demo configuration|https://demo.pmease.com/settings/121/steps], the _maven build_ step is defined with _sync build version_ option checked. This tells QuickBuild to sync build version to the version stored in POM when this step finishes.
  Check [step definition of the demo configuration|http://demo.pmease.com/settings/121/steps], the _maven build_ step is defined with _sync build version_ option checked. This tells QuickBuild to sync build version to the version stored in POM when this step finishes.