maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maczka Michal <michal.mac...@imtf.ch>
Subject RE: Depenceny version..
Date Mon, 01 Mar 2004 10:15:15 GMT


> -----Original Message-----
> From: Maczka Michal [mailto:michal.maczka@imtf.ch]
> Sent: Monday, March 01, 2004 10:58 AM
> To: 'Maven Users List'
> Subject: RE: Depenceny version..
> 
> 
> 
> 
> > -----Original Message-----
> > From: Andreas.Ebbert@nokia.com [mailto:Andreas.Ebbert@nokia.com]
> > Sent: Monday, March 01, 2004 10:29 AM
> > To: users@maven.apache.org
> > Subject: RE: Depenceny version..
> > 
> > 
> > Hi,
> > 
> > > -----Original Message-----
> > > From: ext John Casey [mailto:jdcasey@commonjava.org]
> > 
> > > The reason maven doesn't squawk at this is that it 
> > > doesn't check for
> > > XML validity when parsing...
> > 
> > Is this excpected to change in future releases? A non 
> > validating project.xml already was the source of some weird 
> > problems. Is the schema somewhere available online, so that 
> > you can define a schema location for it, which is public for all?
> > 
> > Also, would it make sense to have a schema for maven.xml, too?
> > 
> > Br,
> >  _         __      _  _
> > 
> 
> I doubt if it will be possible to validate POM using XML Schema.
> The thing is that there is such thing like "POM inheritence" 
> and some mandatory tags can be inherited from parent project.
> 
> It shouldn't be that hard to write our own POM validator in Java.
> It even makes more sense then using XML based technlogies and POM
> does't need.
> 
> 
> Michal
> 

I haven't finshed the last sententece :) 

In the last sentence I meant
that POM doesn't need to be read from XML. It can be read from db, file
produuced by java serialization mechanism etc.


Michal

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message