Hi Team,

We are using xmlbeans 3.1.0 in our project and planning to upgrade it to 5.0.3 
latest version.
In the upgrade process, I have observed that xmlbeans-maven-plugin 2.3.3 POM 
file is having maven dependency to xmlbeans 
2.4.0<https://repo1.maven.org/maven2/org/codehaus/mojo/xmlbeans-maven-plugin/2.3.3/xmlbeans-maven-plugin-2.3.3.pom>,
 even though I have xmlbenas maven dependency to 5.0.3 in my project, 
compilation(using java 1.8) was failing to the below. Somebody already raised 
issue for the same on xmlbeans 4.0.0, but the issue was closed. 
https://issues.apache.org/jira/browse/XMLBEANS-553 without much information. 
Because of this issue we are unable to upgrade xmlbeans from 3.1.0 to 5.0.3. 
Could you please help us on this?

[INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (core-and-automation) @ 
xml-model ---
Downloading: 
http://nexus.us.oracle.com:8088/nexus/content/groups/public/org/apache/xmlbeans/xmlbeans/2.4.0/xmlbeans-2.4.0.pom
Downloaded: 
http://nexus.us.oracle.com:8088/nexus/content/groups/public/org/apache/xmlbeans/xmlbeans/2.4.0/xmlbeans-2.4.0.pom
 (5 KB at 8.2 KB/sec)
Downloading: 
http://nexus.us.oracle.com:8088/nexus/content/groups/public/org/apache/xmlbeans/xmlbeans/2.4.0/xmlbeans-2.4.0.jar
Downloaded: 
http://nexus.us.oracle.com:8088/nexus/content/groups/public/org/apache/xmlbeans/xmlbeans/2.4.0/xmlbeans-2.4.0.jar
 (2631 KB at 112.5 KB/sec)
warning: [options] bootstrap class path not set in conjunction with -source 1.4
warning: [options] source value 1.4 is obsolete and will be removed in a future 
release
warning: [options] target value 1.4 is obsolete and will be removed in a future 
release
warning: [options] To suppress warnings about obsolete options, use 
-Xlint:-options.
..\..\parent\xml-model\target\generated-sources\xmlbeans\com\ossms\orderModel\x2002\x06\x25\SystemHealthPoliciesType.java:144:
 error: cannot find symbol
        public static 
com.ossms.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
..\..\parent\xml-model\target\generated-sources\xmlbeans\com\ossms\orderModel\x2002\x06\x25\SystemHealthPoliciesType.java:144:
 error: cannot find symbol
        public static 
com.ossms.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 XMLStreamException
  location: package org.apache.xmlbeans.xml.stream


Thanks,
Surendra

Reply via email to