diff --git a/pom.xml b/pom.xml index 7833658..6e30192 100644 --- a/pom.xml +++ b/pom.xml @@ -134,12 +134,6 @@ run-its - - - skipTests - !true - - diff --git a/src/it/check-fails/pom.xml b/src/it/check-fails/pom.xml index b57556b..013bbe8 100644 --- a/src/it/check-fails/pom.xml +++ b/src/it/check-fails/pom.xml @@ -3,11 +3,6 @@ pom-check-fails org.codehaus.mojo.tidy.its - - org.codehaus - codehaus-parent - 4 - 4.0.0 1.0-SNAPSHOT @@ -18,7 +13,7 @@ org.codehaus.mojo tidy-maven-plugin - @pom.version@ + @project.version@ validate diff --git a/src/it/check-separate-fails/pom.xml b/src/it/check-separate-fails/pom.xml index 0944610..7533b7d 100644 --- a/src/it/check-separate-fails/pom.xml +++ b/src/it/check-separate-fails/pom.xml @@ -2,12 +2,6 @@ 4.0.0 - - org.codehaus - codehaus-parent - 4 - - org.codehaus.mojo.tidy.its pom-check-separate-fails 1.0-SNAPSHOT @@ -19,7 +13,7 @@ org.codehaus.mojo tidy-maven-plugin - @pom.version@ + @project.version@ validate diff --git a/src/it/check-separate-succeeds/invoker.properties b/src/it/check-separate-succeeds/invoker.properties index 1f6e992..0b0b586 100644 --- a/src/it/check-separate-succeeds/invoker.properties +++ b/src/it/check-separate-succeeds/invoker.properties @@ -1,2 +1 @@ invoker.goals = verify -invoker.buildResult = success diff --git a/src/it/check-separate-succeeds/pom.xml b/src/it/check-separate-succeeds/pom.xml index 1d76724..d6f21e1 100644 --- a/src/it/check-separate-succeeds/pom.xml +++ b/src/it/check-separate-succeeds/pom.xml @@ -3,11 +3,6 @@ pom-check-fails org.codehaus.mojo.tidy.its - - org.codehaus - codehaus-parent - 4 - 4.0.0 1.0-SNAPSHOT @@ -18,7 +13,7 @@ org.codehaus.mojo tidy-maven-plugin - @pom.version@ + @project.version@ validate diff --git a/src/it/check-separate-succeeds/valid-pom.xml b/src/it/check-separate-succeeds/valid-pom.xml index 5ec7a30..f70933e 100644 --- a/src/it/check-separate-succeeds/valid-pom.xml +++ b/src/it/check-separate-succeeds/valid-pom.xml @@ -2,12 +2,6 @@ 4.0.0 - - org.codehaus - codehaus-parent - 4 - - org.codehaus.mojo.tidy.its pom-check-succeeds 1.0-SNAPSHOT diff --git a/src/it/check-succeeds/invoker.properties b/src/it/check-succeeds/invoker.properties index 1f6e992..0b0b586 100644 --- a/src/it/check-succeeds/invoker.properties +++ b/src/it/check-succeeds/invoker.properties @@ -1,2 +1 @@ invoker.goals = verify -invoker.buildResult = success diff --git a/src/it/check-succeeds/pom.xml b/src/it/check-succeeds/pom.xml index 553c024..fe65712 100644 --- a/src/it/check-succeeds/pom.xml +++ b/src/it/check-succeeds/pom.xml @@ -2,12 +2,6 @@ 4.0.0 - - org.codehaus - codehaus-parent - 4 - - org.codehaus.mojo.tidy.its pom-check-succeeds 1.0-SNAPSHOT @@ -19,7 +13,7 @@ org.codehaus.mojo tidy-maven-plugin - @pom.version@ + @project.version@ validate diff --git a/src/it/pom/invoker.properties b/src/it/pom/invoker.properties index d4c98a0..56ea275 100644 --- a/src/it/pom/invoker.properties +++ b/src/it/pom/invoker.properties @@ -1,2 +1 @@ invoker.goals = org.codehaus.mojo:tidy-maven-plugin:${project.version}:pom -invoker.buildResult = success diff --git a/src/it/pom/pom-expected.xml b/src/it/pom/pom-expected.xml index 5af5256..a8d91f3 100644 --- a/src/it/pom/pom-expected.xml +++ b/src/it/pom/pom-expected.xml @@ -2,12 +2,6 @@ 4.0.0 - - org.codehaus - codehaus-parent - 4 - - org.codehaus.mojo.tidy.its pom-space-indent 1.0-SNAPSHOT diff --git a/src/it/pom/pom.xml b/src/it/pom/pom.xml index 2b3366f..463e8f9 100644 --- a/src/it/pom/pom.xml +++ b/src/it/pom/pom.xml @@ -5,11 +5,6 @@ pom-space-indent org.codehaus.mojo.tidy.its - - org.codehaus - codehaus-parent - 4 - 4.0.0 1.0-SNAPSHOT Test of tidy:pom on a pom with all elements. diff --git a/src/it/separate-pom/invoker.properties b/src/it/separate-pom/invoker.properties index c8b5542..209dde0 100644 --- a/src/it/separate-pom/invoker.properties +++ b/src/it/separate-pom/invoker.properties @@ -1,2 +1 @@ invoker.goals = org.codehaus.mojo:tidy-maven-plugin:${project.version}:pom -Dtidy.pomFile=separate-pom.xml -invoker.buildResult = success diff --git a/src/it/separate-pom/pom.xml b/src/it/separate-pom/pom.xml index 1e90c22..3d6980a 100644 --- a/src/it/separate-pom/pom.xml +++ b/src/it/separate-pom/pom.xml @@ -5,11 +5,6 @@ pom-space-indent org.codehaus.mojo.tidy.its - - org.codehaus - codehaus-parent - 4 - 4.0.0 1.0-SNAPSHOT Test of tidy:pom on a separate pom with all elements. diff --git a/src/it/separate-pom/separate-pom-expected.xml b/src/it/separate-pom/separate-pom-expected.xml index 6998901..5c831c2 100644 --- a/src/it/separate-pom/separate-pom-expected.xml +++ b/src/it/separate-pom/separate-pom-expected.xml @@ -2,12 +2,6 @@ 4.0.0 - - org.codehaus - codehaus-parent - 4 - - org.codehaus.mojo.tidy.its pom-space-indent 1.0-SNAPSHOT diff --git a/src/it/separate-pom/separate-pom.xml b/src/it/separate-pom/separate-pom.xml index 6adcae4..77cd02e 100644 --- a/src/it/separate-pom/separate-pom.xml +++ b/src/it/separate-pom/separate-pom.xml @@ -5,11 +5,6 @@ pom-space-indent org.codehaus.mojo.tidy.its - - org.codehaus - codehaus-parent - 4 - 4.0.0 1.0-SNAPSHOT Test of tidy:pom on a separate pom with all elements. diff --git a/src/test/java/org/codehaus/mojo/tidy/task/PomTidyFixesTest.java b/src/test/java/org/codehaus/mojo/tidy/task/PomTidyFixesTest.java index 9551c01..a156358 100644 --- a/src/test/java/org/codehaus/mojo/tidy/task/PomTidyFixesTest.java +++ b/src/test/java/org/codehaus/mojo/tidy/task/PomTidyFixesTest.java @@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; -public class PomTidyFixesTest { +class PomTidyFixesTest { protected static final String PATH = "fixes/order-and-indent-start-element-of-scope/"; diff --git a/src/test/java/org/codehaus/mojo/tidy/task/PomTidyTest.java b/src/test/java/org/codehaus/mojo/tidy/task/PomTidyTest.java index 72e4ea7..f64e4b2 100644 --- a/src/test/java/org/codehaus/mojo/tidy/task/PomTidyTest.java +++ b/src/test/java/org/codehaus/mojo/tidy/task/PomTidyTest.java @@ -30,7 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; -public class PomTidyTest { +class PomTidyTest { @ParameterizedTest(name = "{0}") @ValueSource(