jaxb-xew-plugin

how to get maven-jaxws-plugin to generate @XmlElementWrapper on classes generated from xsd?

三世轮回 提交于 2019-12-04 23:58:39
问题 I am using maven-jaxws-plugin to generate java classes from my wsdl, schema. It is not generating the @XmlElementWrapper annotation in the generated classes. From this post I understand I nedd to use the jaxb-xew-plugin but am unable to get it working with the maven-jaxws-plugin. Any help would be appreciated. Here is the config I tried <plugin> <groupId>org.jvnet.jax-ws-commons</groupId> <artifactId>jaxws-maven-plugin</artifactId> <version>2.2</version> <executions> <execution> <goals> <goal

how to get maven-jaxws-plugin to generate @XmlElementWrapper on classes generated from xsd?

心已入冬 提交于 2019-12-03 16:29:04
I am using maven-jaxws-plugin to generate java classes from my wsdl, schema. It is not generating the @XmlElementWrapper annotation in the generated classes. From this post I understand I nedd to use the jaxb-xew-plugin but am unable to get it working with the maven-jaxws-plugin. Any help would be appreciated. Here is the config I tried <plugin> <groupId>org.jvnet.jax-ws-commons</groupId> <artifactId>jaxws-maven-plugin</artifactId> <version>2.2</version> <executions> <execution> <goals> <goal>wsimport</goal> </goals> <phase>generate-resources</phase> <configuration> <xjcArgs> <xjcArg>-no

com.sun.tools.xjc.Plugin: Provider <plugin> not a subtype

强颜欢笑 提交于 2019-11-28 12:15:30
I have a CXF JAX-RS app being built with Maven. I'm working on converting it to Gradle, but using the Ant XJC task. The current build uses a couple of extensions, one of which is a copy of the "element wrapper" plugin, and the other is the "jaxb-fluent-api". I tried putting the jars for those two plugins into the xjc classpath, but when I run the XJC task, I get the following: java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider dk.conspicio.jaxb.plugins.XmlElementWrapperPlugin not a subtype The XmlElementWrapperPlugin class extends "com.sun.tools.xjc.Plugin". Any idea what

com.sun.tools.xjc.Plugin: Provider <plugin> not a subtype

被刻印的时光 ゝ 提交于 2019-11-27 06:54:37
问题 I have a CXF JAX-RS app being built with Maven. I'm working on converting it to Gradle, but using the Ant XJC task. The current build uses a couple of extensions, one of which is a copy of the "element wrapper" plugin, and the other is the "jaxb-fluent-api". I tried putting the jars for those two plugins into the xjc classpath, but when I run the XJC task, I get the following: java.util.ServiceConfigurationError: com.sun.tools.xjc.Plugin: Provider dk.conspicio.jaxb.plugins