Maven - Versioning the Project

140 Views Asked by At

I'm trying to learn more about how big project builds are being versioned by developer teams using maven. For example, some projects have versions like: 2.0.0-SNAPSHOT-g57517b7, what that "g57517b7" represents exactly? and is it possible to automate versioning process that increments those number or some kind of build number on maven?

1

There are 1 best solutions below

0
Mutaev On

The last part of the version name looks like a current git commit id. Have a look here Include git commit hash in jar version