You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Wenig (JIRA)" <ji...@codehaus.org> on 2010/06/14 15:26:12 UTC

[jira] Created: (MCHANGES-203) Use poms issueTracking.system to select the system to use

Use poms issueTracking.system to select the system to use
---------------------------------------------------------

                 Key: MCHANGES-203
                 URL: http://jira.codehaus.org/browse/MCHANGES-203
             Project: Maven 2.x Changes Plugin
          Issue Type: Improvement
          Components: changes-report
    Affects Versions: 2.3
            Reporter: Michael Wenig


We are defining the changes plugin in a corporate pom. We want to specify the url-templates there via issueLinkTemplatePerSystem.

Unfortunately for the selection of the system the poms issueTracking information seems not to be used so every project has to define the plugin and set the issueLinkTemplatePerSystem (or provide a system-attribut on every action).

Are there any reasons for not using poms project.issueTracking.system as default?

-- 
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-203) Use the POMs issueManagement.type when selecting the system to use

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHANGES-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MCHANGES-203:
-------------------------------------

    Summary: Use the POMs issueManagement.type when selecting the system to use  (was: Use poms issueTracking.system to select the system to use)

> Use the POMs issueManagement.type when selecting the system to use
> ------------------------------------------------------------------
>
>                 Key: MCHANGES-203
>                 URL: http://jira.codehaus.org/browse/MCHANGES-203
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>          Components: changes.xml
>    Affects Versions: 2.3
>            Reporter: Michael Wenig
>
> We are defining the changes plugin in a corporate pom. We want to specify the url-templates there via issueLinkTemplatePerSystem.
> Unfortunately for the selection of the system the poms issueTracking information seems not to be used so every project has to define the plugin and set the issueLinkTemplatePerSystem (or provide a system-attribut on every action).
> Are there any reasons for not using poms project.issueTracking.system as default?

-- 
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-203) Use poms issueTracking.system to select the system to use

Posted by "Michael Wenig (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225301#action_225301 ] 

Michael Wenig commented on MCHANGES-203:
----------------------------------------

We want to achieve that the several projects does not need to configure the changes plugin for themselves and provide a central configuration which is used when a changes.xml is present. That is working at the moment with the exception of the links to the issue system.

In our central pom:

<plugin>
  <maven-changes-plugin>
    <configuration>
      <issueLinkTemplatePerSystem>
        <jira>%URL%/%ISSUE%</jira>
        <bugzilla>%URL%/show_bug.cgi?id=%ISSUE%</bugzilla>
        <....>
      </issueLinkTemplatePerSystem>

in the project A pom:
<issueManagement>
  <type>jira</type>
  <url>...</url>
</issueManagement>
[no configuration of changes plugin]

in the project B pom:
<issueManagement>
  <type>bugzilla</type>
  <url>...</url>
</issueManagement>
[no configuration of changes plugin]

When generating the changes report the plugin should choose the template according to the issueManagement.type if it is not specified at the action. 
Currently it uses everytime the 'default' (as there is normally no system attribute at the actions) which leads either to nonsense urls or the need to configure the plugin in every project:

projectA:
<plugin>
  <maven-changes-plugin>
    <configuration>
      <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>

projectB:
<plugin>
  <maven-changes-plugin>
    <configuration>
      <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>


I hope the pain is clear now :-)

> Use poms issueTracking.system to select the system to use
> ---------------------------------------------------------
>
>                 Key: MCHANGES-203
>                 URL: http://jira.codehaus.org/browse/MCHANGES-203
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>          Components: changes-report
>    Affects Versions: 2.3
>            Reporter: Michael Wenig
>
> We are defining the changes plugin in a corporate pom. We want to specify the url-templates there via issueLinkTemplatePerSystem.
> Unfortunately for the selection of the system the poms issueTracking information seems not to be used so every project has to define the plugin and set the issueLinkTemplatePerSystem (or provide a system-attribut on every action).
> Are there any reasons for not using poms project.issueTracking.system as default?

