Hi,

I am about to submit a bug report on Jira, but I wanted to post details to
the list first. We make extensive use of the PomTag (ie. m:pom) in our jelly
scripts and plugins to be able to share dependencies and other project
properties beyond the single inheritance of <extends>. To further refactor
our project definitions, we tried to use XML entities in some common DTD's
to define such things as developer info, etc. However, it seems that in rc1
the PomTag fails to parse a project.xml that references a DTD.

I have attached an extremely simple test case. Just unzip and try "maven
clean". The error I get is:

    [echo] Reading other project...
File...... file:/.. ...../PomTagDTDTest/
Element... m:pom
Line...... 8
Column.... 63
error getting project
BUILD SUCCESSFUL
Total time: 6 seconds

If I comment out the DOCTYPE/DTD reference in otherProject.xml, everything
proceeds fine. I am wondering if this should be considered a bug (it
certainly seems to be one to me)?

--------------------------------------
David Zeleznik
Principal Architect
ILOG - Changing the rules of business
mailto:[EMAIL PROTECTED]
http://www.ilog.com
--------------------------------------

Attachment: PomTagDTD.zip
Description: Zip compressed data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to