I’m using the cxf-codegen-plugin to generate some classes from a WSDL. After the sources are generated, a bunch of beans get deleted (we don’t need them, just the service interfaces), but there is an @XmlSeeAlso annotation in the generated source that references some of these deleted classes. We don’t need the @XmlSeeAlso annotation at all, is there a way to tell the cxf-codegen-plugin to exclude certain annotations when generating sources?
I’m using the cxf-codegen-plugin to generate some classes from a WSDL. After the sources
Share
I solved this by adding a tag to a
maven-antrun-plugin, commenting out all the@XmlSeeAlsoinstances: