You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Zhongming Hua (Jira)" <ji...@apache.org> on 2024/09/30 16:16:00 UTC
[jira] [Commented] (MNG-8247) Calling mvn --builder=concurrent verify Fails
[ https://issues.apache.org/jira/browse/MNG-8247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17885962#comment-17885962 ]
Zhongming Hua commented on MNG-8247:
------------------------------------
[~khmarbaise] I tried the latest version and found the NPE had been fixed. If you find that the issue still exists, please let me know and reopen the issue at any time.
> Calling mvn --builder=concurrent verify Fails
> ---------------------------------------------
>
> Key: MNG-8247
> URL: https://issues.apache.org/jira/browse/MNG-8247
> Project: Maven
> Issue Type: Bug
> Components: Command Line, Core
> Affects Versions: 4.0.0-beta-4
> Reporter: Karl Heinz Marbaise
> Priority: Major
> Fix For: 4.0.0
>
>
> If I try to call Maven 4.0.0 via:
> {code}
> mvn --builder=concurrent verify
> {code}
> It fails with the following error:
> {code}
> [INFO] Scanning for projects...
> [INFO] --------------------------------------------------------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] --------------------------------------------------------------------------------------------------------------------------
> [INFO] Total time: 0.249 s
> [INFO] Finished at: 2024-09-07T13:43:00+02:00
> [INFO] --------------------------------------------------------------------------------------------------------------------------
> [ERROR] Cannot invoke "String.startsWith(String)" because "tmpResolvedPhase" is null
> [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}
> If a builder does not exist it should report like this:
> {code}
> $> mvn --builder=xxx verify
> [INFO] Scanning for projects...
> [INFO] --------------------------------------------------------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] --------------------------------------------------------------------------------------------------------------------------
> [INFO] Total time: 0.124 s
> [INFO] Finished at: 2024-09-07T13:44:44+02:00
> [INFO] --------------------------------------------------------------------------------------------------------------------------
> [ERROR] The builder requested using id = xxx cannot be found -> [Help 1]
> [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
> [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/BuilderNotFoundException
> {code}
> Seemed to be related to https://issues.apache.org/jira/browse/MNG-8225
--
This message was sent by Atlassian Jira
(v8.20.10#820010)