I'm trying to expose the original WSDL in a service generated by Maven cxf-codegen-plugin.
Even when I follow the documentation examples, I'm getting an org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Duplicated option: wsdlLocation
My CXF version is 2.7.11 and this is a copy of my Maven configuration:
I've tried by removing includes/excludes options (necessaries because there is just one WSDL that I need to expose the original WSDL) with same exception result. Also, by putting wsdlLocation as an extraarg. Always the "duplicated wsdlLocation" error.