[ https://issues.apache.org/jira/browse/XMLBEANS-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ritesh Kumar updated XMLBEANS-600: ---------------------------------- Description: I tried to upgrade xmlbeans from v3.1.0 to v4.0.0. I know the latest available version is 5.0.3, but I can't upgrade to that version due to some other restriction and dependency from organization. For generating source classes from xsd's I am using {*}{{{}org.codehaus.mojo{}}}.{*}{{{}*xmlbeans-maven-plugin* v2.3.3 and it is failing with below error:{}}} {code:java} ..\xml-model\target\generated-sources\xmlbeans\com\metasolv\oms\orderModel\x2002\x06\x25\SystemHealthPoliciesType.java:144: error: cannot find symbol public static com.metasolv.oms.orderModel.x2002.x06.x25.SystemHealthPoliciesType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { ^ symbol: class XMLInputStream location: package org.apache.xmlbeans.xml.stream {code} {{{}It looks like xmlbeans v4.0.0 is not compatible with org.codehaus.mojo{}}}.{{{}xmlbeans-maven-plugin.{}}} I know we can use {{xmlbeans plugin for generating the sources as mentioned here [https://xmlbeans.apache.org/guide/Maven.html]}} But, this plugin is not available for v4.0.0. I think it is there from v5.0.0 onwards. Is there any other way available to achieve this. was: I tried to upgrade xmlbeans from v3.1.0 to v4.0.0. I know the latest available version is 5.0.3, but I can't upgrade to that version due to some other restriction and dependency from organization. For generating source classes from xsd's I am using {*}{{{}org.codehaus.mojo{}}}.{*}{{{}*xmlbeans-maven-plugin* v2.3.3 and it is failing with below error:{}}} {code:java} ..\xml-model\target\generated-sources\xmlbeans\com\metasolv\oms\orderModel\x2002\x06\x25\SystemHealthPoliciesType.java:144: error: cannot find symbol public static com.metasolv.oms.orderModel.x2002.x06.x25.SystemHealthPoliciesType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { ^ symbol: class XMLInputStream location: package org.apache.xmlbeans.xml.stream {code} {{It looks like xmlbeans v4.0.0 is not compatible with {{{}org.codehaus.mojo{}}}.{{{}xmlbeans-maven-plugin.{}}}}} I know we can use {{{{xmlbeans plugin for generating the sources as mentioned here [https://xmlbeans.apache.org/guide/Maven.html]}}}} But, this plugin is not available for v4.0.0. I think it is there from v5.0.0 onwards. Is there any other way available to achieve this.{{{}{}}} {{{}{}}}{{{}{{}}{}}} > Schema Class Generations Failing with XMLBeans version 4.0.0 > ------------------------------------------------------------ > > Key: XMLBEANS-600 > URL: https://issues.apache.org/jira/browse/XMLBEANS-600 > Project: XMLBeans > Issue Type: Bug > Reporter: Ritesh Kumar > Priority: Major > > I tried to upgrade xmlbeans from v3.1.0 to v4.0.0. > I know the latest available version is 5.0.3, but I can't upgrade to that > version due to some other restriction and dependency from organization. > For generating source classes from xsd's I am using > {*}{{{}org.codehaus.mojo{}}}.{*}{{{}*xmlbeans-maven-plugin* v2.3.3 and it is > failing with below error:{}}} > > {code:java} > ..\xml-model\target\generated-sources\xmlbeans\com\metasolv\oms\orderModel\x2002\x06\x25\SystemHealthPoliciesType.java:144: > error: cannot find symbol > public static > com.metasolv.oms.orderModel.x2002.x06.x25.SystemHealthPoliciesType > parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws > org.apache.xmlbeans.XmlException, > org.apache.xmlbeans.xml.stream.XMLStreamException { > > ^ > symbol: class XMLInputStream > location: package org.apache.xmlbeans.xml.stream {code} > {{{}It looks like xmlbeans v4.0.0 is not compatible with > org.codehaus.mojo{}}}.{{{}xmlbeans-maven-plugin.{}}} > > I know we can use {{xmlbeans plugin for generating the sources as mentioned > here [https://xmlbeans.apache.org/guide/Maven.html]}} > But, this plugin is not available for v4.0.0. I think it is there from v5.0.0 > onwards. > Is there any other way available to achieve this. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org