Re: More POM5 writing

2011-08-05 Thread Petr Janata
I have one specific request for new POM model. element should allow the combine attribute. I am fine with the same behavior and names that are on plugin configuration elements. Above construct would allow switching resource folders with profiles, instead of default merging. Can anyone add it t

Re: More POM5 writing

2011-08-03 Thread Benson Margulies
I see namespaces as useful in distinguishing 'core maven' content from content for consumption by other tools, like m2e. On Tue, Aug 2, 2011 at 7:38 PM, Jesse Glick wrote: > On 08/02/2011 08:52 AM, Benson Margulies wrote: >> >> Adding explicit elements next to xs:any is a far more user-friendly >

Re: More POM5 writing

2011-08-02 Thread Jesse Glick
On 08/02/2011 08:39 AM, Jason van Zyl wrote: The schema is being generated from the Modello model so if you see things that are incorrect... For the record, XsdGenerator.java explains: // Usually, would only do this if the field is not "required", but due to inheritance, it may be // present

Re: More POM5 writing

2011-08-02 Thread Jesse Glick
On 08/02/2011 08:52 AM, Benson Margulies wrote: Adding explicit elements next to xs:any is a far more user-friendly extensibility mechanism than creating a hodgepodge of namespaces and prefixes. Agreed. But if ease of hand editing trumps validation and other tool support, do you really want to

Re: More POM5 writing

2011-08-02 Thread Arnaud Héritier
d Héritier wrote: > > > From: Arnaud Héritier > > Subject: Re: More POM5 writing > > To: "Maven Developers List" > > Date: Tuesday, August 2, 2011, 1:32 PM > > No Jason moved it some months ago > > with plexus(*) to sonatype github account > > I

Re: More POM5 writing

2011-08-02 Thread Mark Struberg
that's bad news. Why not pull them back? codehaus has a nice git hosting service too... I don't like to get another area of troubles... LieGrue, strub --- On Tue, 8/2/11, Arnaud Héritier wrote: > From: Arnaud Héritier > Subject: Re: More POM5 writing > To: "Maven

Re: More POM5 writing

2011-08-02 Thread Arnaud Héritier
aus project? > > LieGrue, > strub > > --- On Tue, 8/2/11, Jason van Zyl wrote: > > > From: Jason van Zyl > > Subject: Re: More POM5 writing > > To: "Maven Developers List" > > Date: Tuesday, August 2, 2011, 12:39 PM > > > > On Aug 2,

Re: More POM5 writing

2011-08-02 Thread Benson Margulies
Jesse, I don't agree with your analysis. My view is as follows: 1) POM5 should have strategically located xs:any and xs:anyAttribute elements that give tools fair warning of future extensions. I wish POM4 had them, but such is life. As things are, the community seems in general to be comfortable

Re: More POM5 writing

2011-08-02 Thread Mark Struberg
Just wondering about the sonatype github URL. Isn't modello still a codehaus project? LieGrue, strub --- On Tue, 8/2/11, Jason van Zyl wrote: > From: Jason van Zyl > Subject: Re: More POM5 writing > To: "Maven Developers List" > Date: Tuesday, August 2, 2011, 1

Re: More POM5 writing

2011-08-02 Thread Jason van Zyl
On Aug 2, 2011, at 8:00 AM, Jesse Glick wrote: > Worse, Maven seems to have a different idea of what valid content is than the > schema says. For example, the schema says minOccurs="0" ...> but Maven will report "'modelVersion' is missing." as a > fatal error. Certainly there will be some sema

Re: More POM5 writing

2011-08-02 Thread Jesse Glick
On 07/31/2011 05:12 PM, Benson Margulies wrote: https://cwiki.apache.org/confluence/display/MAVEN/Moving+forward+with+the+POM+data+model "It would [...] be a bad idea to try to use namespaces as a versioning technique." - if you want to allow Schema validation of the entire POM, I think you hav

More POM5 writing

2011-07-31 Thread Benson Margulies
By popular request, I've expanded https://cwiki.apache.org/confluence/display/MAVEN/Moving+forward+with+the+POM+data+model (and changed its name). It now reflects our recent reflections on attributes, plus some thoughts on namespaces. Please break out your darts and start throwing. --