You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Johan Lindquist <jo...@kawoo.co.uk> on 2007/10/19 13:23:38 UTC

Maven Release Plugin and autoVersionSubmodules

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,

I am having an issue with the release plugin.  I am getting an assertion
 failure just after the plugin asks for the release version to be built
(see below for stack trace).

Debugging it, it seems the plugin adds the root project id to the
release version map twice - the iterator returned in MapVersionsPhase
execute method includes the root project (which has already been mapped
at that stage) and the ReleaseDescriptor checks for multiple puts into
its map.

Anyone has any idea why this would happen?  Has anyone else seen this issue?

Cheers,

Johan

- ----------------------------8<---------------------------------------
java.lang.AssertionError
        at
org.apache.maven.shared.release.config.ReleaseDescriptor.mapReleaseVersion(ReleaseDescriptor.java:1127)
        at
org.apache.maven.shared.release.phase.MapVersionsPhase.execute(MapVersionsPhase.java:128)
        at
org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:194)
        at
org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:131)
        at
org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:94)
- ----------------------------8<---------------------------------------

- --
you too?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHGJO61Tv8wj7aQ34RAhNxAJ4iOUjyXOs52alBdg0eRRWI+n4MVACeKzxv
rzvWK13EAx3W8lPRiXqxMrU=
=ICPm
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org