maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torben Knerr (JIRA)" <j...@codehaus.org>
Subject [jira] (MRELEASE-484) release:rollback fails after branch with NPE and complaint about missing scm URL
Date Thu, 31 Jul 2014 07:15:10 GMT

    [ https://jira.codehaus.org/browse/MRELEASE-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=350736#comment-350736
] 

Torben Knerr commented on MRELEASE-484:
---------------------------------------

Still seeing this in 2.4.2 with Git scm provider and both <developerConnection> and
<url> being set in the releaseBackup pom

> release:rollback fails after branch with NPE and complaint about missing scm URL
> --------------------------------------------------------------------------------
>
>                 Key: MRELEASE-484
>                 URL: https://jira.codehaus.org/browse/MRELEASE-484
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: branch, rollback
>    Affects Versions: 2.0-beta-9
>            Reporter: Benson Margulies
>            Assignee: Robert Scholte
>             Fix For: 2.3.2
>
>
> After a problem with release:branch (possibly the 'remoteTagging' problem) an attempt
to run rollback got me the following. The SCM urls are indeed in the POM.
> {noformat}
> [INFO] Trace
> java.lang.NullPointerException: The scm url cannot be null.
> 	at org.apache.maven.scm.manager.AbstractScmManager.makeScmRepository(AbstractScmManager.java:181)
> 	at org.apache.maven.shared.release.scm.DefaultScmRepositoryConfigurator.getConfiguredRepository(DefaultScmRepositoryConfigurator.java:62)
> 	at org.apache.maven.shared.release.phase.RestoreBackupPomsPhase.restorePomBackup(RestoreBackupPomsPhase.java:100)
> 	at org.apache.maven.shared.release.phase.RestoreBackupPomsPhase.execute(RestoreBackupPomsPhase.java:69)
> 	at org.apache.maven.shared.release.DefaultReleaseManager.rollback(DefaultReleaseManager.java:250)
> 	at org.apache.maven.shared.release.DefaultReleaseManager.rollback(DefaultReleaseManager.java:227)
> 	at org.apache.maven.plugins.release.RollbackReleaseMojo.execute(RollbackReleaseMojo.java:54)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
> 	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.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] ------------------------------------------------------------------------
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message