You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Myron (JIRA)" <ji...@codehaus.org> on 2011/02/04 14:42:22 UTC
[jira] Created: (MCHANGES-226) issueLinkTemplatePerSystem does not
work
issueLinkTemplatePerSystem does not work
----------------------------------------
Key: MCHANGES-226
URL: http://jira.codehaus.org/browse/MCHANGES-226
Project: Maven 2.x Changes Plugin
Issue Type: Bug
Components: other issue-trackers
Affects Versions: 2.4
Reporter: Myron
Priority: Minor
Sorry, i don't get it.
i try to add/config my own tracking system.
{quote}
<issueManagement>
<system>testtesttest</system>
<url>http://somehost.com/project/dashboard</url>
</issueManagement>
{quote}
but i cant use the %URL%, i specify this absolute in the plugin section.
{quote}
<configuration>
<issueLinkTemplatePerSystem>
<testtesttest>http://somehost.com/items?query=%ISSUE%</testtesttest>
</issueLinkTemplatePerSystem>
</configuration>
{quote}
in my changes.xml, the system is also testtesttest.
Tried everything, but i dont get links.
if i use
{quote}
<issueLinkTemplate>http://somehost.com/items?query=%ISSUE%</issueLinkTemplate>
{quote}
and "default" in changes.xml i DO get links, but always with the default value (regardless whats specified)
{quote}[DEBUG] (f) issueLinkTemplate = %URL%/ViewIssue.jspa?key=%ISSUE%{quote}
if i specify f. ex. "SourceForge" in changes.xml, the links work out-of-the-box
tried also old suggestions like MCHANGES-166 - no success.
--
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: (MCHANGES-226) issueLinkTemplatePerSystem does
not work
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGES-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=254694#action_254694 ]
Dennis Lundberg commented on MCHANGES-226:
------------------------------------------
Hi
Make sure that you are configuring the plugin in the *reporting* section of the POM.
I took your configuration snippets and put them into a sample project that works fine for me. I get the custom links both for actions that don't have a system specified and when the system is testtesttest. I'll attach it to this issue.
> issueLinkTemplatePerSystem does not work
> ----------------------------------------
>
> Key: MCHANGES-226
> URL: http://jira.codehaus.org/browse/MCHANGES-226
> Project: Maven 2.x Changes Plugin
> Issue Type: Bug
> Components: other issue-trackers
> Affects Versions: 2.4
> Reporter: Myron
> Priority: Minor
>
> Sorry, i don't get it.
> i try to add/config my own tracking system.
> {quote}
> <issueManagement>
> <system>testtesttest</system>
> <url>http://somehost.com/project/dashboard</url>
> </issueManagement>
> {quote}
> but i cant use the %URL%, i specify this absolute in the plugin section.
> {quote}
> <configuration>
> <issueLinkTemplatePerSystem>
> <testtesttest>http://somehost.com/items?query=%ISSUE%</testtesttest>
> </issueLinkTemplatePerSystem>
> </configuration>
> {quote}
> in my changes.xml, the system is also testtesttest.
> Tried everything, but i dont get links.
> if i use
> {quote}
> <issueLinkTemplate>http://somehost.com/items?query=%ISSUE%</issueLinkTemplate>
> {quote}
> and "default" in changes.xml i DO get links, but always with the default value (regardless whats specified)
> {quote}[DEBUG] (f) issueLinkTemplate = %URL%/ViewIssue.jspa?key=%ISSUE%{quote}
> if i specify f. ex. "SourceForge" in changes.xml, the links work out-of-the-box
> tried also old suggestions like MCHANGES-166 - no success.
--
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: (MCHANGES-226) issueLinkTemplatePerSystem does not
work
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGES-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MCHANGES-226:
-------------------------------------
Attachment: MCHANGES-226.zip
Sample project that works for me.
> issueLinkTemplatePerSystem does not work
> ----------------------------------------
>
> Key: MCHANGES-226
> URL: http://jira.codehaus.org/browse/MCHANGES-226
> Project: Maven 2.x Changes Plugin
> Issue Type: Bug
> Components: other issue-trackers
> Affects Versions: 2.4
> Reporter: Myron
> Priority: Minor
> Attachments: MCHANGES-226.zip
>
>
> Sorry, i don't get it.
> i try to add/config my own tracking system.
> {quote}
> <issueManagement>
> <system>testtesttest</system>
> <url>http://somehost.com/project/dashboard</url>
> </issueManagement>
> {quote}
> but i cant use the %URL%, i specify this absolute in the plugin section.
> {quote}
> <configuration>
> <issueLinkTemplatePerSystem>
> <testtesttest>http://somehost.com/items?query=%ISSUE%</testtesttest>
> </issueLinkTemplatePerSystem>
> </configuration>
> {quote}
> in my changes.xml, the system is also testtesttest.
> Tried everything, but i dont get links.
> if i use
> {quote}
> <issueLinkTemplate>http://somehost.com/items?query=%ISSUE%</issueLinkTemplate>
> {quote}
> and "default" in changes.xml i DO get links, but always with the default value (regardless whats specified)
> {quote}[DEBUG] (f) issueLinkTemplate = %URL%/ViewIssue.jspa?key=%ISSUE%{quote}
> if i specify f. ex. "SourceForge" in changes.xml, the links work out-of-the-box
> tried also old suggestions like MCHANGES-166 - no success.
--
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: (MCHANGES-226) issueLinkTemplatePerSystem does not
work
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGES-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MCHANGES-226:
-------------------------------------
Component/s: (was: other issue-trackers)
changes.xml
> issueLinkTemplatePerSystem does not work
> ----------------------------------------
>
> Key: MCHANGES-226
> URL: http://jira.codehaus.org/browse/MCHANGES-226
> Project: Maven 2.x Changes Plugin
> Issue Type: Bug
> Components: changes.xml
> Affects Versions: 2.4
> Reporter: Myron
> Priority: Minor
> Attachments: MCHANGES-226.zip
>
>
> Sorry, i don't get it.
> i try to add/config my own tracking system.
> {quote}
> <issueManagement>
> <system>testtesttest</system>
> <url>http://somehost.com/project/dashboard</url>
> </issueManagement>
> {quote}
> but i cant use the %URL%, i specify this absolute in the plugin section.
> {quote}
> <configuration>
> <issueLinkTemplatePerSystem>
> <testtesttest>http://somehost.com/items?query=%ISSUE%</testtesttest>
> </issueLinkTemplatePerSystem>
> </configuration>
> {quote}
> in my changes.xml, the system is also testtesttest.
> Tried everything, but i dont get links.
> if i use
> {quote}
> <issueLinkTemplate>http://somehost.com/items?query=%ISSUE%</issueLinkTemplate>
> {quote}
> and "default" in changes.xml i DO get links, but always with the default value (regardless whats specified)
> {quote}[DEBUG] (f) issueLinkTemplate = %URL%/ViewIssue.jspa?key=%ISSUE%{quote}
> if i specify f. ex. "SourceForge" in changes.xml, the links work out-of-the-box
> tried also old suggestions like MCHANGES-166 - no success.
--
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: (MCHANGES-226) issueLinkTemplatePerSystem does
not work
Posted by "Myron (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGES-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=254854#action_254854 ]
Myron commented on MCHANGES-226:
--------------------------------
Thanks for the sample - it does not work for me.
Page looks fine, but there are no links to the issue tracker....
i'm using maven3, might this be a problem?!
{quote}
M:\dev\test>mvn -version
Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100)
Java version: 1.6.0_22, vendor: Sun Microsystems Inc.
Java home: D:\Programme\Java\jdk6\jre
Default locale: de_AT, platform encoding: Cp1252
OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"
{quote}
> issueLinkTemplatePerSystem does not work
> ----------------------------------------
>
> Key: MCHANGES-226
> URL: http://jira.codehaus.org/browse/MCHANGES-226
> Project: Maven 2.x Changes Plugin
> Issue Type: Bug
> Components: changes.xml
> Affects Versions: 2.4
> Reporter: Myron
> Priority: Minor
> Attachments: MCHANGES-226.zip
>
>
> Sorry, i don't get it.
> i try to add/config my own tracking system.
> {quote}
> <issueManagement>
> <system>testtesttest</system>
> <url>http://somehost.com/project/dashboard</url>
> </issueManagement>
> {quote}
> but i cant use the %URL%, i specify this absolute in the plugin section.
> {quote}
> <configuration>
> <issueLinkTemplatePerSystem>
> <testtesttest>http://somehost.com/items?query=%ISSUE%</testtesttest>
> </issueLinkTemplatePerSystem>
> </configuration>
> {quote}
> in my changes.xml, the system is also testtesttest.
> Tried everything, but i dont get links.
> if i use
> {quote}
> <issueLinkTemplate>http://somehost.com/items?query=%ISSUE%</issueLinkTemplate>
> {quote}
> and "default" in changes.xml i DO get links, but always with the default value (regardless whats specified)
> {quote}[DEBUG] (f) issueLinkTemplate = %URL%/ViewIssue.jspa?key=%ISSUE%{quote}
> if i specify f. ex. "SourceForge" in changes.xml, the links work out-of-the-box
> tried also old suggestions like MCHANGES-166 - no success.
--
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: (MCHANGES-226) issueLinkTemplatePerSystem does
not work
Posted by "Myron (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGES-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255069#action_255069 ]
Myron commented on MCHANGES-226:
--------------------------------
Thanks for your patience - it was a clear layer8 problem.
It is working now with this sample, and i know what to do. (and what I've should have done)
We recently switched to maven (2, then 3 shortly after) and i only checked the page till the compatibility matrix.
All other reports i added worked "the old way", so it didn't come to my mind that my setup was _that_ false for this plugin....
lesson learned.
> issueLinkTemplatePerSystem does not work
> ----------------------------------------
>
> Key: MCHANGES-226
> URL: http://jira.codehaus.org/browse/MCHANGES-226
> Project: Maven 2.x Changes Plugin
> Issue Type: Bug
> Components: changes.xml
> Affects Versions: 2.4
> Reporter: Myron
> Assignee: Dennis Lundberg
> Priority: Minor
> Attachments: MCHANGES-226.zip, MCHANGES-226.zip
>
>
> Sorry, i don't get it.
> i try to add/config my own tracking system.
> {quote}
> <issueManagement>
> <system>testtesttest</system>
> <url>http://somehost.com/project/dashboard</url>
> </issueManagement>
> {quote}
> but i cant use the %URL%, i specify this absolute in the plugin section.
> {quote}
> <configuration>
> <issueLinkTemplatePerSystem>
> <testtesttest>http://somehost.com/items?query=%ISSUE%</testtesttest>
> </issueLinkTemplatePerSystem>
> </configuration>
> {quote}
> in my changes.xml, the system is also testtesttest.
> Tried everything, but i dont get links.
> if i use
> {quote}
> <issueLinkTemplate>http://somehost.com/items?query=%ISSUE%</issueLinkTemplate>
> {quote}
> and "default" in changes.xml i DO get links, but always with the default value (regardless whats specified)
> {quote}[DEBUG] (f) issueLinkTemplate = %URL%/ViewIssue.jspa?key=%ISSUE%{quote}
> if i specify f. ex. "SourceForge" in changes.xml, the links work out-of-the-box
> tried also old suggestions like MCHANGES-166 - no success.
--
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: (MCHANGES-226) issueLinkTemplatePerSystem does
not work
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGES-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=254908#action_254908 ]
Dennis Lundberg commented on MCHANGES-226:
------------------------------------------
Well, that's what the environment text field in JIRA if for...
Reporting plugins, like the Changes Plugin, are not configured in the same way in Maven 3 as they were in Maven2. Please read this about how to use the Site Plugin in Maven 3:
https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html
If you need configure a reporting plugin to be used without the Site Plugin, i.e 'mvn changes:changes-report' from the command line, then you need to configure the plugin in the <build> section of your POM, even though it is a reporting plugin.
> issueLinkTemplatePerSystem does not work
> ----------------------------------------
>
> Key: MCHANGES-226
> URL: http://jira.codehaus.org/browse/MCHANGES-226
> Project: Maven 2.x Changes Plugin
> Issue Type: Bug
> Components: changes.xml
> Affects Versions: 2.4
> Reporter: Myron
> Priority: Minor
> Attachments: MCHANGES-226.zip
>
>
> Sorry, i don't get it.
> i try to add/config my own tracking system.
> {quote}
> <issueManagement>
> <system>testtesttest</system>
> <url>http://somehost.com/project/dashboard</url>
> </issueManagement>
> {quote}
> but i cant use the %URL%, i specify this absolute in the plugin section.
> {quote}
> <configuration>
> <issueLinkTemplatePerSystem>
> <testtesttest>http://somehost.com/items?query=%ISSUE%</testtesttest>
> </issueLinkTemplatePerSystem>
> </configuration>
> {quote}
> in my changes.xml, the system is also testtesttest.
> Tried everything, but i dont get links.
> if i use
> {quote}
> <issueLinkTemplate>http://somehost.com/items?query=%ISSUE%</issueLinkTemplate>
> {quote}
> and "default" in changes.xml i DO get links, but always with the default value (regardless whats specified)
> {quote}[DEBUG] (f) issueLinkTemplate = %URL%/ViewIssue.jspa?key=%ISSUE%{quote}
> if i specify f. ex. "SourceForge" in changes.xml, the links work out-of-the-box
> tried also old suggestions like MCHANGES-166 - no success.
--
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: (MCHANGES-226) issueLinkTemplatePerSystem does not
work
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGES-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MCHANGES-226:
-------------------------------------
Attachment: MCHANGES-226.zip
Updated POM with a profile for use with Maven 3.
> issueLinkTemplatePerSystem does not work
> ----------------------------------------
>
> Key: MCHANGES-226
> URL: http://jira.codehaus.org/browse/MCHANGES-226
> Project: Maven 2.x Changes Plugin
> Issue Type: Bug
> Components: changes.xml
> Affects Versions: 2.4
> Reporter: Myron
> Priority: Minor
> Attachments: MCHANGES-226.zip, MCHANGES-226.zip
>
>
> Sorry, i don't get it.
> i try to add/config my own tracking system.
> {quote}
> <issueManagement>
> <system>testtesttest</system>
> <url>http://somehost.com/project/dashboard</url>
> </issueManagement>
> {quote}
> but i cant use the %URL%, i specify this absolute in the plugin section.
> {quote}
> <configuration>
> <issueLinkTemplatePerSystem>
> <testtesttest>http://somehost.com/items?query=%ISSUE%</testtesttest>
> </issueLinkTemplatePerSystem>
> </configuration>
> {quote}
> in my changes.xml, the system is also testtesttest.
> Tried everything, but i dont get links.
> if i use
> {quote}
> <issueLinkTemplate>http://somehost.com/items?query=%ISSUE%</issueLinkTemplate>
> {quote}
> and "default" in changes.xml i DO get links, but always with the default value (regardless whats specified)
> {quote}[DEBUG] (f) issueLinkTemplate = %URL%/ViewIssue.jspa?key=%ISSUE%{quote}
> if i specify f. ex. "SourceForge" in changes.xml, the links work out-of-the-box
> tried also old suggestions like MCHANGES-166 - no success.
--
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: (MCHANGES-226) issueLinkTemplatePerSystem does not
work
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGES-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MCHANGES-226.
------------------------------------
Resolution: Not A Bug
Assignee: Dennis Lundberg
> issueLinkTemplatePerSystem does not work
> ----------------------------------------
>
> Key: MCHANGES-226
> URL: http://jira.codehaus.org/browse/MCHANGES-226
> Project: Maven 2.x Changes Plugin
> Issue Type: Bug
> Components: changes.xml
> Affects Versions: 2.4
> Reporter: Myron
> Assignee: Dennis Lundberg
> Priority: Minor
> Attachments: MCHANGES-226.zip, MCHANGES-226.zip
>
>
> Sorry, i don't get it.
> i try to add/config my own tracking system.
> {quote}
> <issueManagement>
> <system>testtesttest</system>
> <url>http://somehost.com/project/dashboard</url>
> </issueManagement>
> {quote}
> but i cant use the %URL%, i specify this absolute in the plugin section.
> {quote}
> <configuration>
> <issueLinkTemplatePerSystem>
> <testtesttest>http://somehost.com/items?query=%ISSUE%</testtesttest>
> </issueLinkTemplatePerSystem>
> </configuration>
> {quote}
> in my changes.xml, the system is also testtesttest.
> Tried everything, but i dont get links.
> if i use
> {quote}
> <issueLinkTemplate>http://somehost.com/items?query=%ISSUE%</issueLinkTemplate>
> {quote}
> and "default" in changes.xml i DO get links, but always with the default value (regardless whats specified)
> {quote}[DEBUG] (f) issueLinkTemplate = %URL%/ViewIssue.jspa?key=%ISSUE%{quote}
> if i specify f. ex. "SourceForge" in changes.xml, the links work out-of-the-box
> tried also old suggestions like MCHANGES-166 - no success.
--
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