Maven 2.x Release Plugin

Add a mojo parameter for using the new remote tagging for svn scm provider (to prevent issue with svn > 1.5.0)

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.0-beta-8
  • Fix Version/s: 2.0-beta-9
  • Component/s: scm
  • Labels:
    None
  • Environment:
    svn version > 1.5.0
  • Number of attachments :
    0

Description

Due to an issue with svn > 1.5.0, release plugin doesn't work. The scm (1.2) implements a new remote tagging mechanism as a workaround.

Issue Links

Activity

Hide
Olivier Lamy added a comment -

fixed rev 755056

The mojo configuration is :

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.0-beta-9-SNAPSHOT</version>
        <configuration>
          <remoteTagging>true</remoteTagging>
        </configuration>
      </plugin>

Or -DremoteTagging=true.

Show
Olivier Lamy added a comment - fixed rev 755056 The mojo configuration is :
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.0-beta-9-SNAPSHOT</version>
        <configuration>
          <remoteTagging>true</remoteTagging>
        </configuration>
      </plugin>
Or -DremoteTagging=true.
Hide
Benjamin Bentmann added a comment -

One of Maven's goals is to support "convention over configuration". In this sense, wouldn't it be better if we made remoteTagging=true the default? I mean if the default configuration does simply not work reliably with Subversion > 1.5.0, what's the default good for then?

Show
Benjamin Bentmann added a comment - One of Maven's goals is to support "convention over configuration". In this sense, wouldn't it be better if we made remoteTagging=true the default? I mean if the default configuration does simply not work reliably with Subversion > 1.5.0, what's the default good for then?
Hide
Olivier Lamy added a comment -

this make sense. Others ?

Show
Olivier Lamy added a comment - this make sense. Others ?
Hide
Olivier Lamy added a comment -

reopen to have comments on : true/false which one must be the default value ?

Show
Olivier Lamy added a comment - reopen to have comments on : true/false which one must be the default value ?
Hide
Clint Gilbert added a comment -

Does remoteTagging=true work with Subversion 1.4.x? If so, remoteTagging=true should be the default,. since it works with all svn versions.

Show
Clint Gilbert added a comment - Does remoteTagging=true work with Subversion 1.4.x? If so, remoteTagging=true should be the default,. since it works with all svn versions.
Hide
Olivier Lamy added a comment -

yes it works with 1.4.x.
I have tested the following :

  • cygwin svn 1.4.6 and 1.5.1
  • solaris svn 1.4.6 and 1.5.4
Show
Olivier Lamy added a comment - yes it works with 1.4.x. I have tested the following :
  • cygwin svn 1.4.6 and 1.5.1
  • solaris svn 1.4.6 and 1.5.4
Hide
Olivier Lamy added a comment -

option true by default rev 756209

Show
Olivier Lamy added a comment - option true by default rev 756209
Hide
Pablo added a comment -

I have the same problem when executing mvn release:branch.

It would be useful to add the -DremoteTagging argument also when making branches. Thank you.

Show
Pablo added a comment - I have the same problem when executing mvn release:branch. It would be useful to add the -DremoteTagging argument also when making branches. Thank you.
Hide
Olivier Lamy added a comment -

please create a new issue!

Show
Olivier Lamy added a comment - please create a new issue!
Hide
werner mueller added a comment -

an issue related to branching was created: MRELEASE-514

Show
werner mueller added a comment - an issue related to branching was created: MRELEASE-514

People

Vote (0)
Watch (11)

Dates

  • Created:
    Updated:
    Resolved: