Skip to content
Björn Ekryd edited this page Mar 30, 2017 · 1 revision

The violation file will look like this:

<?xml version="1.0" encoding="UTF-8"?>
<sortpom>
  <file filename="/Users/myUser/Workspace/SortPom/maven-plugin/target/it/violation-file/pom.xml">
    <violation>The xml element &lt;modelVersion&gt; should be placed before &lt;name&gt;</violation>
  </file>
</sortpom>

It will only contain the first violation detected by the plugin.

Clone this wiki locally