Maybe i'm off the mark, but what about
mvn verify
or
mvn validate
since those are built-ins to Maven itself... Also, I've never really been
able to get a Maven build to work if the pom was incorrect, so I would
assume you are either trying something that is too subtle to verify, or you
haven't
Hi,
Why don't you use an XML editor, (Eclipse can do the trick)? It will
show you where your xml doesn't comply to a schema.
If you're using linux, try xmllint.
Patrick
On 10-03-01 02:31 AM, amaresh mourya wrote:
> Hi Anders,
>
> Thanks for your reply. but i was asking for, is there any method
amaresh mourya wrote:
Hi All,
How should i check whether or not a particular POM (pom.xml) is
syntactically correct. Is there any apache API for that?
for example, if one of the tag is missing or say is wrong. Then which method
I should use so that I got exception thrown, so that I can handle i
http://lmgtfy.com/?q=schema+validation+java
On Mon, Mar 1, 2010 at 08:31, amaresh mourya wrote:
> Hi Anders,
>
> Thanks for your reply. but i was asking for, is there any method which
> takes
> input my pom.xml file and this schema , so that i can directly use that
> method for validation.
>
> --
Hi Anders,
Thanks for your reply. but i was asking for, is there any method which takes
input my pom.xml file and this schema , so that i can directly use that
method for validation.
--Amaresh
On Mon, Mar 1, 2010 at 12:24 PM, Anders Hammar wrote:
> Schema validation?
> http://maven.apache.org
Schema validation?
http://maven.apache.org/maven-v4_0_0.xsd
/Anders
On Mon, Mar 1, 2010 at 07:01, amaresh mourya wrote:
> Hi All,
>
> How should i check whether or not a particular POM (pom.xml) is
> syntactically correct. Is there any apache API for that?
>
> for example, if one of the tag is m
Hi All,
How should i check whether or not a particular POM (pom.xml) is
syntactically correct. Is there any apache API for that?
for example, if one of the tag is missing or say is wrong. Then which method
I should use so that I got exception thrown, so that I can handle it.
org.apache.ma