Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4660

Use of --resume-from in multi-module project fails with missing inter-module dependencies

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1, 3.0-beta-1
    • 4.0.0-alpha-1, 4.0.0
    • Reactor and Workspace
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rfscholte Robert Scholte
            bdferris@gmail.com Brian Ferris
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m

                Slack

                  Issue deployment