You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/06/30 18:21:56 UTC

[jira] Updated: (MAVEN-530) element distribution is undefined in maven-project.xsd

The following issue has been updated:

    Updater: Abdelkrim BOUJRAF (mailto:abdelkrim.boujraf@dad.be)
       Date: Mon, 30 Jun 2003 11:20 AM
    Comment:
Error while loading schema with XML Spy 5 release 4
    Changes:
          Attachment changed from  to SchemaError.jpg
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-530&page=history

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-530


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-530
    Summary: element distribution is undefined in maven-project.xsd
       Type: Bug

     Status: Unassigned
   Priority: Major

 Time Spent: Unknown
   Estimate: 1 hour

    Project: maven
   Versions:
             1.0-beta-9

   Assignee: 
   Reporter: Abdelkrim BOUJRAF

    Created: Mon, 30 Jun 2003 11:16 AM
    Updated: Mon, 30 Jun 2003 11:20 AM
Environment: Windows 2000 Server, XML Spy 5 release 4

Description:
I try to create a maven.xml file with XML Spy.
Unfortunately when I try to save my maven.xml file I get an error from the schema validator saying that "element 'distribution' is undefined".

Effectively the maven-project.xsd provided in the maven-1.0-beta-9.zip distribution, you can find the following schema code:

<xs:element name="license">
  <xs:complexType>
  <xs:sequence>
  <xs:element ref="name" minOccurs="0"/>
    <xs:element ref="url" minOccurs="0"/>
    <xs:element ref="distribution" minOccurs="0"/>
    <!-- name of the license, e.g. ASL 1.1 -->
    <!-- fetchable version of the license -->
    <!-- manual, repository, ben? -->
    </xs:sequence>
  </xs:complexType>
</xs:element>


But the 'distribution' element is unfortunately undefined in the whole file.

Same problem occurs in maven-1.0-beta-8.zip version.

Either the 'distribution' element is defined in another schema file or the 'distribution' name is incorrect.




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org