ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Rumpf (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IVY-1290) Ivy.xsd does not recognize the classifier attribute for publications
Date Wed, 04 May 2011 07:30:03 GMT

    [ https://issues.apache.org/jira/browse/IVY-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028653#comment-13028653
] 

Michael Rumpf commented on IVY-1290:
------------------------------------

1, Why do the default patterns contain a "(-[classifier])" part although it is not supported
directly.
Either the classifier should be removed from the default pattern or the support for classifier
should be added. This inconsistent state is very confusing. When you search for classifier
support in Ivy you find a few traces, e.g. the default patterns, but then you need to define
an attribute in an extra namespace.

2. The classifier is a part of the Maven concepts. In my humble opinion the classifier should
at least be supported when you set the m2compatible flag to true.


> Ivy.xsd does not recognize the classifier attribute for publications
> --------------------------------------------------------------------
>
>                 Key: IVY-1290
>                 URL: https://issues.apache.org/jira/browse/IVY-1290
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.2.0
>            Reporter: Michael Rumpf
>            Assignee: Maarten Coene
>
> The classifier attribute leads to a parser validation exception:
>   <publications>
>     <artifact name="xyz" ext="zip" classifier="source"/>
>     <artifact name="xyz" ext="zip" classifier="doc"/>
>     <artifact name="xyz" ext="zip"/>
>   </publications>
> This can easily be fixed by adding the following line to ivy.xsd (line 139):
> <xs:attribute name="classifier" type="xs:string"/>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message