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

[jira] [Resolved] (IVY-1290) Ivy.xsd does not recognize the classifier attribute for publications

     [ https://issues.apache.org/jira/browse/IVY-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene resolved IVY-1290.
--------------------------------

    Resolution: Not A Problem
      Assignee: Maarten Coene

You should be able to add the 'classifier' attribute in another namespace. Ivy doesn't has a classifier concept, that's why there is no such attribute in the default namespace.

Please don't hesitate to reopen if there is still a problem after assigning a namespace to the 'classifier' attribute.

Maarten

> 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