Lenny Primak created MNG-8751:
---------------------------------

             Summary: Bad error message when unresolved expressions exist in POM
                 Key: MNG-8751
                 URL: https://issues.apache.org/jira/browse/MNG-8751
             Project: Maven
          Issue Type: Bug
    Affects Versions: 4.0.0-rc-4
         Environment: Any
            Reporter: Lenny Primak


Maven (master) is more strict with unresolved expressions.

However, the error message it gives when this happens is bad. There should be a 
better error message:
{code:java}
Invalid Collect Request: null -> {code}
{code:java}
[ERROR] Invalid Collect Request: null -> 
[jakarta.platform:jakarta.jakartaee-api:jar:10.0.0-lp-nov6 (provided), 
com.flowlogix.depchain:integration-test:pom:58 (test), 
org.slf4j:slf4j-api:jar:2.0.17 (provided), org.slf4j:slf4j-jdk14:jar:2.0.17 
(runtime?), fish.payara.arquillian:arquillian-payara-server-remote:jar:3.1 
(test), org.seleniumhq.selenium:selenium-java:jar:4.32.0 (test), 
org.seleniumhq.selenium:selenium-grid:jar:4.32.0 (test)] < [central-mirror 
(https://nexus.hope.nyc.ny.us/repository/maven-public-jitpack, default, 
releases)]
[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 verbose output
 {code}
Reproducer:
{code:java}
$ git clone https://github.com/flowlogix/selenium-test
$ git checkout ef31c7e20b98acbb6454bf6597a2b8009fe164a7
$ mvn package{code}
Maven version: 

*Apache Maven 4.0.0-rc-4-SNAPSHOT (f4c3fdd271caa33a80ccb0af776a5a4136b750bb)*

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to