Skip to main content
Version: QB12

Use Version Stored in Maven POM

Situation

When run a Maven build, instruct QuickBuild to use version stored in POM.

Demonstration

Run the demo configuration. 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.1-SNAPSHOT, which is the same as stored in POM.

Resolution

Check step definition of the demo configuration, 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.