Unless you've locked-down Maven plugin versions in your poms, they
will automatically be upgraded as new versions are available, which
may include a change in functionality that you weren't expecting. (I
experienced this with EAR plugin recently.)
Check the timestamps of the release plugin files in your ~/.m2
directory and see if perhaps you've got a new version which resulted
in this change. If so, its either a bug/regression or more likely it
has simply been modified and you may need to change your configuration
to get back to what you had previously.
Wayne
On 1/29/07, Orford, Ian <[EMAIL PROTECTED]> wrote:
I've been using mvn for some time now. However my nice smooth release
procedure has just broken - I can't figure out if it's something I've
done myself or something that's changed in a plug-in.
I have a parent pom. That has sub modules. The first is a library that
all the others require. All 4 modules declare the parent as the pom
parent.
When I do a "mvn install", it correctly :
(a) installs the parent pom into local repository,
(b) builds & installs the common library (which depends on the parent
pom) into local repository
(c) then goes onto the other modules (which depend on both the parent
pom and the common library).
This was working for "release:prepare" and "release:perform" too.
However now the "release:perform" fails. The common library has not been
installed, so building the first of the other dependant modules fails.
I've tried adding the following to the parent pom, but it didn't help.
<plugin>
<artifactId>maven-release-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<preparationGoals>clean install</preparationGoals>
</configuration>
</plugin>
Any help appreciated.
Thanks, Ian Orford.
--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient, please
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to
http://www.dresdnerkleinwort.com/disc/email/ or contact the sender.
--------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]