kongchen / swagger-maven-plugin

JAX-RS & SpringMVC supported maven build plugin, helps you generate Swagger JSON and API document in build phase.
http://kongchen.github.io/swagger-maven-plugin/
Apache License 2.0
761 stars 450 forks source link

Unable to parse input schema(s) #521

Open vbmaven opened 7 years ago

vbmaven commented 7 years ago

I am trying to create classes from XML schemas in project(name CMM) but getting following error: Unable to parse input schema(s) file:/C:/Data/gitrepo/cip/cdm/src/main/resources/aixm/v5.1.1/ISO_19136_Schemas/geometryPrimitives.xsd; lineNumber: 648; columnNumber: 25; Property "Rows" is already defined. Use <jaxb:property> to resolve this conflict. Actually this XSD refered above is in a different project(named CDM) which gets compiled,installed correctly as I have a jaxb binding in that project which takes care of above issue. However there are schemas in CMM project which refer to this XSD and when they refer to the XSD they generate this error. I am new to Maven, Please let me know how to resolve this issue.

thlaegler commented 7 years ago

Your issue is definitely not related to this swagger-maven-plugin. And by the unsufficient information you provided there is no change to help you.