Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
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 :
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
| This issue duplicates: | ||||
| MRELEASE-128 | SCM properties being replaced during release:perform |
|
|
|
| This issue is duplicated by: | ||||
| MRELEASE-466 | Release plugin should preserve pom properties and ${...} variables |
|
|
|
| This issue is related to: | ||||
| MRELEASE-421 | overwriting property in version tag, rather than updating property |
|
|
|
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.