You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jan Bares <he...@yahoo.com> on 2005/06/09 10:51:16 UTC

project.xml validation

Hi,

does maven validate the project.xml? If I made a typo in this file, maven
issues no warning. How can i force maven to validate the XML?

Jan




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


Re: project.xml validation

Posted by Jan Bares <he...@yahoo.com>.
Thanks, this is what I was looking for. I hope that in near future I can
read about all those nice features in Maven book.

Jan

"Brett Porter" <br...@gmail.com> wrote in message
news:9e3862d805060905514c866c9e@mail.gmail.com...
maven pom:validate, though it validates against an XSD that is much
stricter than required (and actually had an error in it last release).

- Brett

On 6/9/05, Jan Bares <he...@yahoo.com> wrote:
> Hi,
>
> does maven validate the project.xml? If I made a typo in this file, maven
> issues no warning. How can i force maven to validate the XML?
>
> Jan
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>




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


Re: project.xml validation

Posted by Brett Porter <br...@gmail.com>.
Yes, they were the issues I was referring to.

Maven 1.1 will come with a regenerated XSD, available here:
http://maven.apache.org/maven-v3_0_0.xsd
(though looking just now, that is still the previous version - so I'll
publish it again. If it has documentation annotations, it is the right
one)

Cheers,
Brett

On 6/10/05, Jan Bares <he...@yahoo.com> wrote:
> Thank you again.
> 
> I just want to point out that the
> http://maven.apache.org/reference/project-descriptor.html doesn't match the
> maven 1.0.2 maven-project.xsd. For instance the order in <build> differs.
> 
> Also there is some confusion with <artifactId> in the subproject. I applied
> http://jira.codehaus.org/browse/MAVEN-1410 patch.
> 
> Jan
> 
> "Brett Porter" <br...@gmail.com> wrote in message
> news:9e3862d8050609152046154afc@mail.gmail.com...
> maven -Dgoal=pom:validate multiproject:goal
> 
> On 6/10/05, Jan Bares <he...@yahoo.com> wrote:
> > If I have multiproject, how can I validate all included project.xml in one
> > turn?
> >
> > Jan
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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


Re: project.xml validation

Posted by Jan Bares <he...@yahoo.com>.
Thank you again.

I just want to point out that the
http://maven.apache.org/reference/project-descriptor.html doesn't match the
maven 1.0.2 maven-project.xsd. For instance the order in <build> differs.

Also there is some confusion with <artifactId> in the subproject. I applied
http://jira.codehaus.org/browse/MAVEN-1410 patch.

Jan

"Brett Porter" <br...@gmail.com> wrote in message
news:9e3862d8050609152046154afc@mail.gmail.com...
maven -Dgoal=pom:validate multiproject:goal

On 6/10/05, Jan Bares <he...@yahoo.com> wrote:
> If I have multiproject, how can I validate all included project.xml in one
> turn?
>
> Jan
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>




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


Re: project.xml validation

Posted by Brett Porter <br...@gmail.com>.
maven -Dgoal=pom:validate multiproject:goal

On 6/10/05, Jan Bares <he...@yahoo.com> wrote:
> If I have multiproject, how can I validate all included project.xml in one
> turn?
> 
> Jan
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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


Re: project.xml validation

Posted by Jan Bares <he...@yahoo.com>.
If I have multiproject, how can I validate all included project.xml in one
turn?

Jan




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


Re: project.xml validation

Posted by Brett Porter <br...@gmail.com>.
maven pom:validate, though it validates against an XSD that is much
stricter than required (and actually had an error in it last release).

- Brett

On 6/9/05, Jan Bares <he...@yahoo.com> wrote:
> Hi,
> 
> does maven validate the project.xml? If I made a typo in this file, maven
> issues no warning. How can i force maven to validate the XML?
> 
> Jan
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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