Either it is an xml document or it is not. The fact remains that xml name spaces were designed specifically to deal with this situation. Trying to re-implement the feature based on comments and/or PI's seems kind of risky and certainly without general tooling support :)
Stan -----Original Message----- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Wednesday, March 30, 2011 12:15 PM To: Maven Users List Cc: Stan Devitt Subject: Re: Custom tags in the pom Modello may object to some uses of namespaces... suck it and see! On 30 March 2011 16:56, Stan Devitt <sdev...@rim.com> wrote: > Why not name spaces? > > -----Original Message----- > From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > Sent: Wednesday, March 30, 2011 9:48 AM > To: Maven Users List > Subject: Re: Custom tags in the pom > > how about XML PI's > > IIRC maven tools which rewrite the pom might strip them out, but > otherwise you'd be fine > > On 30 March 2011 14:06, Phillip Hellewell <ssh...@gmail.com> wrote: >> Is there any way short of recompiling Maven to allow custom tags in the >> pom.xml? >> >> Specifically, I would like to have a special tag inside <dependency>. >> It's ok if Maven ignores it; I will just look at it from my plugin >> that will parse the pom manually if it has to. >> >> Thanks, >> Phillip >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > --------------------------------------------------------------------- > This transmission (including any attachments) may contain confidential > information, privileged material (including material protected by the > solicitor-client or other applicable privileges), or constitute non-public > information. Any use of this information by anyone other than the intended > recipient is prohibited. If you have received this transmission in error, > please immediately reply to the sender and delete this information from your > system. Use, dissemination, distribution, or reproduction of this > transmission by unintended recipients is not authorized and may be unlawful. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org