openejb-jar-2.2.xsd is out-of-date
----------------------------------
Key: GERONIMO-6050
URL: https://issues.apache.org/jira/browse/GERONIMO-6050
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: OpenEJB
Affects Versions: 3.0-M1
Reporter: Han Hong Fang
Fix For: 3.0
I got following errors when I tried to generate the jaxbmodel class for
openejb-jar-2.2.xsd using maven-jaxb-plugin:1.1.1. Taking
entity-manager-factory-ref for instance, it can not be found in
geronimo-naming-1.2.xsd.
And xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-1.2" is still
in version 1.2, should it be updated to geronimo-application-2.0.xsd? BTW, I
can not find the xsd file for application-1.2 under
http://geronimo.apache.org/xml/ns/j2ee/, where can I get this file?
[INFO] --- maven-jaxb-plugin:1.1.1:generate (default) @ mytest ---
[INFO] Compiling file:/D:/test/xjctest/src/main/resources/attributes-1.2.xsd
and others
[ERROR] [ERROR] undefined element declaration
'naming:entity-manager-factory-ref'
[ERROR] line 127 of
file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:ref-name'
[ERROR] line 146 of
file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:pattern'
[ERROR] line 147 of
file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:ns-corbaloc'
[ERROR] line 148 of
file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:name'
[ERROR] line 149 of
file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:css'
[ERROR] line 150 of
file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:css-link'
[ERROR] line 151 of
file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:ejb-link'
[ERROR] line 152 of
file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'app:security'
[ERROR] line 222 of
file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'persistence'
[ERROR] line 228 of
file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration
'naming:entity-manager-factory-ref'
[ERROR] line 239 of
file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration
'naming:entity-manager-factory-ref'
[ERROR] line 297 of
file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[INFO] failure in the XJC task. Use the Ant -verbose switch for more details
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.359s
[INFO] Finished at: Thu Apr 14 16:12:21 CST 2011
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira