You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jörg Schaible <jo...@gmx.de> on 2007/10/09 23:43:29 UTC

release:prepare fails to create branch for svn+ssh

Hi folks,

this is totally weird ... has anybody seen this? I cannot release currently
because the SCM seems to execute an invalid command for svn+ssh protocol
when creating the branch. See following log, it's the 2nd execution of the
goal (I've embedded the debug output for the config):

========== %< ============

joehni@paddy ~/src/BerliOS/JsUnit $ mvn release:prepare
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   JsUnit Parent
[INFO]   JsUnit
[INFO]   JsUnit Ant Task
[INFO]   JsUnit Maven2 Plugin
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building JsUnit Parent
[INFO]    task-segment: [release:prepare] (aggregator-style)
[INFO] ----------------------------------------------------------------------------
[DEBUG] Configuring
mojo 'org.apache.maven.plugins:maven-release-plugin:2.0-beta-6:prepare' -->
[DEBUG]   (f) addSchema = true
[DEBUG]   (f) autoVersionSubmodules = true
[DEBUG]   (s) basedir = /home/joehni/src/BerliOS/JsUnit
[DEBUG]   (f) commitByProject = false
[DEBUG]   (f) dryRun = false
[DEBUG]   (f) generateReleasePoms = false
[DEBUG]   (f) preparationGoals = clean verify
[DEBUG]   (f) project = org.apache.maven.project.MavenProject@ce21bfeb
[DEBUG]   (f) reactorProjects =
[org.apache.maven.project.MavenProject@ce21bfeb,
org.apache.maven.project.MavenProject@4a20f45f,
org.apache.maven.project.MavenProject@56e5c79,
org.apache.maven.project.MavenProject@51563843]
[DEBUG]   (f) resume = true
[DEBUG]   (f) scmCommentPrefix = [maven-release-plugin]
[DEBUG]   (f) settings = org.apache.maven.settings.Settings@1dec1dd
[DEBUG]   (f) tagBase =
scm:svn:svn+ssh://svn.berlios.de/svnroot/repos/jsunit/tags
[DEBUG]   (f) updateDependencies = true
[DEBUG]   (f) useEditMode = false
[DEBUG] -- end configuration --
[INFO] [release:prepare]
[INFO] Resuming release from phase 'scm-tag'
[INFO] Tagging release with the label JsUnit_1-3-RC1...
[INFO] Executing: svn --non-interactive
copy --file /tmp/maven-scm-987510001.commit .
scm:svn:svn+ssh://svn.berlios.de/svnroot/repos/jsunit/tags/JsUnit_1-3-RC1
[INFO] Working directory: /home/joehni/src/BerliOS/JsUnit
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Local, non-commit operations do not take a log message

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Oct 09 23:25:25 CEST 2007
[INFO] Final Memory: 5M/9M
[INFO] ------------------------------------------------------------------------


========== %< ============

The release plugin is 2.0-beta-6.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: release:prepare fails to create branch for svn+ssh

Posted by Jörg Schaible <jo...@gmx.de>.
Tomasz Pik wrote:

> On 10/9/07, Jörg Schaible <jo...@gmx.de> wrote:
>> Hi folks,
>>
>> this is totally weird ... has anybody seen this?
> 
> yes, 20 minutes ago in my project :)
> Please, try to remove 'scm:svn' prefix from tagBase and configure it as:
> svn+ssh://svn.berlios.de/svnroot/repos/jsunit/tags
> 
> And then let us know the result.

Gotcha! Thanks. Works now.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: release:prepare fails to create branch for svn+ssh

Posted by Tomasz Pik <to...@gmail.com>.
On 10/9/07, Jörg Schaible <jo...@gmx.de> wrote:
> Hi folks,
>
> this is totally weird ... has anybody seen this?

yes, 20 minutes ago in my project :)
Please, try to remove 'scm:svn' prefix from tagBase and configure it as:
svn+ssh://svn.berlios.de/svnroot/repos/jsunit/tags

And then let us know the result.

HTH,
Tomek

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org