Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-547

Catalog passed to XJC is in obsolete format

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java 2.2.0, Java 2.1.5
    • Java 2.2.1
    • Java
    • None

    Description

      On JDK 11, xjc during build fails with:

       

      at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant BuildException has occured: javax.xml.catalog.CatalogException: JAXP09030002: Failed to parse the catalog file.
      around Ant part ...<xjc fork="true" extension="true" catalog="/Users/lukas/development/github/eclipse-ee4j/santuario-xml-security-java/src/main/resources/bindings/bindings.cat" destdir="${dest}" target="2.1">... @ 8:194 in /Users/lukas/development/github/eclipse-ee4j/santuario-xml-security-java/target/antrun/build-main.xml
      

       

      ...I'm using different way to invoke XJC but the issue is likely the same with the maven plugin because catalog format being used is not supported by JDK anymore, see  JDK bug for details

      Attachments

        Issue Links

          Activity

            People

              coheigea Colm O hEigeartaigh
              lukasj Lukas Jungmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: