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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17025910#comment-17025910 ] 

Hudson commented on MNG-4660:
-----------------------------

Build succeeded in Jenkins: Maven TLP » maven-site » master #188

See https://builds.apache.org/job/maven-box/job/maven-site/job/master/188/

> 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
>            Priority: Major
>         Attachments: modules-parent.tar.gz
>
>          Time Spent: 50m
>  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)