You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2020/12/05 13:07:00 UTC

[jira] [Closed] (MRELEASE-971) release:branch does not create release.properties so release:perform fails

     [ https://issues.apache.org/jira/browse/MRELEASE-971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MRELEASE-971.
-----------------------------------
    Resolution: Incomplete

No reaction for a year.

> release:branch does not create release.properties so release:perform fails
> --------------------------------------------------------------------------
>
>                 Key: MRELEASE-971
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-971
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: branch, perform
>    Affects Versions: 2.5.3
>            Reporter: Carsten Hilber
>            Priority: Major
>
> I am using the release plugin to release through a CI server. What I do is creat a branch with 
> mvn release:branch --batch-mode -DbranchName=0.1.11 -Dproject.net.aim:releaseTest=0.1.11 -Dproject.net.aim:releaseTest=0.1.12-SNAPSHOT -DupdateBranchVersions=true
> A branch is created and the current dev branch is getting to the next SNAPSHOT Version, so far so good. 
> To complete the version I need to do the next step. I want to do a release:perform to release the newly created branch. This fails with the following error message:
> $ mvn release:perform
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building releaseTest 0.1.11-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-release-plugin:2.5.3:perform (default-cli) @ releaseTest ---
> [ERROR] No SCM URL was provided to perform the release from
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.846 s
> [INFO] Finished at: 2016-12-07T19:02:29+01:00
> [INFO] Final Memory: 13M/309M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:perform (default-cli) on project releaseTest: No SCM URL was provided to perform the release from -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException



--
This message was sent by Atlassian Jira
(v8.3.4#803005)