Open astetsa opened 4 years ago
My scheme contains name space as following http://www.foo.com/Public/Services
As a result java classes were generated in package com.foo.public.services But public is java keyword. As a result I cannot build my project. How can I specify package name?
I use version of the plugin 0.4
As of version 1.0 you should be able to achieve this by providing the -p parameter (https://cxf.apache.org/docs/wsdl-to-java.html) via the options property:
-p
options
wsdl2java { options.addAll("-p", "my.pck.name") }
My scheme contains name space as following http://www.foo.com/Public/Services
As a result java classes were generated in package com.foo.public.services But public is java keyword. As a result I cannot build my project. How can I specify package name?
I use version of the plugin 0.4