Skip to content

Commit 549e2b2

Browse files
committed
Manage the version of the tidy-maven-plugin
So that it can be overridden on the CLI using its version property.
1 parent 8f64ef4 commit 549e2b2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@
268268
<exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
269269
<groovy-maven-plugin.version>1.5</groovy-maven-plugin.version>
270270
<license-maven-plugin.version>2.0.0</license-maven-plugin.version>
271+
<tidy-maven-plugin.version>1.1.0</tidy-maven-plugin.version>
271272
<versions-maven-plugin.version>2.8.1</versions-maven-plugin.version>
272273

273274
<!-- Other Maven plugins -->
@@ -688,6 +689,17 @@
688689
</configuration>
689690
</plugin>
690691

692+
<!--
693+
Tidy Maven plugin -
694+
https://www.mojohaus.org/tidy-maven-plugin/
695+
Fix the ordering of POM elements using "mvn tidy:pom".
696+
-->
697+
<plugin>
698+
<groupId>org.codehaus.mojo</groupId>
699+
<artifactId>tidy-maven-plugin</artifactId>
700+
<version>${tidy-maven-plugin.version}</version>
701+
</plugin>
702+
691703
<!--
692704
Versions Maven plugin -
693705
https://www.mojohaus.org/versions-maven-plugin/

0 commit comments

Comments
 (0)