[ 
https://issues.apache.org/jira/browse/MINVOKER-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284475#comment-17284475
 ] 

Herve Boutemy commented on MINVOKER-278:
----------------------------------------

did you run from source-release.zip?
notice that the last specific thing I did is run with CRLF line separator, 
which perhaps creates a particular situation...
see mvncrlf 
https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/mvncrlf

once the release will be in Central, it will be easy to test from Reproducible 
Central buildspec and Docker config: let's wait a little bit and we'll see

> 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)

Reply via email to