Hello Michal, Probably I was not precise enough. My initial aim is to be able to parse using the API an already working project.xml. Using the maven.bat I can normally work with it. I made before using it in this test also a verification using the POM plugin.
maven -e pom:contentValidate pom:validate and the result is pom:contentvalidate: INFO : /project/logo : Element is null or empty. No logo will be displayed. WARNING : /project/licenses : No licenses defined. Your project has a license and it should be entered into the licenses section. pom:validate: D:\Data\IBM\wsappdev51\j2ee\tag\SR_TAG_EAR\admin\project.xml:18:13: error: cvc-complex-type.2.4.a: Invalid content starting with element 'extend'. One of '{"":organization}' is expected. Java Result: 1 BUILD SUCCESSFUL And in general with this POM I can build package run war and ear plugins. And using maven.bat everything works fine. My first step was then to use the API of the Parser, to make an initial test, and that is were I got the exception. I would expect that behind the scene when I use maven.bat the same parser is used. So I would get a similar result ? But the fact that I got that error makes the scenario somehow more complex and there is where you could drive me in the right direction. Thanks in advance for your help ... I am also using xml entity for common part among different projects. Regards Michele I attached the POMs for completeness. (See attached file: project.xml)the parent (See attached file: project.xml) and the corresponding entity (See attached file: s13.ent) This e-mail, including attachments, is intended for the person(s) or company named and may contain confidential and/or legally privileged information. Unauthorized disclosure, copying or use of this information may be unlawful and is prohibited. If you are not the intended recipient, please delete this message and notify the sender
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]