From 5908b14cfec25db30f8c30ab470cf3f020020730 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Sun, 10 Mar 2024 17:02:02 +0100 Subject: [PATCH] Cleanups ITs - use default goal defined for m-invoker-p - remove invoker.properties with default values --- pom.xml | 3 +-- .../invoker.properties | 1 - src/it/banduplicate-classes-fail-when-not-identical/pom.xml | 5 ----- .../invoker.properties | 2 -- src/it/banduplicate-classes-ignore-when-identical/pom.xml | 5 ----- src/it/banduplicate-classes-jdk9/invoker.properties | 2 -- src/it/banduplicate-classes-jdk9/pom.xml | 5 ----- .../invoker.properties | 2 -- src/it/banduplicate-classes-wildcard-exclusion/pom.xml | 5 ----- src/it/circular-simple/invoker.properties | 2 -- src/it/classname-conflict/invoker.properties | 1 - .../enforce-bytecode-version-direct-deps/invoker.properties | 1 - .../invoker.properties | 2 -- src/it/enforce-bytecode-version-excluded-deps/pom.xml | 5 ----- .../invoker.properties | 1 - .../pom.xml | 5 ----- .../invoker.properties | 2 -- src/it/enforce-bytecode-version-excluding-tests/pom.xml | 5 ----- .../invoker.properties | 1 - .../invoker.properties | 1 - .../pom.xml | 5 ----- .../invoker.properties | 2 -- .../pom.xml | 5 ----- .../invoker.properties | 1 - src/it/enforce-bytecode-version-jdkVersionOption/pom.xml | 5 ----- .../invoker.properties | 1 - src/it/enforce-bytecode-version-missing-config/pom.xml | 5 ----- .../invoker.properties | 1 - .../enforce-bytecode-version-module-info-jdk8-strict/pom.xml | 5 ----- .../invoker.properties | 2 -- src/it/enforce-bytecode-version-module-info-jdk8/pom.xml | 5 ----- .../invoker.properties | 2 -- .../enforce-bytecode-version-module-info-jdk9-strict/pom.xml | 5 ----- .../invoker.properties | 2 -- src/it/enforce-bytecode-version-module-info-jdk9/pom.xml | 5 ----- .../invoker.properties | 2 -- src/it/enforce-bytecode-version-multirelease-2/pom.xml | 5 ----- .../invoker.properties | 1 - src/it/enforce-bytecode-version-multirelease-strict/pom.xml | 5 ----- .../enforce-bytecode-version-multirelease/invoker.properties | 2 -- src/it/enforce-bytecode-version-multirelease/pom.xml | 5 ----- .../invoker.properties | 1 - .../enforce-bytecode-version-only-one-option-allowed/pom.xml | 5 ----- .../invoker.properties | 1 - src/it/enforce-bytecode-version-with-banned-deps/pom.xml | 5 ----- .../invoker.properties | 2 -- src/it/enforce-bytecode-version-with-corrupted-jar/pom.xml | 5 ----- .../invoker.properties | 3 --- src/it/enforce-bytecode-version-wo-banned-deps/pom.xml | 5 ----- src/it/ignores/invoker.properties | 1 - src/it/local-project-repo/invoker.properties | 2 -- src/it/mojo-1682/invoker.properties | 1 - src/it/mojo-1731/invoker.properties | 1 - src/it/mojo-1744/invoker.properties | 1 - src/it/mojo-1769/invoker.properties | 1 - src/it/mojo-1799/invoker.properties | 1 - src/it/require-encoding-iso88591/invoker.properties | 2 -- src/it/require-encoding-iso88591/pom.xml | 5 ----- src/it/require-encoding-usascii/invoker.properties | 1 - src/it/require-encoding-usascii/pom.xml | 5 ----- src/it/require-encoding-utf8/invoker.properties | 3 --- src/it/require-encoding-utf8/pom.xml | 5 ----- src/it/require-project-url-missing/invoker.properties | 1 - src/it/require-project-url-present/invoker.properties | 2 -- src/it/require-project-url-regex/invoker.properties | 1 - src/it/require-roles-all-roles-defined/invoker.properties | 2 -- src/it/require-roles-missing-contributor/invoker.properties | 1 - src/it/require-roles-no-definitions/invoker.properties | 2 -- .../invoker.properties | 2 -- 69 files changed, 1 insertion(+), 193 deletions(-) delete mode 100644 src/it/banduplicate-classes-ignore-when-identical/invoker.properties delete mode 100644 src/it/banduplicate-classes-jdk9/invoker.properties delete mode 100644 src/it/banduplicate-classes-wildcard-exclusion/invoker.properties delete mode 100644 src/it/classname-conflict/invoker.properties delete mode 100644 src/it/enforce-bytecode-version-direct-deps/invoker.properties delete mode 100644 src/it/enforce-bytecode-version-excluded-deps/invoker.properties delete mode 100644 src/it/enforce-bytecode-version-excluding-tests/invoker.properties delete mode 100644 src/it/enforce-bytecode-version-ignore-optional-dependencies/invoker.properties delete mode 100644 src/it/enforce-bytecode-version-jdkVersionOption-with-ignore/invoker.properties delete mode 100644 src/it/enforce-bytecode-version-module-info-jdk8/invoker.properties delete mode 100644 src/it/enforce-bytecode-version-module-info-jdk9-strict/invoker.properties delete mode 100644 src/it/enforce-bytecode-version-module-info-jdk9/invoker.properties delete mode 100644 src/it/enforce-bytecode-version-multirelease-2/invoker.properties delete mode 100644 src/it/enforce-bytecode-version-multirelease/invoker.properties delete mode 100644 src/it/enforce-bytecode-version-wo-banned-deps/invoker.properties delete mode 100644 src/it/ignores/invoker.properties delete mode 100644 src/it/local-project-repo/invoker.properties delete mode 100644 src/it/mojo-1731/invoker.properties delete mode 100644 src/it/mojo-1799/invoker.properties delete mode 100644 src/it/require-encoding-utf8/invoker.properties delete mode 100644 src/it/require-project-url-present/invoker.properties delete mode 100644 src/it/require-roles-all-roles-defined/invoker.properties delete mode 100644 src/it/require-roles-no-definitions/invoker.properties delete mode 100644 src/it/require-roles-requiredRoles-but-not-specified-in-validRoles/invoker.properties diff --git a/pom.xml b/pom.xml index 47487dda..67e19628 100644 --- a/pom.xml +++ b/pom.xml @@ -182,8 +182,7 @@ ${maven-enforcer-plugin.version} - clean - initialize + enforcer:enforce diff --git a/src/it/banduplicate-classes-fail-when-not-identical/invoker.properties b/src/it/banduplicate-classes-fail-when-not-identical/invoker.properties index 38b185e5..c21e972f 100644 --- a/src/it/banduplicate-classes-fail-when-not-identical/invoker.properties +++ b/src/it/banduplicate-classes-fail-when-not-identical/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce invoker.buildResult = failure diff --git a/src/it/banduplicate-classes-fail-when-not-identical/pom.xml b/src/it/banduplicate-classes-fail-when-not-identical/pom.xml index 85da01c5..3e0da596 100644 --- a/src/it/banduplicate-classes-fail-when-not-identical/pom.xml +++ b/src/it/banduplicate-classes-fail-when-not-identical/pom.xml @@ -28,11 +28,6 @@ - - - compile - - diff --git a/src/it/banduplicate-classes-ignore-when-identical/invoker.properties b/src/it/banduplicate-classes-ignore-when-identical/invoker.properties deleted file mode 100644 index a30e3767..00000000 --- a/src/it/banduplicate-classes-ignore-when-identical/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce -invoker.buildResult = success diff --git a/src/it/banduplicate-classes-ignore-when-identical/pom.xml b/src/it/banduplicate-classes-ignore-when-identical/pom.xml index 18f97465..ede3b19b 100644 --- a/src/it/banduplicate-classes-ignore-when-identical/pom.xml +++ b/src/it/banduplicate-classes-ignore-when-identical/pom.xml @@ -29,11 +29,6 @@ - - - compile - - diff --git a/src/it/banduplicate-classes-jdk9/invoker.properties b/src/it/banduplicate-classes-jdk9/invoker.properties deleted file mode 100644 index a30e3767..00000000 --- a/src/it/banduplicate-classes-jdk9/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce -invoker.buildResult = success diff --git a/src/it/banduplicate-classes-jdk9/pom.xml b/src/it/banduplicate-classes-jdk9/pom.xml index 72dfa002..0f3eaffe 100644 --- a/src/it/banduplicate-classes-jdk9/pom.xml +++ b/src/it/banduplicate-classes-jdk9/pom.xml @@ -24,11 +24,6 @@ - - - compile - - diff --git a/src/it/banduplicate-classes-wildcard-exclusion/invoker.properties b/src/it/banduplicate-classes-wildcard-exclusion/invoker.properties deleted file mode 100644 index a30e3767..00000000 --- a/src/it/banduplicate-classes-wildcard-exclusion/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce -invoker.buildResult = success diff --git a/src/it/banduplicate-classes-wildcard-exclusion/pom.xml b/src/it/banduplicate-classes-wildcard-exclusion/pom.xml index 34efddca..0e040a04 100644 --- a/src/it/banduplicate-classes-wildcard-exclusion/pom.xml +++ b/src/it/banduplicate-classes-wildcard-exclusion/pom.xml @@ -24,11 +24,6 @@ - - - compile - - diff --git a/src/it/circular-simple/invoker.properties b/src/it/circular-simple/invoker.properties index ef58975a..6f9e033b 100644 --- a/src/it/circular-simple/invoker.properties +++ b/src/it/circular-simple/invoker.properties @@ -1,3 +1 @@ -invoker.goals=enforcer:enforce invoker.buildResult = failure -invoker.maven.version = 3.0+ \ No newline at end of file diff --git a/src/it/classname-conflict/invoker.properties b/src/it/classname-conflict/invoker.properties deleted file mode 100644 index 873b7707..00000000 --- a/src/it/classname-conflict/invoker.properties +++ /dev/null @@ -1 +0,0 @@ -invoker.goals=enforcer:enforce diff --git a/src/it/enforce-bytecode-version-direct-deps/invoker.properties b/src/it/enforce-bytecode-version-direct-deps/invoker.properties deleted file mode 100644 index 54144c95..00000000 --- a/src/it/enforce-bytecode-version-direct-deps/invoker.properties +++ /dev/null @@ -1 +0,0 @@ -invoker.goals = enforcer:enforce diff --git a/src/it/enforce-bytecode-version-excluded-deps/invoker.properties b/src/it/enforce-bytecode-version-excluded-deps/invoker.properties deleted file mode 100644 index 38bf8a7d..00000000 --- a/src/it/enforce-bytecode-version-excluded-deps/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce install -invoker.buildResult = success diff --git a/src/it/enforce-bytecode-version-excluded-deps/pom.xml b/src/it/enforce-bytecode-version-excluded-deps/pom.xml index 72789866..f0875613 100644 --- a/src/it/enforce-bytecode-version-excluded-deps/pom.xml +++ b/src/it/enforce-bytecode-version-excluded-deps/pom.xml @@ -30,11 +30,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-excluding-tests-nonmatch/invoker.properties b/src/it/enforce-bytecode-version-excluding-tests-nonmatch/invoker.properties index 3c6e67ca..c21e972f 100644 --- a/src/it/enforce-bytecode-version-excluding-tests-nonmatch/invoker.properties +++ b/src/it/enforce-bytecode-version-excluding-tests-nonmatch/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce install invoker.buildResult = failure diff --git a/src/it/enforce-bytecode-version-excluding-tests-nonmatch/pom.xml b/src/it/enforce-bytecode-version-excluding-tests-nonmatch/pom.xml index 77688314..1d1c3bbe 100644 --- a/src/it/enforce-bytecode-version-excluding-tests-nonmatch/pom.xml +++ b/src/it/enforce-bytecode-version-excluding-tests-nonmatch/pom.xml @@ -27,11 +27,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-excluding-tests/invoker.properties b/src/it/enforce-bytecode-version-excluding-tests/invoker.properties deleted file mode 100644 index 38bf8a7d..00000000 --- a/src/it/enforce-bytecode-version-excluding-tests/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce install -invoker.buildResult = success diff --git a/src/it/enforce-bytecode-version-excluding-tests/pom.xml b/src/it/enforce-bytecode-version-excluding-tests/pom.xml index de58ee9f..50605e9d 100644 --- a/src/it/enforce-bytecode-version-excluding-tests/pom.xml +++ b/src/it/enforce-bytecode-version-excluding-tests/pom.xml @@ -27,11 +27,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-ignore-optional-dependencies/invoker.properties b/src/it/enforce-bytecode-version-ignore-optional-dependencies/invoker.properties deleted file mode 100644 index 46b24412..00000000 --- a/src/it/enforce-bytecode-version-ignore-optional-dependencies/invoker.properties +++ /dev/null @@ -1 +0,0 @@ -invoker.goals = enforcer:enforce diff --git a/src/it/enforce-bytecode-version-jdkVersionOption-runtime-scope/invoker.properties b/src/it/enforce-bytecode-version-jdkVersionOption-runtime-scope/invoker.properties index 3c6e67ca..c21e972f 100644 --- a/src/it/enforce-bytecode-version-jdkVersionOption-runtime-scope/invoker.properties +++ b/src/it/enforce-bytecode-version-jdkVersionOption-runtime-scope/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce install invoker.buildResult = failure diff --git a/src/it/enforce-bytecode-version-jdkVersionOption-runtime-scope/pom.xml b/src/it/enforce-bytecode-version-jdkVersionOption-runtime-scope/pom.xml index ede0a736..9075910d 100644 --- a/src/it/enforce-bytecode-version-jdkVersionOption-runtime-scope/pom.xml +++ b/src/it/enforce-bytecode-version-jdkVersionOption-runtime-scope/pom.xml @@ -28,11 +28,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-jdkVersionOption-with-ignore/invoker.properties b/src/it/enforce-bytecode-version-jdkVersionOption-with-ignore/invoker.properties deleted file mode 100644 index 38bf8a7d..00000000 --- a/src/it/enforce-bytecode-version-jdkVersionOption-with-ignore/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce install -invoker.buildResult = success diff --git a/src/it/enforce-bytecode-version-jdkVersionOption-with-ignore/pom.xml b/src/it/enforce-bytecode-version-jdkVersionOption-with-ignore/pom.xml index 861f24c1..00c80cfb 100644 --- a/src/it/enforce-bytecode-version-jdkVersionOption-with-ignore/pom.xml +++ b/src/it/enforce-bytecode-version-jdkVersionOption-with-ignore/pom.xml @@ -31,11 +31,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-jdkVersionOption/invoker.properties b/src/it/enforce-bytecode-version-jdkVersionOption/invoker.properties index 3c6e67ca..c21e972f 100644 --- a/src/it/enforce-bytecode-version-jdkVersionOption/invoker.properties +++ b/src/it/enforce-bytecode-version-jdkVersionOption/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce install invoker.buildResult = failure diff --git a/src/it/enforce-bytecode-version-jdkVersionOption/pom.xml b/src/it/enforce-bytecode-version-jdkVersionOption/pom.xml index 6041f037..de181002 100644 --- a/src/it/enforce-bytecode-version-jdkVersionOption/pom.xml +++ b/src/it/enforce-bytecode-version-jdkVersionOption/pom.xml @@ -28,11 +28,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-missing-config/invoker.properties b/src/it/enforce-bytecode-version-missing-config/invoker.properties index 3c6e67ca..c21e972f 100644 --- a/src/it/enforce-bytecode-version-missing-config/invoker.properties +++ b/src/it/enforce-bytecode-version-missing-config/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce install invoker.buildResult = failure diff --git a/src/it/enforce-bytecode-version-missing-config/pom.xml b/src/it/enforce-bytecode-version-missing-config/pom.xml index 9a973ca7..864aaef9 100644 --- a/src/it/enforce-bytecode-version-missing-config/pom.xml +++ b/src/it/enforce-bytecode-version-missing-config/pom.xml @@ -27,11 +27,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-module-info-jdk8-strict/invoker.properties b/src/it/enforce-bytecode-version-module-info-jdk8-strict/invoker.properties index 38b185e5..c21e972f 100644 --- a/src/it/enforce-bytecode-version-module-info-jdk8-strict/invoker.properties +++ b/src/it/enforce-bytecode-version-module-info-jdk8-strict/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce invoker.buildResult = failure diff --git a/src/it/enforce-bytecode-version-module-info-jdk8-strict/pom.xml b/src/it/enforce-bytecode-version-module-info-jdk8-strict/pom.xml index 6fd6a4f5..beda892e 100644 --- a/src/it/enforce-bytecode-version-module-info-jdk8-strict/pom.xml +++ b/src/it/enforce-bytecode-version-module-info-jdk8-strict/pom.xml @@ -40,11 +40,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-module-info-jdk8/invoker.properties b/src/it/enforce-bytecode-version-module-info-jdk8/invoker.properties deleted file mode 100644 index a30e3767..00000000 --- a/src/it/enforce-bytecode-version-module-info-jdk8/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce -invoker.buildResult = success diff --git a/src/it/enforce-bytecode-version-module-info-jdk8/pom.xml b/src/it/enforce-bytecode-version-module-info-jdk8/pom.xml index 436a31ba..926b98d1 100644 --- a/src/it/enforce-bytecode-version-module-info-jdk8/pom.xml +++ b/src/it/enforce-bytecode-version-module-info-jdk8/pom.xml @@ -25,11 +25,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-module-info-jdk9-strict/invoker.properties b/src/it/enforce-bytecode-version-module-info-jdk9-strict/invoker.properties deleted file mode 100644 index a30e3767..00000000 --- a/src/it/enforce-bytecode-version-module-info-jdk9-strict/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce -invoker.buildResult = success diff --git a/src/it/enforce-bytecode-version-module-info-jdk9-strict/pom.xml b/src/it/enforce-bytecode-version-module-info-jdk9-strict/pom.xml index 2b1e4790..128452aa 100644 --- a/src/it/enforce-bytecode-version-module-info-jdk9-strict/pom.xml +++ b/src/it/enforce-bytecode-version-module-info-jdk9-strict/pom.xml @@ -40,11 +40,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-module-info-jdk9/invoker.properties b/src/it/enforce-bytecode-version-module-info-jdk9/invoker.properties deleted file mode 100644 index a30e3767..00000000 --- a/src/it/enforce-bytecode-version-module-info-jdk9/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce -invoker.buildResult = success diff --git a/src/it/enforce-bytecode-version-module-info-jdk9/pom.xml b/src/it/enforce-bytecode-version-module-info-jdk9/pom.xml index bf2a866f..f8439f1b 100644 --- a/src/it/enforce-bytecode-version-module-info-jdk9/pom.xml +++ b/src/it/enforce-bytecode-version-module-info-jdk9/pom.xml @@ -25,11 +25,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-multirelease-2/invoker.properties b/src/it/enforce-bytecode-version-multirelease-2/invoker.properties deleted file mode 100644 index a30e3767..00000000 --- a/src/it/enforce-bytecode-version-multirelease-2/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce -invoker.buildResult = success diff --git a/src/it/enforce-bytecode-version-multirelease-2/pom.xml b/src/it/enforce-bytecode-version-multirelease-2/pom.xml index 952bb352..ee883660 100644 --- a/src/it/enforce-bytecode-version-multirelease-2/pom.xml +++ b/src/it/enforce-bytecode-version-multirelease-2/pom.xml @@ -25,11 +25,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-multirelease-strict/invoker.properties b/src/it/enforce-bytecode-version-multirelease-strict/invoker.properties index 38b185e5..c21e972f 100644 --- a/src/it/enforce-bytecode-version-multirelease-strict/invoker.properties +++ b/src/it/enforce-bytecode-version-multirelease-strict/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce invoker.buildResult = failure diff --git a/src/it/enforce-bytecode-version-multirelease-strict/pom.xml b/src/it/enforce-bytecode-version-multirelease-strict/pom.xml index a3bde43c..974d0ea6 100644 --- a/src/it/enforce-bytecode-version-multirelease-strict/pom.xml +++ b/src/it/enforce-bytecode-version-multirelease-strict/pom.xml @@ -43,11 +43,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-multirelease/invoker.properties b/src/it/enforce-bytecode-version-multirelease/invoker.properties deleted file mode 100644 index a30e3767..00000000 --- a/src/it/enforce-bytecode-version-multirelease/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce -invoker.buildResult = success diff --git a/src/it/enforce-bytecode-version-multirelease/pom.xml b/src/it/enforce-bytecode-version-multirelease/pom.xml index bd075790..64a7e4f8 100644 --- a/src/it/enforce-bytecode-version-multirelease/pom.xml +++ b/src/it/enforce-bytecode-version-multirelease/pom.xml @@ -25,11 +25,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-only-one-option-allowed/invoker.properties b/src/it/enforce-bytecode-version-only-one-option-allowed/invoker.properties index 3c6e67ca..c21e972f 100644 --- a/src/it/enforce-bytecode-version-only-one-option-allowed/invoker.properties +++ b/src/it/enforce-bytecode-version-only-one-option-allowed/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce install invoker.buildResult = failure diff --git a/src/it/enforce-bytecode-version-only-one-option-allowed/pom.xml b/src/it/enforce-bytecode-version-only-one-option-allowed/pom.xml index ea9e9558..c51e3e20 100644 --- a/src/it/enforce-bytecode-version-only-one-option-allowed/pom.xml +++ b/src/it/enforce-bytecode-version-only-one-option-allowed/pom.xml @@ -29,11 +29,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-with-banned-deps/invoker.properties b/src/it/enforce-bytecode-version-with-banned-deps/invoker.properties index 4a6fb597..4793e663 100644 --- a/src/it/enforce-bytecode-version-with-banned-deps/invoker.properties +++ b/src/it/enforce-bytecode-version-with-banned-deps/invoker.properties @@ -1,3 +1,2 @@ -invoker.goals = enforcer:enforce install invoker.buildResult = failure invoker.debug = false diff --git a/src/it/enforce-bytecode-version-with-banned-deps/pom.xml b/src/it/enforce-bytecode-version-with-banned-deps/pom.xml index b08597de..fd087db3 100644 --- a/src/it/enforce-bytecode-version-with-banned-deps/pom.xml +++ b/src/it/enforce-bytecode-version-with-banned-deps/pom.xml @@ -28,11 +28,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-with-corrupted-jar/invoker.properties b/src/it/enforce-bytecode-version-with-corrupted-jar/invoker.properties index 9d938fc4..c21e972f 100644 --- a/src/it/enforce-bytecode-version-with-corrupted-jar/invoker.properties +++ b/src/it/enforce-bytecode-version-with-corrupted-jar/invoker.properties @@ -1,3 +1 @@ -invoker.goals = enforcer:enforce install -invoker.mavenOpts = -ea invoker.buildResult = failure diff --git a/src/it/enforce-bytecode-version-with-corrupted-jar/pom.xml b/src/it/enforce-bytecode-version-with-corrupted-jar/pom.xml index efc2a3dc..33c77fb1 100644 --- a/src/it/enforce-bytecode-version-with-corrupted-jar/pom.xml +++ b/src/it/enforce-bytecode-version-with-corrupted-jar/pom.xml @@ -26,11 +26,6 @@ - - - compile - - diff --git a/src/it/enforce-bytecode-version-wo-banned-deps/invoker.properties b/src/it/enforce-bytecode-version-wo-banned-deps/invoker.properties deleted file mode 100644 index 3c7e4783..00000000 --- a/src/it/enforce-bytecode-version-wo-banned-deps/invoker.properties +++ /dev/null @@ -1,3 +0,0 @@ -invoker.goals = enforcer:enforce install -invoker.mavenOpts = -ea -invoker.buildResult = success diff --git a/src/it/enforce-bytecode-version-wo-banned-deps/pom.xml b/src/it/enforce-bytecode-version-wo-banned-deps/pom.xml index a7f27fc1..d99bf4db 100644 --- a/src/it/enforce-bytecode-version-wo-banned-deps/pom.xml +++ b/src/it/enforce-bytecode-version-wo-banned-deps/pom.xml @@ -26,11 +26,6 @@ - - - compile - - diff --git a/src/it/ignores/invoker.properties b/src/it/ignores/invoker.properties deleted file mode 100644 index 873b7707..00000000 --- a/src/it/ignores/invoker.properties +++ /dev/null @@ -1 +0,0 @@ -invoker.goals=enforcer:enforce diff --git a/src/it/local-project-repo/invoker.properties b/src/it/local-project-repo/invoker.properties deleted file mode 100644 index 98becc2a..00000000 --- a/src/it/local-project-repo/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce -invoker.buildResult = success \ No newline at end of file diff --git a/src/it/mojo-1682/invoker.properties b/src/it/mojo-1682/invoker.properties index 735140d5..62359c56 100644 --- a/src/it/mojo-1682/invoker.properties +++ b/src/it/mojo-1682/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce invoker.buildResult = failure \ No newline at end of file diff --git a/src/it/mojo-1731/invoker.properties b/src/it/mojo-1731/invoker.properties deleted file mode 100644 index db5c2cd3..00000000 --- a/src/it/mojo-1731/invoker.properties +++ /dev/null @@ -1 +0,0 @@ -invoker.goals = enforcer:enforce \ No newline at end of file diff --git a/src/it/mojo-1744/invoker.properties b/src/it/mojo-1744/invoker.properties index 76149456..62359c56 100644 --- a/src/it/mojo-1744/invoker.properties +++ b/src/it/mojo-1744/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce invoker.buildResult = failure \ No newline at end of file diff --git a/src/it/mojo-1769/invoker.properties b/src/it/mojo-1769/invoker.properties index 87ec9854..6f9e033b 100644 --- a/src/it/mojo-1769/invoker.properties +++ b/src/it/mojo-1769/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce invoker.buildResult = failure diff --git a/src/it/mojo-1799/invoker.properties b/src/it/mojo-1799/invoker.properties deleted file mode 100644 index db5c2cd3..00000000 --- a/src/it/mojo-1799/invoker.properties +++ /dev/null @@ -1 +0,0 @@ -invoker.goals = enforcer:enforce \ No newline at end of file diff --git a/src/it/require-encoding-iso88591/invoker.properties b/src/it/require-encoding-iso88591/invoker.properties index 59987c85..cf58e0fa 100644 --- a/src/it/require-encoding-iso88591/invoker.properties +++ b/src/it/require-encoding-iso88591/invoker.properties @@ -1,3 +1 @@ -invoker.goals = enforcer:enforce install invoker.mavenOpts = -Dfile.encoding=UTF-8 -invoker.buildResult = success diff --git a/src/it/require-encoding-iso88591/pom.xml b/src/it/require-encoding-iso88591/pom.xml index e4f9f4dd..bb5feb8a 100644 --- a/src/it/require-encoding-iso88591/pom.xml +++ b/src/it/require-encoding-iso88591/pom.xml @@ -30,11 +30,6 @@ - - - compile - - diff --git a/src/it/require-encoding-usascii/invoker.properties b/src/it/require-encoding-usascii/invoker.properties index f60afc7e..5e73e5f5 100644 --- a/src/it/require-encoding-usascii/invoker.properties +++ b/src/it/require-encoding-usascii/invoker.properties @@ -1,3 +1,2 @@ -invoker.goals = enforcer:enforce install invoker.mavenOpts = -Dfile.encoding=UTF-8 invoker.buildResult = failure diff --git a/src/it/require-encoding-usascii/pom.xml b/src/it/require-encoding-usascii/pom.xml index e255f4b6..8a245684 100644 --- a/src/it/require-encoding-usascii/pom.xml +++ b/src/it/require-encoding-usascii/pom.xml @@ -29,11 +29,6 @@ - - - compile - - diff --git a/src/it/require-encoding-utf8/invoker.properties b/src/it/require-encoding-utf8/invoker.properties deleted file mode 100644 index 6b7f7ffb..00000000 --- a/src/it/require-encoding-utf8/invoker.properties +++ /dev/null @@ -1,3 +0,0 @@ -invoker.goals = enforcer:enforce install -invoker.mavenOpts = -invoker.buildResult = success diff --git a/src/it/require-encoding-utf8/pom.xml b/src/it/require-encoding-utf8/pom.xml index 55f14b60..00ce3fa7 100644 --- a/src/it/require-encoding-utf8/pom.xml +++ b/src/it/require-encoding-utf8/pom.xml @@ -27,11 +27,6 @@ - - - compile - - diff --git a/src/it/require-project-url-missing/invoker.properties b/src/it/require-project-url-missing/invoker.properties index 3c6e67ca..c21e972f 100644 --- a/src/it/require-project-url-missing/invoker.properties +++ b/src/it/require-project-url-missing/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce install invoker.buildResult = failure diff --git a/src/it/require-project-url-present/invoker.properties b/src/it/require-project-url-present/invoker.properties deleted file mode 100644 index 38bf8a7d..00000000 --- a/src/it/require-project-url-present/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce install -invoker.buildResult = success diff --git a/src/it/require-project-url-regex/invoker.properties b/src/it/require-project-url-regex/invoker.properties index 3c6e67ca..c21e972f 100644 --- a/src/it/require-project-url-regex/invoker.properties +++ b/src/it/require-project-url-regex/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce install invoker.buildResult = failure diff --git a/src/it/require-roles-all-roles-defined/invoker.properties b/src/it/require-roles-all-roles-defined/invoker.properties deleted file mode 100644 index 38bf8a7d..00000000 --- a/src/it/require-roles-all-roles-defined/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce install -invoker.buildResult = success diff --git a/src/it/require-roles-missing-contributor/invoker.properties b/src/it/require-roles-missing-contributor/invoker.properties index 3c6e67ca..c21e972f 100644 --- a/src/it/require-roles-missing-contributor/invoker.properties +++ b/src/it/require-roles-missing-contributor/invoker.properties @@ -1,2 +1 @@ -invoker.goals = enforcer:enforce install invoker.buildResult = failure diff --git a/src/it/require-roles-no-definitions/invoker.properties b/src/it/require-roles-no-definitions/invoker.properties deleted file mode 100644 index 38bf8a7d..00000000 --- a/src/it/require-roles-no-definitions/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce install -invoker.buildResult = success diff --git a/src/it/require-roles-requiredRoles-but-not-specified-in-validRoles/invoker.properties b/src/it/require-roles-requiredRoles-but-not-specified-in-validRoles/invoker.properties deleted file mode 100644 index 38bf8a7d..00000000 --- a/src/it/require-roles-requiredRoles-but-not-specified-in-validRoles/invoker.properties +++ /dev/null @@ -1,2 +0,0 @@ -invoker.goals = enforcer:enforce install -invoker.buildResult = success