[
https://issues.apache.org/jira/browse/MINVOKER-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17277482#comment-17277482
]
Sylwester Lachiewicz commented on MINVOKER-261:
-----------------------------------------------
This message is from maven-invoker lib:
[https://github.com/apache/maven-invoker/blob/maven-invoker-3.0.1/src/main/java/org/apache/maven/shared/invoker/MavenCommandLineBuilder.java#L541]
> Confusing error message
> -----------------------
>
> Key: MINVOKER-261
> URL: https://issues.apache.org/jira/browse/MINVOKER-261
> Project: Maven Invoker Plugin
> Issue Type: Bug
> Reporter: Elliotte Rusty Harold
> Priority: Minor
> Fix For: 3.2.2
>
>
> It took me a while to figure this one out:
> java.lang.IllegalStateException: ${maven.home} is not specified as a
> directory: '/Cellar/maven/3.6.0/bin'.
>
> Better message:
> ${maven.home} is set to '/Cellar/maven/3.6.0/bin' which does not exist
> or perhaps
> ${maven.home} is set to '/Cellar/maven/3.6.0/bin' which is not a directory
--
This message was sent by Atlassian Jira
(v8.3.4#803005)