[ 
https://jira.codehaus.org/browse/MDEP-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=324903#comment-324903
 ] 

Eric Pabst edited comment on MDEP-410 at 5/10/13 7:44 AM:
----------------------------------------------------------

Here is a patch or diff that includes adding a dependency:collect goal which 
only downloads the pom files, and works great in a multi-module project without 
running mvn install first.

A github pull request form of it is here: 
[https://github.com/epabst/maven-plugins/pull/2]

Please accept this fix or indicate where it is lacking.
                
      was (Author: epabst):
    Here is a patch or diff that includes adding a dependency:collect goal 
which only downloads the pom files, and works great in a multi-module project 
without running mvn install first.

A github pull request form of it is here: 
[https://github.com/epabst/maven-plugins/pull/1]

Please accept this fix or indicate where it is lacking.
                  
> 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: collect-mojo.diff, collect-mojo.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

Reply via email to