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
4fad9e89f2
commit
57cebc7f5b
25
pom.xml
25
pom.xml
@ -659,6 +659,31 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</plugin>
|
</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. -->
|
<!-- Download the npn-boot.jar in advance to add it to the boot classpath. -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
Loading…
Reference in New Issue
Block a user