You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (Jira)" <ji...@apache.org> on 2021/02/14 18:09:00 UTC
[jira] [Commented] (MINVOKER-278) IT failures when rebuilding 3.2.2
release
[ https://issues.apache.org/jira/browse/MINVOKER-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284463#comment-17284463 ]
Sylwester Lachiewicz commented on MINVOKER-278:
-----------------------------------------------
I'm unable to reproduce these issues with fresh Ubuntu install - all tests were green.
{noformat}
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 11.0.10, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-51-generic", arch: "amd64", family: "unix"
{noformat}
> IT failures when rebuilding 3.2.2 release
> -----------------------------------------
>
> Key: MINVOKER-278
> URL: https://issues.apache.org/jira/browse/MINVOKER-278
> Project: Maven Invoker Plugin
> Issue Type: Bug
> Affects Versions: 3.2.2
> Reporter: Herve Boutemy
> Priority: Major
>
> rebuild is done on Linux using source-release.zip (done on Windows):
> {noformat}[INFO] Building: fail-build-with-verify-streamLogsOnFailures/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO] The post-build script did not succeed. assert buildLog.contains( buildLogOfProject )
> | | |
> | false [INFO] Scanning for projects...
> | [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> | [ERROR] Malformed POM /home/herve/tmp/maven-invoker-plugin-3.2.2/target/it/fail-build-with-verify-streamLogsOnFailures/target/it/project/pom.xml: Unrecognised tag: 'invalidElementShouldFailBuild' (position: START_TAG seen ...</properties>\r\n\r\n <invalidElementShouldFailBuild/>... @34:35) @ /home/herve/tmp/maven-invoker-plugin-3.2.2/target/it/fail-build-with-verify-streamLogsOnFailures/target/it/project/pom.xml, line 34, column 35
> | [FATAL] 'modelVersion' of '99.0.0' is newer than the versions supported by this version of Maven: [4.0.0]. Building this project requires a newer version of Maven. @ line 24, column 17
> | @
> | [ERROR] The build could not read 1 project -> [Help 1]
> | [ERROR]
> | [ERROR] The project test:fail-build:0.1-SNAPSHOT (/home/herve/tmp/maven-invoker-plugin-3.2.2/target/it/fail-build-with-verify-streamLogsOnFailures/target/it/project/pom.xml) has 2 errors
> | [ERROR] Malformed POM /home/herve/tmp/maven-invoker-plugin-3.2.2/target/it/fail-build-with-verify-streamLogsOnFailures/target/it/project/pom.xml: Unrecognised tag: 'invalidElementShouldFailBuild' (position: START_TAG seen ...</properties>\r\n\r\n <invalidElementShouldFailBuild/>... @34:35) @ /home/herve/tmp/maven-invoker-plugin-3.2.2/target/it/fail-build-with-verify-streamLogsOnFailures/target/it/project/pom.xml, line 34, column 35 -> [Help 2]
> | [ERROR] 'modelVersion' of '99.0.0' is newer than the versions supported by this version of Maven: [4.0.0]. Building this project requires a newer version of Maven. @ line 24, column 17
> | [ERROR]
> | [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> | [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> | [ERROR]
> | [ERROR] For more information about the errors and possible solutions, please read the following articles:
> | [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> | [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: /home/herve/local/.maven/apache-maven-3.6.3
> Java version: 11.0.7, vendor: AdoptOpenJDK, runtime: /home/herve/local/.jdk/jdk-11.0.7+10
> {noformat}
> and
> {noformat}[INFO] Building: fail-build-streamLogsOnFailures/pom.xml
> [INFO] run post-build script verify.groovy
> [INFO] The post-build script did not succeed. assert buildLog.contains( buildLogOfProject )
> | | |
> | false [INFO] Scanning for projects...
> | [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> | [ERROR] Malformed POM /home/herve/tmp/maven-invoker-plugin-3.2.2/target/it/fail-build-streamLogsOnFailures/target/it/project/pom.xml: Unrecognised tag: 'invalidElementShouldFailBuild' (position: START_TAG seen ...</properties>\r\n\r\n <invalidElementShouldFailBuild/>... @34:35) @ /home/herve/tmp/maven-invoker-plugin-3.2.2/target/it/fail-build-streamLogsOnFailures/target/it/project/pom.xml, line 34, column 35
> | [FATAL] 'modelVersion' of '99.0.0' is newer than the versions supported by this version of Maven: [4.0.0]. Building this project requires a newer version of Maven. @ line 24, column 17
> | @
> | [ERROR] The build could not read 1 project -> [Help 1]
> | [ERROR]
> | [ERROR] The project test:fail-build:0.1-SNAPSHOT (/home/herve/tmp/maven-invoker-plugin-3.2.2/target/it/fail-build-streamLogsOnFailures/target/it/project/pom.xml) has 2 errors
> | [ERROR] Malformed POM /home/herve/tmp/maven-invoker-plugin-3.2.2/target/it/fail-build-streamLogsOnFailures/target/it/project/pom.xml: Unrecognised tag: 'invalidElementShouldFailBuild' (position: START_TAG seen ...</properties>\r\n\r\n <invalidElementShouldFailBuild/>... @34:35) @ /home/herve/tmp/maven-invoker-plugin-3.2.2/target/it/fail-build-streamLogsOnFailures/target/it/project/pom.xml, line 34, column 35 -> [Help 2]
> | [ERROR] 'modelVersion' of '99.0.0' is newer than the versions supported by this version of Maven: [4.0.0]. Building this project requires a newer version of Maven. @ line 24, column 17
> | [ERROR]
> | [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> | [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> | [ERROR]
> | [ERROR] For more information about the errors and possible solutions, please read the following articles:
> | [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> | [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: /home/herve/local/.maven/apache-maven-3.6.3
> Java version: 11.0.7, vendor: AdoptOpenJDK, runtime: /home/herve/local/.jdk/jdk-11.0.7+10
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)