I'm using the maven release plugin on hudson with autoVersionSubmodules set to true to automatically increment the development version in the poms.
I'm wondering if there is a way to make the plugin increment the major version rather than minor version.
Currently when I'm at version 1.1.0-snapshot the next version is set to 1.1.1-snapshot but ideally I would like it to change to 1.2.0-snapshot.
Any idea on how to achieve this?
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…