I am just asking if it's possible. Now it seems that taking this out will torpedo Maven. I am and end-user and I just want to understand why I need to copy the same line of xml to each and every POM that I define. Sure, I don't mind doing so but I was just wondering if we could do without.
On 10/5/05, Allison, Bob <[EMAIL PROTECTED]> wrote: > > The problem is that as soon as the *default* changes, the POM may > suddenly not work any longer. > > I really don't see the problem. If you are after getting rid of > "technical" cruft, there is a lot of XML baggage that could be > eliminated by going to a simple properties file format. The problem > with simplifying it is that you lose almost all of the functionality > that Maven 2 provides. I think a few little bits of extraneous noise is > a small price to pay for the power and flexibility that is possible in > the way Maven 2 is set up. > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Thomas Van de Velde > Sent: Wednesday, October 05, 2005 10:21 > To: Maven Developers List; [EMAIL PROTECTED] > Subject: Re: [M2] Provide default for pom.modelVersion > > > But this is irrelevant for people not using legecy POM's (which I would > think is the great majority). What would be the inconvenience of having > defaut values? People wanting to use legacy poms just need to override > those. > > Thomas > > On 10/5/05, Anthony B. Coates <[EMAIL PROTECTED]> wrote: > > > > Such a default value would be bad karma, in the sense that you have no > > indication which version of the POM (Schema) the POM instance was > written > > against. That stops you from doing intelligent support of legacy POMs, > > especially if you make a non-backwards-compatible major version > change. > > Although it is a nuisance, it really is better for each POM instance > to > > explicitly state which POM version it is supposed to be valid against. > > > > Cheers, Tony. > > > > On Wed, 05 Oct 2005 12:51:42 +0100, Thomas Van de Velde > > <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > Currently you are forced to define the modelVersion for each pom, > even > > > when > > > declaring a parent. To me this seems to be a purely technical > element > > > that > > > is of limited interest to end users. Would it not make sense to > provide > > a > > > default value (4.0.0) if not defined explicitly in the POM? > > > > -- > > Anthony B. Coates, Director > > Information Design, Messaging and Management > > mailto:[EMAIL PROTECTED] > > Mobile/Cell: +44 (79) 0543 9026 > > -- > > MDDL Editor (Market Data Definition Language) > > http://www.mddl.org/ > > FpML AWG Member (Financial Products Markup Language) > > http://www.fpml.org/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
