JSF & Java Blog

Discussion on Java and JSF, including Spring, Maven, Eclipse and Jenkins

Posts Tagged / xml-maven-plugin

Using Maven to check facelets are valid

Although Eclipse validates our xml documents, sometimes invalid xml documents can get committed into our source repository by accident. Using the maven xml-maven-plugin we can force the build to break when xml documents aren’t welformed. Currently we are only doing the check on facelets (files with a .xhtml extension): The xml snippet below shows the […]