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

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

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


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

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

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ 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

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

Posted by "Michael Rumpf (JIRA)" <ji...@apache.org>.
    [ 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