[ http://jira.codehaus.org/browse/MRELEASE-63?page=all ]
Brett Porter updated MRELEASE-63: --------------------------------- Fix Version: 2.0-beta-4 > Error when trying release:prepare a second time > ----------------------------------------------- > > Key: MRELEASE-63 > URL: http://jira.codehaus.org/browse/MRELEASE-63 > Project: Maven 2.x Release Plugin > Type: Bug > Environment: 2.1-snapshot (note: the build number is still missing from "mvn > --version" so it's hard to report which snapsot version it is) > Reporter: Vincent Massol > Assignee: Jason van Zyl > Fix For: 2.0-beta-4 > > > I've ran release:prepare a first time and it failed on authentication. When > trying to run it a second time I got: > C:\dev\maven\trunks\plugins\maven-clover-plugin>mvn release:prepare > -Dusername=vmassol > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'release'. > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Maven Clover Plugin > [INFO] task-segment: [release:prepare] (aggregator-style) > [INFO] > ---------------------------------------------------------------------------- > [WARNING] > Artifact junit:junit:jar:3.8.1 retains local scope 'test' overriding > broader scope 'compile' > given by a dependency. If this is not intended, modify or remove the > local scope. > [INFO] [release:prepare] > [INFO] Checking in modified POMs > [INFO] > ---------------------------------------------------------------------------- > [ERROR] FATAL ERROR > [INFO] > ---------------------------------------------------------------------------- > [INFO] null > [INFO] > ---------------------------------------------------------------------------- > [INFO] Trace > java.lang.NullPointerException > at > org.apache.maven.plugins.release.helpers.ScmHelper.checkin(ScmHelper.java:233) > at > org.apache.maven.plugins.release.PrepareReleaseMojo.checkIn(PrepareReleaseMojo.java:1305) > at > org.apache.maven.plugins.release.PrepareReleaseMojo.checkInRelease(PrepareReleaseMojo.java:1212) > at > org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:268) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:432) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:530) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:485) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:455) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:216) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > 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:324) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > [INFO] > ---------------------------------------------------------------------------- > [INFO] Total time: 3 seconds > [INFO] Finished at: Mon Dec 26 09:38:49 CET 2005 > [INFO] Final Memory: 3M/7M > [INFO] > ---------------------------------------------------------------------------- > Manually removing the release.properties file fixed the pb. -- 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