You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Lukas Jungmann (Jira)" <ji...@apache.org> on 2020/05/28 00:34:00 UTC

[jira] [Created] (SANTUARIO-547) Catalog passed to XJC is in obsolete format

Lukas Jungmann created SANTUARIO-547:
----------------------------------------

             Summary: Catalog passed to XJC is in obsolete format
                 Key: SANTUARIO-547
                 URL: https://issues.apache.org/jira/browse/SANTUARIO-547
             Project: Santuario
          Issue Type: Bug
          Components: Java
    Affects Versions: Java 2.1.5, Java 2.2.0
            Reporter: Lukas Jungmann
            Assignee: Colm O hEigeartaigh


On JDK 11, xjc during bulid 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|https://bugs.openjdk.java.net/browse/JDK-8231578] for details



--
This message was sent by Atlassian Jira
(v8.3.4#803005)