Jacek, Let me know what you think about this comment ? http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12369392
Either we can delete the file or see if the xmlbeans mojo has a way to include/exclude just the needed files from a schemaDirectory. Cheers Prasad On 3/8/06, Prasad Kashyap (JIRA) <[email protected]> wrote: > [ > http://issues.apache.org/jira/browse/GERONIMO-1693?page=comments#action_12369392 > ] > > Prasad Kashyap commented on GERONIMO-1693: > ------------------------------------------ > > The patch for this module lies in deleting > src\j2ee_1_4schema/j2ee_web_services_client_1_1.xsd file. > > Not just b'coz this is the file that is causing all the errors but also b'coz > even the maven.xml during m1 build never tries to load this xsd. > > Now, I tried to load this file in maven.xml and it worked fine in m1 is a > different matter :-P > > Errors due to j2ee_web-services_client_1_1.xsd : > -------- > xml ErrorLoading referenced file > http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd > > xml > Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:60: > error: sch-props-correct.2: Duplicate global type: [EMAIL > PROTECTED]://java.sun.com/xml/ns/j2ee (Original global type found in file: > j2ee_web_services_client_1_1.xsd) > > xml > Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:135: > error: sch-props-correct.2: Duplicate global type: [EMAIL > PROTECTED]://java.sun.com/xml/ns/j2ee (Original global type found in file: > j2ee_web_services_client_1_1.xsd) > > xml > Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:259: > error: sch-props-correct.2: Duplicate global type: [EMAIL > PROTECTED]://java.sun.com/xml/ns/j2ee (Original global type found in file: > j2ee_web_services_client_1_1.xsd) > > xml > Errorhttp://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd:112: > error: sch-props-correct.2: Duplicate model group: [EMAIL > PROTECTED]://java.sun.com/xml/ns/j2ee (Original model group found in file: > j2ee_web_services_client_1_1.xsd) > > xml > ErrorC:\Apache\geronimo2\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: > warning: sch-props-correct.2: Duplicate identity constraint: [EMAIL > PROTECTED]://java.sun.com/xml/ns/j2ee (Original identity constraint found in > file: j2ee_web_services_client_1_1.xsd) > > xml > ErrorC:\Apache\geronimo2\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: > warning: sch-props-correct.2: Duplicate identity constraint: [EMAIL > PROTECTED]://java.sun.com/xml/ns/j2ee (Original identity constraint found in > file: j2ee_web_services_client_1_1.xsd) > > xml > ErrorC:\Apache\geronimo2\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: > warning: sch-props-correct.2: Duplicate identity constraint: [EMAIL > PROTECTED]://java.sun.com/xml/ns/j2ee (Original identity constraint found in > file: j2ee_web_services_client_1_1.xsd) > > xml > ErrorC:\Apache\geronimo2\modules\j2ee-schema\src\j2ee_1_4schema\j2ee_web_services_client_1_1.xsd:117: > warning: sch-props-correct.2: Duplicate identity constraint: [EMAIL > PROTECTED]://java.sun.com/xml/ns/j2ee (Original identity constraint found in > file: j2ee_web_services_client_1_1.xsd) > ---------------- > > Cheers > Prasad > > > > j2ee-schema module migration to Maven2 > > -------------------------------------- > > > > Key: GERONIMO-1693 > > URL: http://issues.apache.org/jira/browse/GERONIMO-1693 > > Project: Geronimo > > Type: Sub-task > > Reporter: Anita Kulshreshtha > > Priority: Blocker > > Attachments: pom.patch > > > > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the administrators: > http://issues.apache.org/jira/secure/Administrators.jspa > - > For more information on JIRA, see: > http://www.atlassian.com/software/jira > >
