Hi, I ran into an issue with building ActiveMQ on Windows with the CXF XJC plugin:
[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.964 s [INFO] Finished at: 2022-10-24T11:04:00+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.cxf:cxf-xjc-plugin:3.3.1:xsdtojava (compile-xsd) on project activemq-runtime-config: [ERROR] Exit code: 1 [ERROR] Command line was: C:\JavaApps\CurrentJdk\bin\java.exe --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=jav a.xml/com.sun.org.apache.xerces.internal.impl.xs=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/jav a.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.u til.concurrent=ALL-UNNAMED -jar C:\Users\jon\AppData\Roaming\MobaXterm\slash\var\log\xwin\cxf-xjc-plugin447220732722629237.jar -classp ath file:/C:/Users/jon/.m2/repository/org/apache/commons/commons-lang3/3.2.1/commons-lang3-3.2.1.jar -classpath file:/C:/Users/jon/.m2 /repository/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar -classpath file:/C:/Users/jon/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-b asics/0.12.0/jaxb2-basics-0.12.0.jar -classpath file:/C:/Users/jon/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-be anutils-1.9.3.jar -classpath file:/C:/Users/jon/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.7/jcl-over-slf4j-1.7.7.jar -classpath file :/C:/Users/jon/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-runtime/0.12.0/jaxb2-basics-runtime-0.12.0.jar -classpath file:/C:/ Users/jon/.m2/repository/org/jvnet/jaxb2_commons/jaxb2-basics-tools/0.12.0/jaxb2-basics-tools-0.12.0.jar -classpath file:/C:/Users/jon /.m2/repository/com/google/code/javaparser/javaparser/1.0.11/javaparser-1.0.11.jar -classpath file:/C:/Users/jon/.m2/repository/common s-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar -b file:/C:/Users/jon/Data/dev/activemq/activemq-runtime-config/ src/main/resources/binding.xjb -XtoString -XhashCode -Xequals -Xequals-equalsStrategyClass=org.apache.activemq.plugin.jaxb2_commons.El ementAwareEqualsStrategy -encoding UTF-8 -d C:\Users\jon\Data\dev\activemq\activemq-runtime-config\target/generated/src/main/java file :/C:/Users/jon/Data/dev/activemq/activemq-runtime-config/../activemq-spring/target/classes/activemq.xsd [ERROR] Upgrading the plugin to 3.3.2 seems to fix it. I've pushed a PR: https://github.com/apache/activemq/pull/926. Many thanks Jon