You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Xavier Hanin (JIRA)" <ji...@apache.org> on 2008/04/03 13:36:24 UTC

[jira] Created: (IVY-789) Support 'descriptor' element in resolvers patterns instead of only 'ivy'

Support 'descriptor' element in resolvers patterns instead of only 'ivy'
------------------------------------------------------------------------

                 Key: IVY-789
                 URL: https://issues.apache.org/jira/browse/IVY-789
             Project: Ivy
          Issue Type: Improvement
          Components: Core
            Reporter: Xavier Hanin


Ivy supports pluggable module descriptor formats, two of them being supported by default: ivy files and maven 2 poms.

When one configures a dependency resolver and want to set the pattern for module descriptors, the only available syntax is to put an 'ivy' element. This is confusing for users who want to configure the pattern for other module descriptor format such as poms. Supporting a more generic name like 'descriptor' would thus be a nice improvement. 

This could be a good opportunity to also add the support for an attribute specifying the type of module descriptor expected for the pattern. Something like:
{noformat}
<descriptor pattern="[module]/[artifact]-[revision].[ext]" type="pom" />
{noformat}

would be better than
{noformat}
<ivy pattern="[module]/[module]-[revision].pom" />
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.