True. But he claimed that it worked with "compile", and "package". "validate" would have been called before any of those phases. If it passed the other phases, then validate must not have worked correctly. This is, of course, assuming he's not mistaken.
Eric On 7/10/06, ben short <[EMAIL PROTECTED]> wrote:
mvn validate On 7/9/06, Eric Redmond <[EMAIL PROTECTED]> wrote: > There is an XML validator incubating in Mojo: > http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/xml-maven-plugin/ > > I have no idea how active it is, however. > > Thanks; > Eric > > On 7/9/06, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > > > > Wendy Smoak wrote: > > > On 7/8/06, Aron Smith <[EMAIL PROTECTED]> wrote: > > >> It appears mavens site builder doesnt read my pom.xml - though all the > > >> other > > >> utilities (compiles, package, filter etc.) are fine. It *is* valid XML > > >> (pom.xml follows stacktrace) > > > > > > It doesn't validate against the schema. The <filters> element is out > > > of place, move it outside of the <resources> element. > > > > > > * http://maven.apache.org/ref/current/maven-model/maven.html > > > > Is there a feature in M2 to explicitly validate the pom against the > > schema? In M1 you could do: > > maven pom:validate > > > > -- > > Dennis Lundberg > > > > --------------------------------------------------------------------- > > 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]