[EMAIL PROTECTED] wrote on Tuesday, July 13, 2004 5:25 PM: > Hello maveners > > First of course bravo to the team for the version 1.0 > > I have a question regardings the recently added .pom file generation > > We are using the EnsureProjectConsistencyWithEntities > (http://wiki.codehaus.org/maven/EnsureProjectConsistencyWithEn > tities ) stuff on to ensure dependencies consistency between > all the projects. > > So all our project.xml start with a > > <!DOCTYPE project [<!ENTITY % locator-entities SYSTEM > "file:locator.ent"> %locator-entities;]> > > all our dependencies looks like : > > <dependency> > &foo-dependency; > </dependency> > > and next to each project.xml we have an locator.ent that > contains the path to the files that contains all the > dependency entities content > > and ... all the generated .pom files start with a : > > <!DOCTYPE project [<!ENTITY % locator-entities SYSTEM > "file:locator.ent"> %locator-entities;]> > > with of course NO locator.ent file next to them and no way to > get the content of their dependency entities. > > I would know the way to have "valids" pom files with such projects.
You can't unless the resolved POMs are generated (MAVEN-????). But this is not a specific problem of the entities, you have the same problem, if you use the extend tag (since the references POM is normally not at the referenced location) or you use properties in your POM originated from the project.properties, since that file is neither there nor would it be read. -- J�rg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
