Adrian Jackson wrote:

I think I'm getting confused now - how do the children reference their
parent in that case? Isn't the <version> element compulsory within <parent>?

Irritatingly enough it is required under parent, but the release plugin "does the right thing" and updates all of these values for you automatically each time you make a release.

So in other words, to make a release, do this:

- cd to your parent root
- mvn release:prepare
- mvn release:perform

And you are done.

If you keep your version numbers following the best practise format (ie major-minor-point[-SNAPSHOT]), the release plugin knows how to bump your version number automatically on the parent and all children, without any interference from humans (which is one less thing the humans will get wrong).

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to