[ 
http://jira.codehaus.org/browse/MVERSIONS-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen Connolly closed MVERSIONS-77.
-------------------------------------

    Resolution: Won't Fix

I do not see merit in your suggestion... or perhaps you can illustrate with 
some examples of how this would work.

If you need any rule other than maven, then you need a rule set... because at 
least some artifacts *must* use maven comparison (e.g. the core maven artifacts 
and the core maven plugins)

Therefore the only way to handle mixed rules is a ruleset.

Seriously, what is so difficult about creating a 4 line xml file

<ruleset comparisonMethod="maven">
  <rules>
    <rule groupId="com.mycompany" comparisonMethod="mercury"/>
  </rules>
</ruleset>

That will map everything except yourcompany as numeric.

> Support for configuring global comparisonMethod without requiring creation of 
> rule-set xml
> ------------------------------------------------------------------------------------------
>
>                 Key: MVERSIONS-77
>                 URL: http://jira.codehaus.org/browse/MVERSIONS-77
>             Project: Maven 2.x Versions Plugin
>          Issue Type: Wish
>    Affects Versions: 1.0
>            Reporter: Stevo Slavic
>            Priority: Minor
>
> Please support configuring global comparisonMethod, so that one isn't 
> required to create and configure custom rule-set xml if a common version 
> number scheme should be used for all artifacts version comparisons. This 
> could be implemented as additional parameter to every plugin mojo (like 
> rulesUri), defaulting to "maven". If reference to rule-set xml is configured 
> via rulesUri along with new global comparisonMethod param, then any value 
> configured as comparisonMethod attribute of ruleset should override global 
> comparisonMethod.

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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to