Maven 2.x Release Plugin

The release plugin does not keep the variable substitution in the connection/developer url after a release prepare/perform.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 2.0-beta-7
  • Fix Version/s: None
  • Component/s: prepare
  • Labels:
    None
  • Environment:
    All OSes, Maven 2.0.8
  • Number of attachments :
    0

Description

The release plugin does not keep the variable substitution in the connection url after a release prepare/perform. A short example:

SCM Url: scm:svn:${scm.baseurl}/myproject/trunk
A property: <scm.baseurl>svn+ssh://svn.mydomain.com/therepo</scm.baseurl>

After running the release plugin I get a new SCM url:

SCM Url: scm:svn:svn+ssh://svn.mydomain.com/therepo/myproject/trunk

Is it possible to keep the original url. If I want to change our svn url then I must go through all our projects and that is not a very good idea.

Thanks in advance
/Oskar

Issue Links

Activity

Hide
Sébastien Lesaint added a comment -

I have the same issue with beta-8.

My SCM connection and developper strings contain two variables (for user and password), both of which are replaced by their values in the release and next POMs.

Show
Sébastien Lesaint added a comment - I have the same issue with beta-8. My SCM connection and developper strings contain two variables (for user and password), both of which are replaced by their values in the release and next POMs.
Hide
Michael Wenig added a comment - - edited

MRELEASE-128 contains a patch which solves this problem (at least at our site)

Show
Michael Wenig added a comment - - edited MRELEASE-128 contains a patch which solves this problem (at least at our site)

People

Vote (8)
Watch (7)

Dates

  • Created:
    Updated:
    Resolved: