Add xml-maven-plugin to check indentation and fix violations
Motivation: See https://github.com/netty/netty-build/issues/5 Modifications: Add xml-maven-plugin to check indentation and fix violations Result: pom.xml will be checked in the PR build
This commit is contained in:
parent
a2e113b987
commit
4a5e484c5a
25
pom.xml
25
pom.xml
@ -718,6 +718,31 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>xml-maven-plugin</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>check-style</id>
|
||||
<goals>
|
||||
<goal>check-format</goal>
|
||||
</goals>
|
||||
<phase>validate</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<formatFileSets>
|
||||
<formatFileSet>
|
||||
<directory>${project.basedir}</directory>
|
||||
<includes>
|
||||
<include>**/pom.xml</include>
|
||||
</includes>
|
||||
</formatFileSet>
|
||||
</formatFileSets>
|
||||
<useDefaultFormatFileSet>false</useDefaultFormatFileSet>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- Download the npn-boot.jar in advance to add it to the boot classpath. -->
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
|
Loading…
Reference in New Issue
Block a user