Child pages
  • cxf-xjc-bug671
Skip to end of metadata
Go to start of metadata

CXF XJC Bug671 Plugin

The CXF XJC Bug671 Plugin is specifically designed to workaround https://jaxb.dev.java.net/issues/show_bug.cgi?id=671 where certain namespaces could produce invalid and uncompilable code. This is not needed for the latest versions of JAXB.

To use with Maven

           <plugin>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-xjc-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>xsdtojava</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <xsdOptions>
                        <xsdOption>
                            <extension>true</extension>
                            <xsd>${basedir}/src/main/resources/schemas/configuration/foo.xsd</xsd>
                            <extensionArgs>
                                <arg>-Xbug671</arg>
                            </extensionArgs>
                        </xsdOption>
                    </xsdOptions>
                    <extensions>
                        <extension>org.apache.cxf.xjcplugins:cxf-xjc-bug671:2.3.0</extension>
                    </extensions>
                </configuration>
            </plugin>

  • No labels

0 Comments