On Tue, October 30, 2007 11:59 am, maarten roosendaal wrote:

> I did delete all the versions in the coordinates and dependencies of the
> childpom's (except for the parent which is an explicit definition -->
> 0.0.1-SNAPSHOT not ${project.version}) and added
> dependencyManagement for all modules with ${project.version}.
>
> However performing a release:prepare still fails because when building the
> root project it says that it can't find
> a version of module A (0.0.1). I have both modules as part of the
> module-tag in the root pom.xml and a normal install works fine.

Sounds like in one of your dependencies, you have a hard coded version
"0.0.1" somewhere instead of the string ${pom.version}.

The actual version string "0.0.1-SNAPSHOT" should only appear once in your
root pom, and in the <parent><version> tag in the child poms (which will
be bumped automatically by the release plugin). It should appear nowhere
else.

Another thing to check - make sure all your submodules are listed as
modules in your root pom. The release plugin will ignore all projects that
aren't listed, "leaving it behind" when you run release:prepare.

Regards,
Graham
--



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to