[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568174#action_12568174 ]
Shiva Kumar H R commented on GERONIMODEVTOOLS-279: -------------------------------------------------- Followed instructions as per the following page: Using the JAXB XJC Maven 2 Plugin: https://jaxb.dev.java.net/jaxb-maven2-plugin/ Compilation is failing with below errors: [ERROR] [ERROR] Property "Name" is already defined. [ERROR] line 682 of file:/E:/IDEworkspaces/testJAXB/shivaTestJAXB/src/main/res ources/geronimo-module-1.2.xsd [ERROR] [ERROR] [ERROR] The following location is relevant to the above error [ERROR] line 661 of file:/E:/IDEworkspaces/testJAXB/shivaTestJAXB/src/main/res ources/geronimo-module-1.2.xsd [ERROR] [INFO] failure in the XJC task. Use the Ant -verbose switch for more details This seems to be a common issue JAXB2.0 users face when compiling a complex schema: https://jaxb.dev.java.net/guide/Dealing_with_errors.html http://weblogs.java.net/blog/kohsuke/archive/2006/03/simple_and_bett.html Now figuring out how to get past that error. > Figure out how to compile Geronimo schemas using JAXB > ----------------------------------------------------- > > Key: GERONIMODEVTOOLS-279 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-279 > Project: Geronimo-Devtools > Issue Type: Sub-task > Components: eclipse-plugin > Affects Versions: 2.1.0 > Reporter: Shiva Kumar H R > Assignee: Shiva Kumar H R > Fix For: 2.1.0 > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.