maven multi-module versioning

Posted by eugenn on Stack Overflow See other posts from Stack Overflow or by eugenn
Published on 2010-02-26T13:30:40Z Indexed on 2010/06/16 22:52 UTC
Read the original article Hit count: 203

I have a multi-module project.

parent POM (1.0-SNAPSHOT)
|-- module1 (1.0-SNAPSHOT)
|-- module2 (1.0-SNAPSHOT)
`-- module3 (1.0-SNAPSHOT)

When I execute mvn release:prepare it verify that parent POM has a SNAPSHOT version and all dependent modules don't have a SNAPSHOT version. How automatically update all child modules from SNAPSHOT to the next release version?

I would like automatically increment version for all modules.

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about maven-release-plugin