Uploaded image for project: 'Maven Invoker Plugin'
  1. Maven Invoker Plugin
  2. MINVOKER-278

IT failures when rebuilding 3.2.2 release

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.2.2
    • None
    • None

    Description

      rebuild is done on Linux using source-release.zip (done on Windows):

      [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
      

      and

      [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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            hboutemy Herve Boutemy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: