Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-1290

Several pom.xml files are invalid according to Maven POM XSD

    XMLWordPrintable

Details

    • 1
    • ?

    Description

      Maven repository validation for RHPAM/RHDM product which started to use org.apache.tomcat:tomcat-dbcp:9.0.7.redhat-12 found that the following pom.xml files are invalid according to Maven POM XSD [1]:

      • org.apache.tomcat:tomcat-dbcp
      • org.apache.tomcat:tomcat-juli

      The validation error is the following:

      Error - Line 18, 10: org.xml.sax.SAXParseException; lineNumber: 18; columnNumber: 10; cvc-elt.1.a: Cannot find the declaration of element 'project'.
      

      It seems that the POM files do not use the namespace http://maven.apache.org/POM/4.0.0 as expected by Maven POM XSD.

      An example of the validation error can be found at [2].

      [1] http://maven.apache.org/xsd/maven-4.0.0.xsd
      [2] http://www.utilities-online.info/xsdvalidation/?save=ce945482-7a29-482a-bb6b-401aac1bb117-xsdvalidation

      Attachments

        Activity

          People

            rhn-support-csutherl Coty Sutherland
            mwinkler@redhat.com Marek Winkler (Inactive)
            Matus Madzin Matus Madzin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: