setup tidy-pom plugin
@@ -214,6 +214,7 @@ limitations under the License.
<site-plugin.version>3.6</site-plugin.version>
<source-plugin.version>3.0.1</source-plugin.version>
<surefire-plugin.version>2.20</surefire-plugin.version>
+ <tidy-pom.version>1.1.0</tidy-pom.version>
<!-- dependency versions -->
<automatalib.version>0.8.0-SNAPSHOT</automatalib.version>
@@ -796,6 +797,11 @@ limitations under the License.
</compilerArgs>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>tidy-maven-plugin</artifactId>
+ <version>${tidy-pom.version}</version>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -942,6 +948,19 @@ limitations under the License.
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>tidy-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>validate</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
