I found this great tip about adding -fe jaxws21
to the wsdl2java command to have it generate jaxws 2.1 compliant code instead of 2.2, but Maven's pom.xml
doesn't seem to like this addition when placed like this:
<goals>
<goal>wsdl2java -fe jaxws21</goal>
</goals>
What is the correct way of specifying a frontend for wsdl2java that's used in a pom.xml?