maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MRELEASE-573) cannot release a multi-module project with maven3
Date Thu, 23 Sep 2010 10:13:32 GMT

    [ http://jira.codehaus.org/browse/MRELEASE-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236166#action_236166
] 

Brett Porter commented on MRELEASE-573:
---------------------------------------

is this still an issue with newer M3 RCs? Can you attach the sample project before you corrected
it?

> cannot release a multi-module project with maven3
> -------------------------------------------------
>
>                 Key: MRELEASE-573
>                 URL: http://jira.codehaus.org/browse/MRELEASE-573
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.0
>         Environment: macos, java6, maven3-beta1
>            Reporter: Rares Pop
>
> release:prepare produces the following exception. I am releasing a multi module project.
All modules have the  2.3.3-SNAPSHOT Here is the stack trace:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare
(default-cli) on project master: The version could not be updated: 2.3.3 -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.0:prepare
(default-cli) on project master: The version could not be updated: 2.3.3
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:137)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:77)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:69)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:82)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:54)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.singleThreadedBuild(DefaultLifecycleExecutor.java:218)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:190)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:246)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:95)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:430)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:124)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> 	at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
> Caused by: org.apache.maven.plugin.MojoFailureException: The version could not be updated:
2.3.3
> 	at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(PrepareReleaseMojo.java:219)
> 	at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:181)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:133)
> 	... 20 more
> Caused by: org.apache.maven.shared.release.ReleaseFailureException: The version could
not be updated: 2.3.3
> 	at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.updateDomVersion(AbstractRewritePomsPhase.java:671)
> 	at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.rewritePlugins(AbstractRewritePomsPhase.java:456)
> 	at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.transformDocument(AbstractRewritePomsPhase.java:281)
> 	at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.transformProject(AbstractRewritePomsPhase.java:208)
> 	at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.transform(AbstractRewritePomsPhase.java:114)
> 	at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.execute(AbstractRewritePomsPhase.java:97)
> 	at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:203)
> 	at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:140)
> 	at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:103)
> 	at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(PrepareReleaseMojo.java:211)
> 	... 23 more
> [ERROR] 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message