-- 
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-203) Use poms issueTracking.system to select the system to use

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225383#action_225383 ] 

Dennis Lundberg commented on MCHANGES-203:
------------------------------------------

Thanks for that explanation. Now I see what you mean.

> Use poms issueTracking.system to select the system to use
> ---------------------------------------------------------
>
>                 Key: MCHANGES-203
>                 URL: http://jira.codehaus.org/browse/MCHANGES-203
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>          Components: changes-report
>    Affects Versions: 2.3
>            Reporter: Michael Wenig
>
> We are defining the changes plugin in a corporate pom. We want to specify the url-templates there via issueLinkTemplatePerSystem.
> Unfortunately for the selection of the system the poms issueTracking information seems not to be used so every project has to define the plugin and set the issueLinkTemplatePerSystem (or provide a system-attribut on every action).
> Are there any reasons for not using poms project.issueTracking.system as default?

-- 
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-203) Use the POMs issueManagement.system when selecting the system to use

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHANGES-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MCHANGES-203:
-------------------------------------

    Assignee: Dennis Lundberg
     Summary: Use the POMs issueManagement.system when selecting the system to use  (was: Use the POMs issueManagement.type when selecting the system to use)

> Use the POMs issueManagement.system when selecting the system to use
> --------------------------------------------------------------------
>
>                 Key: MCHANGES-203
>                 URL: http://jira.codehaus.org/browse/MCHANGES-203
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>          Components: changes.xml
>    Affects Versions: 2.3
>            Reporter: Michael Wenig
>            Assignee: Dennis Lundberg
>
> We are defining the changes plugin in a corporate pom. We want to specify the url-templates there via issueLinkTemplatePerSystem.
> Unfortunately for the selection of the system the poms issueTracking information seems not to be used so every project has to define the plugin and set the issueLinkTemplatePerSystem (or provide a system-attribut on every action).
> Are there any reasons for not using poms project.issueTracking.system as default?

-- 
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-203) Use poms issueTracking.system to select the system to use

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225265#action_225265 ] 

Dennis Lundberg commented on MCHANGES-203:
------------------------------------------

I don't follow what it is you want to do. Can you provide us with some examples?

> Use poms issueTracking.system to select the system to use
> ---------------------------------------------------------
>
>                 Key: MCHANGES-203
>                 URL: http://jira.codehaus.org/browse/MCHANGES-203
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>          Components: changes-report
>    Affects Versions: 2.3
>            Reporter: Michael Wenig
>
> We are defining the changes plugin in a corporate pom. We want to specify the url-templates there via issueLinkTemplatePerSystem.
> Unfortunately for the selection of the system the poms issueTracking information seems not to be used so every project has to define the plugin and set the issueLinkTemplatePerSystem (or provide a system-attribut on every action).
> Are there any reasons for not using poms project.issueTracking.system as default?

-- 
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-203) Use the POMs issueManagement.system when selecting the system to use

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHANGES-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MCHANGES-203.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4

Fixed in [r1054461|http://svn.apache.org/viewvc?view=revision&revision=1054461].

The way this has been implemented may unfortunately mean that some users will need to reconfigure the plugin if they upgrade. This is because we still have to carry along some backward compatibility luggage. I have added instructions for this on the usage page. However the changes I've will make the configuration much easier to understand than before.

> Use the POMs issueManagement.system when selecting the system to use
> --------------------------------------------------------------------
>
>                 Key: MCHANGES-203
>                 URL: http://jira.codehaus.org/browse/MCHANGES-203
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>          Components: changes.xml
>    Affects Versions: 2.3
>            Reporter: Michael Wenig
>            Assignee: Dennis Lundberg
>             Fix For: 2.4
>
>
> We are defining the changes plugin in a corporate pom. We want to specify the url-templates there via issueLinkTemplatePerSystem.
> Unfortunately for the selection of the system the poms issueTracking information seems not to be used so every project has to define the plugin and set the issueLinkTemplatePerSystem (or provide a system-attribut on every action).
> Are there any reasons for not using poms project.issueTracking.system as default?

-- 
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