[EMAIL PROTECTED] wrote:
I have a multi module project that I want to make a release for. Some of the modules changes frequently and they are marked as SNAPSHOTS. Some modules are very stable and have a fixed version. I run maven 2 release plug-in 2.0-beta-7 with the --batch-mode parameter. The problem is that the stable modules will also have there version upgraded. Is there any way to tell the plug-in to only change version for SNAPSHOT modules?
Break up your multi module project into a smaller set of multi module projects.
I had a project like this a while back, and I defined some variables in the super pom of multi module project B to point at the version number of multi module project A.
This eliminated confusion over what relied on what, and ensured that the dependency was defined in just one place only.
The more code you release at one time, the more difficult it is to tell where a bug might lie. Spin off the stable stuff into their own release cycles, and your troubleshooting problems will become significantly less, as a problem will most likely be caused by a smaller subset of newly released code.
Regards, Graham --
smime.p7s
Description: S/MIME Cryptographic Signature
