You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2026/06/14 17:11:54 UTC
(maven-help-plugin) branch revert-344 created (now edfd07a)
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a change to branch revert-344
in repository https://gitbox.apache.org/repos/asf/maven-help-plugin.git
at edfd07a revert broken IT updates from #344
This branch includes the following new commits:
new edfd07a revert broken IT updates from #344
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(maven-help-plugin) 01/01: revert broken IT updates from #344
Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch revert-344
in repository https://gitbox.apache.org/repos/asf/maven-help-plugin.git
commit edfd07af6d888d9b0b4c499007f7b995d4b7fefd
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Jun 14 17:32:09 2026 +0200
revert broken IT updates from #344
---
.../projects/active-profiles_multimodule/verify.groovy | 16 ++++------------
src/it/projects/effective-pom_properties/verify.groovy | 11 ++++-------
2 files changed, 8 insertions(+), 19 deletions(-)
diff --git a/src/it/projects/active-profiles_multimodule/verify.groovy b/src/it/projects/active-profiles_multimodule/verify.groovy
index c49b7ad..c207267 100644
--- a/src/it/projects/active-profiles_multimodule/verify.groovy
+++ b/src/it/projects/active-profiles_multimodule/verify.groovy
@@ -20,15 +20,7 @@
def buildLog = new File( basedir, 'build.log' );
assert buildLog.exists()
-if (mavenVersion.startsWith( '4.' )) {
- assert 1 == buildLog.text.count(' - mph79 (source: org.apache.maven.its.help:active-profiles_multimodule:pom:1.0-SNAPSHOT)')
- assert 1 == buildLog.text.count(' - mph79 (source: org.apache.maven.its.help:active-profiles_multimodule-module:jar:1.0-SNAPSHOT)')
- assert 1 == buildLog.text.count('- mph79-child (source: org.apache.maven.its.help:active-profiles_multimodule-module:jar:1.0-SNAPSHOT)')
-
-} else {
- assert 2 == buildLog.text.count(' - mph79 (source: org.apache.maven.its.help:active-profiles_multimodule:1.0-SNAPSHOT)')
- assert 1 == buildLog.text.count(' - mph79-child (source: org.apache.maven.its.help:active-profiles_multimodule-module:1.0-SNAPSHOT)')
-}
-
-assert 0 == buildLog.text.count(' - mph79-child-inactive')
-assert 2 == buildLog.text.count(' - it-repo (source: external)')
+assert 2 == buildLog.text.count( ' - mph79 (source: org.apache.maven.its.help:active-profiles_multimodule:1.0-SNAPSHOT)' )
+assert 1 == buildLog.text.count( ' - mph79-child (source: org.apache.maven.its.help:active-profiles_multimodule-module:1.0-SNAPSHOT)' )
+assert 0 == buildLog.text.count( ' - mph79-child-inactive' )
+assert 2 == buildLog.text.count( ' - it-repo (source: external)' )
diff --git a/src/it/projects/effective-pom_properties/verify.groovy b/src/it/projects/effective-pom_properties/verify.groovy
index dd2be3d..fc6823a 100644
--- a/src/it/projects/effective-pom_properties/verify.groovy
+++ b/src/it/projects/effective-pom_properties/verify.groovy
@@ -16,22 +16,19 @@
* specific language governing permissions and limitations
* under the License.
*/
-def buildLog = new File(basedir, 'build.log');
+def buildLog = new File(basedir, 'build.log');
assert buildLog.exists()
def LS = System.getProperty("line.separator")
if (mavenVersion.startsWith('4.')) {
- // we have defined properties maven.compiler.source/target to 8 as user properties for execution
- // Maven 4 take precedence over the pom properties
- // also order of properties is changed in Maven 4
+ // with Maven 4, order of properties is reversed from original pom.xml
assert buildLog.text.find(
'(?s)' +
' <properties>' + LS +
- ' <maven\\.compiler\\.target>8</maven\\.compiler\\.target>' + LS +
- ' <maven\\.compiler\\.source>8</maven\\.compiler\\.source>' + LS +
+ ' <maven\\.compiler\\.target>1\\.6</maven\\.compiler\\.target>' + LS +
+ ' <maven\\.compiler\\.source>1\\.6</maven\\.compiler\\.source>' + LS +
'.*' +
' </properties>') != null
-
} else {
assert buildLog.text.find(
'(?s)' +