You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/02/09 13:13:43 UTC

[GitHub] [maven] gnodet commented on pull request #443: MNG-7087 - Fix problem in the build

gnodet commented on pull request #443:
URL: https://github.com/apache/maven/pull/443#issuecomment-775925742


   > > @michael-o The problems fixed by this PR are unrelated to the consumer/producer bug (the duplicate id is a pure validation problem because the rules have changed in 4.0 and the rat one is related to new dependencies I think).
   > > But these are clearly under [MNG-7087](https://issues.apache.org/jira/browse/MNG-7087).
   > 
   > That's correct, but then I fixed the validation problem I was not able to reproduce the concurrency issue anymore. I tried Java 11 to 15.
   
   That's weird.  I just rebuilt this very branch with maven 3 and then tried to use the create distribution to build maven.  It fails very early
   ```
   ➜  maven git:(fix-build) ~/tmp/apache-maven-4.0.0-alpha-1-SNAPSHOT/bin/mvn -v
   Apache Maven 4.0.0-alpha-1-SNAPSHOT (fc9e66c1ed04165a420c8a78e4555e3b4f999361)
   Maven home: /Users/gnodet/tmp/apache-maven-4.0.0-alpha-1-SNAPSHOT
   Java version: 11.0.10, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
   Default locale: en_GB, platform encoding: UTF-8
   OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
   ➜  maven git:(fix-build) ~/tmp/apache-maven-4.0.0-alpha-1-SNAPSHOT/bin/mvn install -DskipTests   
   [INFO] Scanning for projects...
   ERROR:  ''
   [ERROR] [ERROR] Some problems were encountered while processing the POMs:
   [FATAL] input contained no data
   [ERROR] The build could not read 1 project -> [Help 1]
   [ERROR]   
   [ERROR]   The project (/Users/gnodet/work/git/maven/maven-model-builder/pom.xml) has 1 error
   [ERROR]     input contained no data
   [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
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org