Skip to content

[MNG-4660] Use of --resume-from in multi-module project fails with missing inter-module dependencies #6417

@jira-importer

Description

@jira-importer

Brian Ferris opened MNG-4660 and commented

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.


Affects: 2.2.1, 3.0-beta-1

Attachments:

Issue Links:

  • MNG-7099 Can not resume build without installing the artifacts
    ("is duplicated by")

  • MNG-7527 Resolving inter-module dependencies does not work like expected
    ("causes")

  • MNG-7024 Directory instead of file in an artifact

  • MNG-6160 Forking process not always aware of reactor projects
    ("is depended upon by")

Remote Links:

Backported to: 4.0.0-alpha-2

5 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions