maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliotte Rusty Harold (Jira)" <j...@apache.org>
Subject [jira] [Commented] (MRELEASE-971) release:branch does not create release.properties so release:perform fails
Date Mon, 16 Dec 2019 12:02:00 GMT

    [ https://issues.apache.org/jira/browse/MRELEASE-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997211#comment-16997211
] 

Elliotte Rusty Harold commented on MRELEASE-971:
------------------------------------------------

Is this still happening?

> 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)

Mime
View raw message