You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Yuri Schimke (JIRA)" <ji...@codehaus.org> on 2006/08/14 18:25:49 UTC
[jira] Created: (MRELEASE-150) Can't add prefix to tags without
affecting version
Can't add prefix to tags without affecting version
--------------------------------------------------
Key: MRELEASE-150
URL: http://jira.codehaus.org/browse/MRELEASE-150
Project: Maven 2.x Release Plugin
Issue Type: Bug
Affects Versions: 2.0-beta-4
Reporter: Yuri Schimke
Priority: Minor
I added the following to my POM
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tag>XXX-${artifactId}-${version}</tag>
</configuration>
</plugin>
However the tag comes out incorrectly.
[INFO] Full run would be tagging C:\PerforceViews\... with label: 'XXX-myproject-0.5.4-SNAPSHOT
What is the default? <tag>${artifactId}-${version}</tag>
Note: this seems to be missing from the plugin documentation, it only mentions releaseLabel, which defaults to tag.
--
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-150) Can't add prefix to tags without
affecting version
Posted by "Mike Perham (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-150?page=comments#action_72317 ]
Mike Perham commented on MRELEASE-150:
--------------------------------------
I suspect the variables are getting resolved during the POM snapshot -> release transform so that the <tag> value is then hardcoded to that value, no longer using variables.
> Can't add prefix to tags without affecting version
> --------------------------------------------------
>
> Key: MRELEASE-150
> URL: http://jira.codehaus.org/browse/MRELEASE-150
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Affects Versions: 2.0-beta-4
> Reporter: Yuri Schimke
> Priority: Minor
>
> I added the following to my POM
> <plugin>
> <artifactId>maven-release-plugin</artifactId>
> <configuration>
> <tag>XXX-${artifactId}-${version}</tag>
> </configuration>
> </plugin>
> However the tag comes out incorrectly.
> [INFO] Full run would be tagging C:\PerforceViews\... with label: 'XXX-myproject-0.5.4-SNAPSHOT
> What is the default? <tag>${artifactId}-${version}</tag>
> Note: this seems to be missing from the plugin documentation, it only mentions releaseLabel, which defaults to tag.
--
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-150) Can't add prefix to tags without
affecting version
Posted by "Yuri Schimke (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-150?page=comments#action_72321 ]
Yuri Schimke commented on MRELEASE-150:
---------------------------------------
Just realised, the default is obviously null, so that it prompts you to enter the label.
So its actually set at a point that understands the various versions. Can this be addressed by adding extra variables that can be referenced i.e.
- version.previous
- version.release
- version.next
> Can't add prefix to tags without affecting version
> --------------------------------------------------
>
> Key: MRELEASE-150
> URL: http://jira.codehaus.org/browse/MRELEASE-150
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Affects Versions: 2.0-beta-4
> Reporter: Yuri Schimke
> Priority: Minor
>
> I added the following to my POM
> <plugin>
> <artifactId>maven-release-plugin</artifactId>
> <configuration>
> <tag>XXX-${artifactId}-${version}</tag>
> </configuration>
> </plugin>
> However the tag comes out incorrectly.
> [INFO] Full run would be tagging C:\PerforceViews\... with label: 'XXX-myproject-0.5.4-SNAPSHOT
> What is the default? <tag>${artifactId}-${version}</tag>
> Note: this seems to be missing from the plugin documentation, it only mentions releaseLabel, which defaults to tag.
--
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-150) Can't add prefix to tags without
affecting version
Posted by "hanasaki (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228782#action_228782 ]
hanasaki commented on MRELEASE-150:
-----------------------------------
Could this be made more generic allowing for SVN and GIT versions as well?
ex: blahblah-v1.2.0-r756.jar
> Can't add prefix to tags without affecting version
> --------------------------------------------------
>
> Key: MRELEASE-150
> URL: http://jira.codehaus.org/browse/MRELEASE-150
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: perform
> Affects Versions: 2.0-beta-4
> Reporter: Yuri Schimke
> Priority: Minor
> Attachments: release-manager-patch.patch
>
>
> I added the following to my POM
> <plugin>
> <artifactId>maven-release-plugin</artifactId>
> <configuration>
> <tag>XXX-${artifactId}-${version}</tag>
> </configuration>
> </plugin>
> However the tag comes out incorrectly.
> [INFO] Full run would be tagging C:\PerforceViews\... with label: 'XXX-myproject-0.5.4-SNAPSHOT
> What is the default? <tag>${artifactId}-${version}</tag>
> Note: this seems to be missing from the plugin documentation, it only mentions releaseLabel, which defaults to tag.
--
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-150) Can't add prefix to tags without
affecting version
Posted by "Roberto Lo Giacco (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_96837 ]
Roberto Lo Giacco commented on MRELEASE-150:
--------------------------------------------
It would be very nice to allow for something like
<tag>XXXXX-${project.relase.version}</tag>
Any hint how it can be performed?
> Can't add prefix to tags without affecting version
> --------------------------------------------------
>
> Key: MRELEASE-150
> URL: http://jira.codehaus.org/browse/MRELEASE-150
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Affects Versions: 2.0-beta-4
> Reporter: Yuri Schimke
> Priority: Minor
>
> I added the following to my POM
> <plugin>
> <artifactId>maven-release-plugin</artifactId>
> <configuration>
> <tag>XXX-${artifactId}-${version}</tag>
> </configuration>
> </plugin>
> However the tag comes out incorrectly.
> [INFO] Full run would be tagging C:\PerforceViews\... with label: 'XXX-myproject-0.5.4-SNAPSHOT
> What is the default? <tag>${artifactId}-${version}</tag>
> Note: this seems to be missing from the plugin documentation, it only mentions releaseLabel, which defaults to tag.
--
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-150) Can't add prefix to tags without
affecting version
Posted by "Stephen Connolly (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Connolly closed MRELEASE-150.
-------------------------------------
Resolution: Duplicate
Closing as duplicate of MRELEASE-159
> Can't add prefix to tags without affecting version
> --------------------------------------------------
>
> Key: MRELEASE-150
> URL: https://jira.codehaus.org/browse/MRELEASE-150
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: perform
> Affects Versions: 2.0-beta-4
> Reporter: Yuri Schimke
> Priority: Minor
> Attachments: release-manager-patch.patch
>
>
> I added the following to my POM
> <plugin>
> <artifactId>maven-release-plugin</artifactId>
> <configuration>
> <tag>XXX-${artifactId}-${version}</tag>
> </configuration>
> </plugin>
> However the tag comes out incorrectly.
> [INFO] Full run would be tagging C:\PerforceViews\... with label: 'XXX-myproject-0.5.4-SNAPSHOT
> What is the default? <tag>${artifactId}-${version}</tag>
> Note: this seems to be missing from the plugin documentation, it only mentions releaseLabel, which defaults to tag.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MRELEASE-150) Can't add prefix to tags without
affecting version
Posted by "Jeff Skjonsby (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Skjonsby updated MRELEASE-150:
-----------------------------------
Attachment: release-manager-patch.patch
Here's a patch with unit tests that adds simple substitution for [groupId], [artifactId], and [version] in the release label.
> Can't add prefix to tags without affecting version
> --------------------------------------------------
>
> Key: MRELEASE-150
> URL: http://jira.codehaus.org/browse/MRELEASE-150
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: perform
> Affects Versions: 2.0-beta-4
> Reporter: Yuri Schimke
> Priority: Minor
> Attachments: release-manager-patch.patch
>
>
> I added the following to my POM
> <plugin>
> <artifactId>maven-release-plugin</artifactId>
> <configuration>
> <tag>XXX-${artifactId}-${version}</tag>
> </configuration>
> </plugin>
> However the tag comes out incorrectly.
> [INFO] Full run would be tagging C:\PerforceViews\... with label: 'XXX-myproject-0.5.4-SNAPSHOT
> What is the default? <tag>${artifactId}-${version}</tag>
> Note: this seems to be missing from the plugin documentation, it only mentions releaseLabel, which defaults to tag.
--
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-150) Can't add prefix to tags without
affecting version
Posted by "Sergio Fernandes (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=155735#action_155735 ]
Sergio Fernandes commented on MRELEASE-150:
-------------------------------------------
I have the same problem: I need to add a suffix to make the release tag match our naming pattern.
Adding these variables seems to be very easy and valuable.
> Can't add prefix to tags without affecting version
> --------------------------------------------------
>
> Key: MRELEASE-150
> URL: http://jira.codehaus.org/browse/MRELEASE-150
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Affects Versions: 2.0-beta-4
> Reporter: Yuri Schimke
> Priority: Minor
>
> I added the following to my POM
> <plugin>
> <artifactId>maven-release-plugin</artifactId>
> <configuration>
> <tag>XXX-${artifactId}-${version}</tag>
> </configuration>
> </plugin>
> However the tag comes out incorrectly.
> [INFO] Full run would be tagging C:\PerforceViews\... with label: 'XXX-myproject-0.5.4-SNAPSHOT
> What is the default? <tag>${artifactId}-${version}</tag>
> Note: this seems to be missing from the plugin documentation, it only mentions releaseLabel, which defaults to tag.
--
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-150) Can't add prefix to tags without
affecting version
Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arnaud Heritier updated MRELEASE-150:
-------------------------------------
Component/s: perform
> Can't add prefix to tags without affecting version
> --------------------------------------------------
>
> Key: MRELEASE-150
> URL: http://jira.codehaus.org/browse/MRELEASE-150
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: perform
> Affects Versions: 2.0-beta-4
> Reporter: Yuri Schimke
> Priority: Minor
>
> I added the following to my POM
> <plugin>
> <artifactId>maven-release-plugin</artifactId>
> <configuration>
> <tag>XXX-${artifactId}-${version}</tag>
> </configuration>
> </plugin>
> However the tag comes out incorrectly.
> [INFO] Full run would be tagging C:\PerforceViews\... with label: 'XXX-myproject-0.5.4-SNAPSHOT
> What is the default? <tag>${artifactId}-${version}</tag>
> Note: this seems to be missing from the plugin documentation, it only mentions releaseLabel, which defaults to tag.
--
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