From eec0fb8d1d9d37548c86009719961745178cae1c Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Fri, 5 Jul 2024 18:40:31 +0200 Subject: [PATCH] Remove default value for invoker.buildResult default value is success, we not need to override it --- .../src/it/it-max-dependency-updates-002/invoker.properties | 1 - .../src/it/it-max-dependency-updates-003/invoker.properties | 1 - .../src/it/it-encoding-001/invoker.properties | 1 - .../src/it/it-resolve-ranges-003/invoker.properties | 1 - .../src/it/it-resolve-ranges-004/invoker.properties | 1 - .../src/it/it-resolve-ranges-006/invoker.properties | 1 - .../src/it/it-rules-via-classpath-002/invoker.properties | 1 - .../src/it/it-rules-via-classpath-003/invoker.properties | 1 - .../src/it/it-set-001-issue-76/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-001/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-002/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-003/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-005/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-006/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-007/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-008/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-010/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-011/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-012/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-013/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-014/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-015/invoker.properties | 1 - versions-maven-plugin/src/it/it-set-016/invoker.properties | 1 - .../src/it/it-set-018-issue-82/invoker.properties | 1 - .../src/it/it-set-019-issue-426/invoker.properties | 1 - .../src/it/it-set-scm-tag-004/invoker.properties | 1 - .../src/it/it-update-child-modules-001/invoker.properties | 3 --- .../src/it/it-update-child-modules-002/invoker.properties | 3 --- .../src/it/it-use-dep-version-001/invoker.properties | 1 - .../src/it/it-use-dep-version-002/invoker.properties | 1 - .../src/it/it-use-dep-version-003/invoker.properties | 1 - .../src/it/it-use-dep-version-004/invoker.properties | 1 - 32 files changed, 36 deletions(-) diff --git a/versions-enforcer/src/it/it-max-dependency-updates-002/invoker.properties b/versions-enforcer/src/it/it-max-dependency-updates-002/invoker.properties index a30e3767bb..54144c957c 100644 --- a/versions-enforcer/src/it/it-max-dependency-updates-002/invoker.properties +++ b/versions-enforcer/src/it/it-max-dependency-updates-002/invoker.properties @@ -1,2 +1 @@ invoker.goals = enforcer:enforce -invoker.buildResult = success diff --git a/versions-enforcer/src/it/it-max-dependency-updates-003/invoker.properties b/versions-enforcer/src/it/it-max-dependency-updates-003/invoker.properties index a30e3767bb..54144c957c 100644 --- a/versions-enforcer/src/it/it-max-dependency-updates-003/invoker.properties +++ b/versions-enforcer/src/it/it-max-dependency-updates-003/invoker.properties @@ -1,2 +1 @@ invoker.goals = enforcer:enforce -invoker.buildResult = success diff --git a/versions-maven-plugin/src/it/it-encoding-001/invoker.properties b/versions-maven-plugin/src/it/it-encoding-001/invoker.properties index f2ebf36085..cb1252ffc2 100644 --- a/versions-maven-plugin/src/it/it-encoding-001/invoker.properties +++ b/versions-maven-plugin/src/it/it-encoding-001/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 invoker.nonRecursive=true -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-resolve-ranges-003/invoker.properties b/versions-maven-plugin/src/it/it-resolve-ranges-003/invoker.properties index 6f7b0250e4..bdb73fc388 100644 --- a/versions-maven-plugin/src/it/it-resolve-ranges-003/invoker.properties +++ b/versions-maven-plugin/src/it/it-resolve-ranges-003/invoker.properties @@ -1,2 +1 @@ invoker.goals=-X ${project.groupId}:${project.artifactId}:${project.version}:resolve-ranges -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-resolve-ranges-004/invoker.properties b/versions-maven-plugin/src/it/it-resolve-ranges-004/invoker.properties index 6f7b0250e4..bdb73fc388 100644 --- a/versions-maven-plugin/src/it/it-resolve-ranges-004/invoker.properties +++ b/versions-maven-plugin/src/it/it-resolve-ranges-004/invoker.properties @@ -1,2 +1 @@ invoker.goals=-X ${project.groupId}:${project.artifactId}:${project.version}:resolve-ranges -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-resolve-ranges-006/invoker.properties b/versions-maven-plugin/src/it/it-resolve-ranges-006/invoker.properties index c189e54a4a..4907bead5b 100644 --- a/versions-maven-plugin/src/it/it-resolve-ranges-006/invoker.properties +++ b/versions-maven-plugin/src/it/it-resolve-ranges-006/invoker.properties @@ -1,2 +1 @@ invoker.goals=-X ${project.groupId}:${project.artifactId}:${project.version}:resolve-ranges -DprocessParent=true -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-rules-via-classpath-002/invoker.properties b/versions-maven-plugin/src/it/it-rules-via-classpath-002/invoker.properties index 8d6b718473..b5642ede80 100644 --- a/versions-maven-plugin/src/it/it-rules-via-classpath-002/invoker.properties +++ b/versions-maven-plugin/src/it/it-rules-via-classpath-002/invoker.properties @@ -1,2 +1 @@ invoker.goals=clean install ${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases -invoker.buildResult = success diff --git a/versions-maven-plugin/src/it/it-rules-via-classpath-003/invoker.properties b/versions-maven-plugin/src/it/it-rules-via-classpath-003/invoker.properties index 8d6b718473..b5642ede80 100644 --- a/versions-maven-plugin/src/it/it-rules-via-classpath-003/invoker.properties +++ b/versions-maven-plugin/src/it/it-rules-via-classpath-003/invoker.properties @@ -1,2 +1 @@ invoker.goals=clean install ${project.groupId}:${project.artifactId}:${project.version}:use-latest-releases -invoker.buildResult = success diff --git a/versions-maven-plugin/src/it/it-set-001-issue-76/invoker.properties b/versions-maven-plugin/src/it/it-set-001-issue-76/invoker.properties index 3097d70d68..4e53eecd1b 100644 --- a/versions-maven-plugin/src/it/it-set-001-issue-76/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-001-issue-76/invoker.properties @@ -1,2 +1 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.3 -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-001/invoker.properties b/versions-maven-plugin/src/it/it-set-001/invoker.properties index 5fa004a9b7..0603ed9dac 100644 --- a/versions-maven-plugin/src/it/it-set-001/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-001/invoker.properties @@ -1,5 +1,4 @@ invoker.goals.1=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 -invoker.buildResult.1=success invoker.goals.2=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 -DgroupId=* -DartifactId=* -DoldVersion=* invoker.buildResult.2=success \ No newline at end of file diff --git a/versions-maven-plugin/src/it/it-set-002/invoker.properties b/versions-maven-plugin/src/it/it-set-002/invoker.properties index 0f62258fb8..414e361403 100644 --- a/versions-maven-plugin/src/it/it-set-002/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-002/invoker.properties @@ -1,2 +1 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-003/invoker.properties b/versions-maven-plugin/src/it/it-set-003/invoker.properties index 0f62258fb8..414e361403 100644 --- a/versions-maven-plugin/src/it/it-set-003/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-003/invoker.properties @@ -1,2 +1 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=2.0 -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-005/invoker.properties b/versions-maven-plugin/src/it/it-set-005/invoker.properties index 55c3f39d27..57e5443a17 100644 --- a/versions-maven-plugin/src/it/it-set-005/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-005/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=1.2.1-SNAPSHOT invoker.nonRecursive=true -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-006/invoker.properties b/versions-maven-plugin/src/it/it-set-006/invoker.properties index 6c358a45a8..6a46477207 100644 --- a/versions-maven-plugin/src/it/it-set-006/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-006/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnewVersion=1.2.1-SNAPSHOT -DupdateMatchingVersions=false invoker.nonRecursive=true -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-007/invoker.properties b/versions-maven-plugin/src/it/it-set-007/invoker.properties index 30007f299b..7da036beae 100644 --- a/versions-maven-plugin/src/it/it-set-007/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-007/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DgroupId=localdomain.localhost -DartifactId=module-a1 -DoldVersion= -DnewVersion=2.0.6 -DprocessDependencies=true -DprocessPlugins=false -DprocessProject=false -DprocessParent=false invoker.nonRecursive=true -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-008/invoker.properties b/versions-maven-plugin/src/it/it-set-008/invoker.properties index 3d1717464d..3a6f4650b6 100644 --- a/versions-maven-plugin/src/it/it-set-008/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-008/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DgroupId=* -DartifactId=module-a* -DoldVersion=* -DnewVersion=2.0.9-SNAPSHOT -DupdateMatchingVersions=false invoker.nonRecursive=true -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-010/invoker.properties b/versions-maven-plugin/src/it/it-set-010/invoker.properties index 2f98246e16..344785b578 100644 --- a/versions-maven-plugin/src/it/it-set-010/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-010/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DremoveSnapshot=true invoker.nonRecursive=true -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-011/invoker.properties b/versions-maven-plugin/src/it/it-set-011/invoker.properties index 83dcb0406b..7eb1764ea4 100644 --- a/versions-maven-plugin/src/it/it-set-011/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-011/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DremoveSnapshot=true invoker.nonRecursive=false -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-012/invoker.properties b/versions-maven-plugin/src/it/it-set-012/invoker.properties index 3394f2ba00..7b2a0f6162 100644 --- a/versions-maven-plugin/src/it/it-set-012/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-012/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnextSnapshot=true invoker.nonRecursive=true -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-013/invoker.properties b/versions-maven-plugin/src/it/it-set-013/invoker.properties index 3394f2ba00..7b2a0f6162 100644 --- a/versions-maven-plugin/src/it/it-set-013/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-013/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnextSnapshot=true invoker.nonRecursive=true -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-014/invoker.properties b/versions-maven-plugin/src/it/it-set-014/invoker.properties index 3394f2ba00..7b2a0f6162 100644 --- a/versions-maven-plugin/src/it/it-set-014/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-014/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnextSnapshot=true invoker.nonRecursive=true -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-015/invoker.properties b/versions-maven-plugin/src/it/it-set-015/invoker.properties index 3394f2ba00..7b2a0f6162 100644 --- a/versions-maven-plugin/src/it/it-set-015/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-015/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnextSnapshot=true invoker.nonRecursive=true -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-016/invoker.properties b/versions-maven-plugin/src/it/it-set-016/invoker.properties index 3c45041553..3905d222c6 100644 --- a/versions-maven-plugin/src/it/it-set-016/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-016/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -DnextSnapshot=true invoker.nonRecursive=false -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-018-issue-82/invoker.properties b/versions-maven-plugin/src/it/it-set-018-issue-82/invoker.properties index 500af68ea4..a44c10e9bf 100644 --- a/versions-maven-plugin/src/it/it-set-018-issue-82/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-018-issue-82/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -fmodule-a1 -DnewVersion=2.5.0-SNAPSHOT -DprocessFromLocalAggregationRoot=false invoker.nonRecursive=true -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-019-issue-426/invoker.properties b/versions-maven-plugin/src/it/it-set-019-issue-426/invoker.properties index 2760b545a2..42bcaca4c8 100644 --- a/versions-maven-plugin/src/it/it-set-019-issue-426/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-019-issue-426/invoker.properties @@ -1,3 +1,2 @@ invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:set -fmodule-a1 -DnewVersion=2.5.0-SNAPSHOT invoker.nonRecursive=true -invoker.buildResult=success diff --git a/versions-maven-plugin/src/it/it-set-scm-tag-004/invoker.properties b/versions-maven-plugin/src/it/it-set-scm-tag-004/invoker.properties index d6f553b788..7c52b98340 100644 --- a/versions-maven-plugin/src/it/it-set-scm-tag-004/invoker.properties +++ b/versions-maven-plugin/src/it/it-set-scm-tag-004/invoker.properties @@ -1,2 +1 @@ invoker.goals.1=${project.groupId}:${project.artifactId}:${project.version}:set-scm-tag -DnewTag=v1.0 -invoker.buildResult.1=success diff --git a/versions-maven-plugin/src/it/it-update-child-modules-001/invoker.properties b/versions-maven-plugin/src/it/it-update-child-modules-001/invoker.properties index af67275aa9..8b330e654f 100644 --- a/versions-maven-plugin/src/it/it-update-child-modules-001/invoker.properties +++ b/versions-maven-plugin/src/it/it-update-child-modules-001/invoker.properties @@ -1,7 +1,6 @@ # first check that the root project builds ok invoker.goals.1=-o validate invoker.nonRecursive.1=true -invoker.buildResult.1=success # second check that adding the child project into the mix breaks things invoker.goals.2=-o validate @@ -11,9 +10,7 @@ invoker.buildResult.2=failure # third fix the build with our plugin invoker.goals.3=${project.groupId}:${project.artifactId}:${project.version}:update-child-modules invoker.nonRecursive.3=true -invoker.buildResult.3=success # forth, confirm that the build is fixed invoker.goals.4=validate invoker.nonRecursive.4=false -invoker.buildResult.4=success diff --git a/versions-maven-plugin/src/it/it-update-child-modules-002/invoker.properties b/versions-maven-plugin/src/it/it-update-child-modules-002/invoker.properties index af67275aa9..8b330e654f 100644 --- a/versions-maven-plugin/src/it/it-update-child-modules-002/invoker.properties +++ b/versions-maven-plugin/src/it/it-update-child-modules-002/invoker.properties @@ -1,7 +1,6 @@ # first check that the root project builds ok invoker.goals.1=-o validate invoker.nonRecursive.1=true -invoker.buildResult.1=success # second check that adding the child project into the mix breaks things invoker.goals.2=-o validate @@ -11,9 +10,7 @@ invoker.buildResult.2=failure # third fix the build with our plugin invoker.goals.3=${project.groupId}:${project.artifactId}:${project.version}:update-child-modules invoker.nonRecursive.3=true -invoker.buildResult.3=success # forth, confirm that the build is fixed invoker.goals.4=validate invoker.nonRecursive.4=false -invoker.buildResult.4=success diff --git a/versions-maven-plugin/src/it/it-use-dep-version-001/invoker.properties b/versions-maven-plugin/src/it/it-use-dep-version-001/invoker.properties index a6930739c9..9928f3a157 100644 --- a/versions-maven-plugin/src/it/it-use-dep-version-001/invoker.properties +++ b/versions-maven-plugin/src/it/it-use-dep-version-001/invoker.properties @@ -19,4 +19,3 @@ invoker.goals= ${project.groupId}:${project.artifactId}:${project.version}:use-dep-version invoker.mavenOpts = -Dincludes=localhost -DdepVersion=1.0.1 -invoker.buildResult = success diff --git a/versions-maven-plugin/src/it/it-use-dep-version-002/invoker.properties b/versions-maven-plugin/src/it/it-use-dep-version-002/invoker.properties index a6930739c9..9928f3a157 100644 --- a/versions-maven-plugin/src/it/it-use-dep-version-002/invoker.properties +++ b/versions-maven-plugin/src/it/it-use-dep-version-002/invoker.properties @@ -19,4 +19,3 @@ invoker.goals= ${project.groupId}:${project.artifactId}:${project.version}:use-dep-version invoker.mavenOpts = -Dincludes=localhost -DdepVersion=1.0.1 -invoker.buildResult = success diff --git a/versions-maven-plugin/src/it/it-use-dep-version-003/invoker.properties b/versions-maven-plugin/src/it/it-use-dep-version-003/invoker.properties index a6930739c9..9928f3a157 100644 --- a/versions-maven-plugin/src/it/it-use-dep-version-003/invoker.properties +++ b/versions-maven-plugin/src/it/it-use-dep-version-003/invoker.properties @@ -19,4 +19,3 @@ invoker.goals= ${project.groupId}:${project.artifactId}:${project.version}:use-dep-version invoker.mavenOpts = -Dincludes=localhost -DdepVersion=1.0.1 -invoker.buildResult = success diff --git a/versions-maven-plugin/src/it/it-use-dep-version-004/invoker.properties b/versions-maven-plugin/src/it/it-use-dep-version-004/invoker.properties index 219d25748c..9c0ccd0bcc 100644 --- a/versions-maven-plugin/src/it/it-use-dep-version-004/invoker.properties +++ b/versions-maven-plugin/src/it/it-use-dep-version-004/invoker.properties @@ -19,4 +19,3 @@ invoker.goals= ${project.groupId}:${project.artifactId}:${project.version}:use-dep-version invoker.mavenOpts = -Dincludes=localhost -DdepVersion=1.0.1 -DprocessProperties=true -invoker.buildResult = success