[
https://jira.codehaus.org/browse/MDEP-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=324917#comment-324917
]
Herve Boutemy commented on MDEP-410:
------------------------------------
we can add such text in goal documentation, but Maven itself won't be able to
give a nice message: the minimum Maven version is checked at global plugin
level.
I didn't precisely test to see the error message when it will run with Maven 2,
I suppose this will be something like NPE: did you try?
If we get an NPE, we probably can improve the code to report a nice message
> dependency:resolve fails for a multi-module project where one module depends
> on another and "mvn install" not run yet
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: MDEP-410
> URL: https://jira.codehaus.org/browse/MDEP-410
> Project: Maven 2.x Dependency Plugin
> Issue Type: Bug
> Components: resolve
> Affects Versions: 2.7
> Environment: Linux
> Reporter: Eric Pabst
> Attachments: MDEP-410-maven-plugins-aggregator.diff,
> MDEP-410-maven-plugins-aggregator.patch
>
>
> When I run dependency:tree on a multi-module project without having run a
> "mvn install", it fails with this error: {noformat}
> [ERROR] Failed to execute goal on project slide-test-module-svn-2: Could not
> resolve dependencies for project
> org.slide:slide-test-module-svn-2:jar:1.1-SNAPSHOT: The following artifacts
> could not be resolved: org.slide:slide-test-module-svn-3:jar:1.1-SNAPSHOT,
> org.slide:git-component-for-testing-slide:jar:1.0.b1782: Could not find
> artifact org.slide:slide-test-module-svn-3:jar:1.1-SNAPSHOT in maven-central
> -> [Help 1]
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira