You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2020/04/14 20:07:00 UTC

[jira] [Closed] (MNG-4660) Use of --resume-from in multi-module project fails with missing inter-module dependencies

     [ https://issues.apache.org/jira/browse/MNG-4660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MNG-4660.
-------------------------------
    Fix Version/s: 3.7.0
       Resolution: Fixed

Fixed in [ec92934bf08f11e8541e897c0f466f1f03c73a78|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=ec92934bf08f11e8541e897c0f466f1f03c73a78] with integration test in [8c109b34977dc896698e9074e3656fa01f22b997|https://gitbox.apache.org/repos/asf?p=maven-integration-testing.git;a=commit;h=8c109b34977dc896698e9074e3656fa01f22b997]
Thanks for the PRs!

> Use of --resume-from in multi-module project fails with missing inter-module dependencies
> -----------------------------------------------------------------------------------------
>
>                 Key: MNG-4660
>                 URL: https://issues.apache.org/jira/browse/MNG-4660
>             Project: Maven
>          Issue Type: Bug
>          Components: Reactor and workspace
>    Affects Versions: 2.2.1, 3.0-beta-1
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.6.0_17
> Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x" version: "10.6.3" arch: "x86_64" Family: "mac"
>            Reporter: Brian Ferris
>            Assignee: Robert Scholte
>            Priority: Major
>             Fix For: 3.7.0
>
>         Attachments: modules-parent.tar.gz
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> In a simple multi-module project with a parent pom "modules-parent", two sub modules "module-a" and "module-b", where B depends on A, I've not been able to get the Maven "--resume-from" feature to work.
> Specifically, I expect:
> > mvn --resume-from module-b test
> would resume execution of the "test" goal in "module-b".  Instead it fails with a missing artifact error:
> > [INFO] Failed to resolve artifact.
> > 
> > Missing:
> > ----------
> > 1) org.test:module-a:jar:0.0.1-SNAPSHOT
> Why isn't Maven resolving the within-multi-module dependency?  I've attached a simple project that reproduces the problem with Maven 2.2.1 and Maven 3.0-beta-1.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)