You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Spencer (JIRA)" <ji...@codehaus.org> on 2006/05/19 14:52:40 UTC
[jira] Created: (MRELEASE-114) ${project.artifactId} was replaced
with it's value during release:perform
${project.artifactId} was replaced with it's value during release:perform
-------------------------------------------------------------------------
Key: MRELEASE-114
URL: http://jira.codehaus.org/browse/MRELEASE-114
Project: Maven 2.x Release Plugin
Type: Bug
Environment: Windows XP, Java 1.4.2
Reporter: Paul Spencer
In release:perform, the variable ${project.artifactId} was replaced with it's value in the connection and developerConnection tags in the pom. This did NOT happen in other place in the pom!
Before release:
<connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:${project.artifactId}</connection>
After release:
<connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:master-pom</connection>
BTW: The issue http://jira.codehaus.org/browse/MRELEASE-16 may be
related to the above problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MRELEASE-114) ${project.artifactId} was replaced
with it's value during release:perform
Posted by "Richard van der Hoff (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-114?page=comments#action_66975 ]
Richard van der Hoff commented on MRELEASE-114:
-----------------------------------------------
Yes it is, and it's very annoying.
Sounds like a duplicate of MRELEASE-16 to me.
> ${project.artifactId} was replaced with it's value during release:perform
> -------------------------------------------------------------------------
>
> Key: MRELEASE-114
> URL: http://jira.codehaus.org/browse/MRELEASE-114
> Project: Maven 2.x Release Plugin
> Type: Bug
> Environment: Windows XP, Java 1.4.2
> Reporter: Paul Spencer
>
>
> In release:perform, the variable ${project.artifactId} was replaced with it's value in the connection and developerConnection tags in the pom. This did NOT happen in other place in the pom!
> Before release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:${project.artifactId}</connection>
> After release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:master-pom</connection>
> BTW: The issue http://jira.codehaus.org/browse/MRELEASE-16 may be
> related to the above problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (MRELEASE-114) ${project.artifactId} was replaced
with it's value during release:perform
Posted by "Eric Bernstein (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-114?page=all ]
Eric Bernstein updated MRELEASE-114:
------------------------------------
Attachment: MRELEASE-128-maven-release-plugin.patch
I'm attaching a possible fix for this issue.
Some notes:
# I made the assumption that the only reason we rewrite the scm config is for subversion. This is quite possibly not the case, but it passed all the unit tests and made my CVS scm do what I wanted it to. This is probably not the way it should be implemented, but I don't know enough about the other SCMs to know if the rewrite is a special case or the non-rewrite is a special case.
# This is a patch from the 2.0-beta-4 tag because the trunk didn't install cleanly on checkout - it may or may not be easily portable to the trunk.
> ${project.artifactId} was replaced with it's value during release:perform
> -------------------------------------------------------------------------
>
> Key: MRELEASE-114
> URL: http://jira.codehaus.org/browse/MRELEASE-114
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Environment: Windows XP, Java 1.4.2
> Reporter: Paul Spencer
> Attachments: MRELEASE-128-maven-release-plugin.patch
>
>
> In release:perform, the variable ${project.artifactId} was replaced with it's value in the connection and developerConnection tags in the pom. This did NOT happen in other place in the pom!
> Before release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:${project.artifactId}</connection>
> After release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:master-pom</connection>
> BTW: The issue http://jira.codehaus.org/browse/MRELEASE-16 may be
> related to the above problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRELEASE-114) ${project.artifactId} was replaced
with it's value during release:perform
Posted by "Eric Bernstein (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-114?page=comments#action_78411 ]
Eric Bernstein commented on MRELEASE-114:
-----------------------------------------
Yes, Jurgen, that's where my patch falls short (see point 1 on my notes above). I knew SVN needed some form of rewrite (for tagging, etc...) and CVS (and others) did not. Not being very familiar with SVN, I kept the SVN functionality the same and exempted the other SCMs so that I would, at worst, do no harm.
If you have a better understanding of SVN, I imagine the patch could be improved by manipulating the URLs as they should be using the base URLs rather than the evaluated URLs as I believe they are today.
> ${project.artifactId} was replaced with it's value during release:perform
> -------------------------------------------------------------------------
>
> Key: MRELEASE-114
> URL: http://jira.codehaus.org/browse/MRELEASE-114
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Environment: Windows XP, Java 1.4.2
> Reporter: Paul Spencer
> Attachments: MRELEASE-128-maven-release-plugin.patch
>
>
> In release:perform, the variable ${project.artifactId} was replaced with it's value in the connection and developerConnection tags in the pom. This did NOT happen in other place in the pom!
> Before release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:${project.artifactId}</connection>
> After release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:master-pom</connection>
> BTW: The issue http://jira.codehaus.org/browse/MRELEASE-16 may be
> related to the above problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRELEASE-114) ${project.artifactId} was replaced
with it's value during release:perform
Posted by "Havard Bjastad (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=202127#action_202127 ]
Havard Bjastad commented on MRELEASE-114:
-----------------------------------------
Emmanuel, you're saying "Already fixed", but we're still seeing this problem with Maven 2.0.9. There are also open issues on this, e.g. MRELEASE-128 and MRELEASE-325, what exactly is fixed here, as opposed to the other ones?
> ${project.artifactId} was replaced with it's value during release:perform
> -------------------------------------------------------------------------
>
> Key: MRELEASE-114
> URL: http://jira.codehaus.org/browse/MRELEASE-114
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Environment: Windows XP, Java 1.4.2
> Reporter: Paul Spencer
> Assignee: Emmanuel Venisse
> Fix For: 2.0-beta-5
>
> Attachments: MRELEASE-128-maven-release-plugin.patch
>
>
> In release:perform, the variable ${project.artifactId} was replaced with it's value in the connection and developerConnection tags in the pom. This did NOT happen in other place in the pom!
> Before release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:${project.artifactId}</connection>
> After release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:master-pom</connection>
> BTW: The issue http://jira.codehaus.org/browse/MRELEASE-16 may be
> related to the above problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRELEASE-114) ${project.artifactId} was replaced
with it's value during release:perform
Posted by "Eric Bernstein (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-114?page=comments#action_74300 ]
Eric Bernstein commented on MRELEASE-114:
-----------------------------------------
My bad, I named the patch for MRELEASE-128, but published it to MRELEASE-114. Sorry about that. I do believe MRELEASE-128 and MRELEASE-114 are the same issue though, and I can't remove the attachement, so it'll stay. Hope no one minds too much. I'll comment on MRELEASE-114 and point that issue over here.
> ${project.artifactId} was replaced with it's value during release:perform
> -------------------------------------------------------------------------
>
> Key: MRELEASE-114
> URL: http://jira.codehaus.org/browse/MRELEASE-114
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Environment: Windows XP, Java 1.4.2
> Reporter: Paul Spencer
> Attachments: MRELEASE-128-maven-release-plugin.patch
>
>
> In release:perform, the variable ${project.artifactId} was replaced with it's value in the connection and developerConnection tags in the pom. This did NOT happen in other place in the pom!
> Before release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:${project.artifactId}</connection>
> After release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:master-pom</connection>
> BTW: The issue http://jira.codehaus.org/browse/MRELEASE-16 may be
> related to the above problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRELEASE-114) ${project.artifactId} was replaced
with it's value during release:perform
Posted by "Paul Spencer (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-114?page=comments#action_65622 ]
Paul Spencer commented on MRELEASE-114:
---------------------------------------
Fogot to set affected version to Release plugin 2.0-beta-4
> ${project.artifactId} was replaced with it's value during release:perform
> -------------------------------------------------------------------------
>
> Key: MRELEASE-114
> URL: http://jira.codehaus.org/browse/MRELEASE-114
> Project: Maven 2.x Release Plugin
> Type: Bug
> Environment: Windows XP, Java 1.4.2
> Reporter: Paul Spencer
>
>
> In release:perform, the variable ${project.artifactId} was replaced with it's value in the connection and developerConnection tags in the pom. This did NOT happen in other place in the pom!
> Before release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:${project.artifactId}</connection>
> After release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:master-pom</connection>
> BTW: The issue http://jira.codehaus.org/browse/MRELEASE-16 may be
> related to the above problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MRELEASE-114) ${project.artifactId} was replaced
with it's value during release:perform
Posted by "Ian Springer (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_93448 ]
Ian Springer commented on MRELEASE-114:
---------------------------------------
I had ${maven.username} is the value of scm.developerConnection, and it was resolved and replaced in both the "prepare release X.Y.Z" POM and the "prepare for next development iteration" POM. I think this is incorrect behavior in both cases, but particularly undesirable in the latter case... Will this be fixed in the next release?
> ${project.artifactId} was replaced with it's value during release:perform
> -------------------------------------------------------------------------
>
> Key: MRELEASE-114
> URL: http://jira.codehaus.org/browse/MRELEASE-114
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Environment: Windows XP, Java 1.4.2
> Reporter: Paul Spencer
> Attachments: MRELEASE-128-maven-release-plugin.patch
>
>
> In release:perform, the variable ${project.artifactId} was replaced with it's value in the connection and developerConnection tags in the pom. This did NOT happen in other place in the pom!
> Before release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:${project.artifactId}</connection>
> After release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:master-pom</connection>
> BTW: The issue http://jira.codehaus.org/browse/MRELEASE-16 may be
> related to the above problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MRELEASE-114) ${project.artifactId} was replaced
with it's value during release:perform
Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Venisse closed MRELEASE-114.
-------------------------------------
Assignee: Emmanuel Venisse
Resolution: Fixed
Fix Version/s: 2.0-beta-5
Already fixed
> ${project.artifactId} was replaced with it's value during release:perform
> -------------------------------------------------------------------------
>
> Key: MRELEASE-114
> URL: http://jira.codehaus.org/browse/MRELEASE-114
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Environment: Windows XP, Java 1.4.2
> Reporter: Paul Spencer
> Assignee: Emmanuel Venisse
> Fix For: 2.0-beta-5
>
> Attachments: MRELEASE-128-maven-release-plugin.patch
>
>
> In release:perform, the variable ${project.artifactId} was replaced with it's value in the connection and developerConnection tags in the pom. This did NOT happen in other place in the pom!
> Before release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:${project.artifactId}</connection>
> After release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:master-pom</connection>
> BTW: The issue http://jira.codehaus.org/browse/MRELEASE-16 may be
> related to the above problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRELEASE-114) ${project.artifactId} was replaced
with it's value during release:perform
Posted by "Paul Spencer (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-114?page=comments#action_65623 ]
Paul Spencer commented on MRELEASE-114:
---------------------------------------
The <url> tag inside the <scm> tag is also affected by this bug.
> ${project.artifactId} was replaced with it's value during release:perform
> -------------------------------------------------------------------------
>
> Key: MRELEASE-114
> URL: http://jira.codehaus.org/browse/MRELEASE-114
> Project: Maven 2.x Release Plugin
> Type: Bug
> Environment: Windows XP, Java 1.4.2
> Reporter: Paul Spencer
>
>
> In release:perform, the variable ${project.artifactId} was replaced with it's value in the connection and developerConnection tags in the pom. This did NOT happen in other place in the pom!
> Before release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:${project.artifactId}</connection>
> After release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:master-pom</connection>
> BTW: The issue http://jira.codehaus.org/browse/MRELEASE-16 may be
> related to the above problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MRELEASE-114) ${project.artifactId} was replaced
with it's value during release:perform
Posted by "Jurgen Lust (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-114?page=comments#action_78409 ]
Jurgen Lust commented on MRELEASE-114:
--------------------------------------
I checked out the 2.0-beta-4 tag of the maven-release-plugin and applied the patch supplied here, but the problem remains: ${user.name} and ${artifactId} are being replaced in the scm section and committed to svn...
> ${project.artifactId} was replaced with it's value during release:perform
> -------------------------------------------------------------------------
>
> Key: MRELEASE-114
> URL: http://jira.codehaus.org/browse/MRELEASE-114
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Environment: Windows XP, Java 1.4.2
> Reporter: Paul Spencer
> Attachments: MRELEASE-128-maven-release-plugin.patch
>
>
> In release:perform, the variable ${project.artifactId} was replaced with it's value in the connection and developerConnection tags in the pom. This did NOT happen in other place in the pom!
> Before release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:${project.artifactId}</connection>
> After release:
> <connection>scm:cvs:pserver:cvsanon@cvs.foo.com:/bar:master-pom</connection>
> BTW: The issue http://jira.codehaus.org/browse/MRELEASE-16 may be
> related to the above problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira