Just a guess but if you arent so much concerned with validation maybe a successful use of MavenXpp3Reader to get a Model instance from an XML file would indicate a good pom whereas an unsuccessful attempt may imply an ant build?
On Mar 8, 2010 6:18 AM, "amaresh mourya" <amaresh.mou...@gmail.com> wrote: Hi All, Thanks for your replies. I tried validation with XSD(http://maven.apache.org/maven-v4_0_0.xsd).but It fails since the namespace is missing. I think any xml could still be POM if it doesn't have namespace as I have seen many pom.xml without schema. thanks Amaresh On Mon, Mar 8, 2010 at 4:32 PM, Julien HENRY <henr...@yahoo.fr> wrote: > Hi, > > You could try an ...