gnodet commented on issue #867:
URL: https://github.com/apache/maven-mvnd/issues/867#issuecomment-1619177925

   > Otherwise I get this error:
   > 
   > ```
   > [ERROR] Some problems were encountered while processing the POMs
   > [ERROR] The build could not read 1 project -> [Help 1]
   > [ERROR]
   > [ERROR]   The project io.github.m-m-m:mmm-all:1.0.0-SNAPSHOT 
(D:\projects\mmm\workspaces\test\pom.xml) has 1 error
   > [ERROR]     'profiles.profile[ossrh].repositories.repository.[ossrh].url' 
contains an expression but should be a constant. @ io.github.m-m-m:mmm:17, 
C:\Users\hohwille\.m2\repository\io\github\m-m-m\mmm\17\mmm-17.pom, line 582, 
column 16
   > [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
   > ```
   > 
   > I rather consider this as a bug in maven 4.x
   
   This is a semantic validation rule, so definitely not a bug, even if that's 
new in maven 4.x, see https://issues.apache.org/jira/browse/MNG-7047.
   
   Here's my timings:
   * with maven 3.9.3: 10.5 s
   * with mvnd (latest master) and maven 3.9.3: 9.2 s
   * with maven 4.0.0-alpha-7: 12.3 s
   * with mvnd (latest mater) and maven 4.0.0-alpha-7: 10.7 s
   So mvnd is consistently faster than maven for me on subsequent runs.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to