jkcboys created XMLBEANS-593:
--------------------------------

             Summary: upgrade xmlbeans from 3.1.0 to 5.0.3 fails
                 Key: XMLBEANS-593
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-593
             Project: XMLBeans
          Issue Type: Bug
          Components: Compiler
    Affects Versions: Version 5.0.3, Version 4.0.0
         Environment: windows
            Reporter: jkcboys
             Fix For: Version 5.0.3


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: 
{color:#FF0000}[http://nexus.us.oracle.com:8088/nexus/content/groups/public/org/apache/xmlbeans/xmlbeans/2.4.0/xmlbeans-2.4.0.pom]{color}_

_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:
 {color:#FF0000}error: cannot find symbol{color}_

        _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 {_

                                                                                
                                             _^_

  _{color:#FF0000}symbol:   class XMLInputStream{color}_

  _location: package org.apache.xmlbeans.xml.stream_

_..\..\parent\xml-model\target\generated-sources\xmlbeans\com\ossms\orderModel\x2002\x06\x25\SystemHealthPoliciesType.java:144:
 {color:#FF0000}error: cannot find symbol{color}_

        _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 {_

                                                                                
                                                                                
                                                         _^_

  _{color:#FF0000}symbol:   class XMLStreamException{color}_

  _location: package org.apache.xmlbeans.xml.stream_

 

 

Thanks,

Surendra



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to