0

Is there any way to perform a basic test/unittest for a xml file included in a module?

E.g. I like to "lint" test my persistence.xml or check if the schema to a xml-file is valid.

3
  • 1
    What about xml-maven-plugin ? Commented Mar 24, 2015 at 14:50
  • @khmarbaise Since I wasn't aware something like this existed. Thanks for pointing towards it. :) Commented Apr 17, 2015 at 11:58
  • @khmarbaise why don't you supply this as an answer? Commented May 22, 2015 at 9:35

1 Answer 1

1

What about using the xml-maven-plugin

It could be that the links will become invalid cause codehaus is shutting down it's services so you can take a look at https://github.com/mojohaus/xml-maven-plugin.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.