Maven
  1. Maven
  2. MNG-3259

Regression: Maven drops dependencies in multi-module build

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.7, 2.0.8, 3.0-alpha-1
    • Fix Version/s: 2.0.9
    • Component/s: Dependencies
    • Labels:
      None

      Description

      Under some circumstances Maven "forgets" about test dependencies in multi-module builds. The affected module can be build only if the build is started from its local project directory. If the build is run from a parent directory, the test fails because of missing classes. This issue applies to M207 and recent M208-RC1, the project can be build without problems with M205 (M206 is completely bogus). The problem was for us already the show stopper for M207 and I thought with some of the now resolved issues it has been gone, but I was wrong. I did not report it earlier, because I was never able to reproduce the problem with a minimal build ... until now and it took me about 3 days to create a demonstrating multi module project.

      1. MNG-3259.zip
        23 kB
        Joerg Schaible
      2. MNG-3259-2.zip
        23 kB
        Joerg Schaible

        Issue Links

          Activity

          Mark Thomas made changes -
          Workflow jira [ 12950501 ] Default workflow, editable Closed status [ 12986710 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Workflow jira [ 12713713 ] Default workflow, editable Closed status [ 12753476 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Shane Isbell made changes -
          Fix Version/s 2.0.9 [ 13801 ]
          Shane Isbell made changes -
          Fix Version/s 2.0.9 [ 13801 ]
          Affects Version/s 2.0.7 [ 13138 ]
          Affects Version/s 2.0.8 [ 13139 ]
          Shane Isbell made changes -
          Affects Version/s 2.0.8 [ 13139 ]
          Affects Version/s 3.0-alpha-1 [ 13143 ]
          Affects Version/s 2.0.7 [ 13138 ]
          Shane Isbell made changes -
          Link This issue is depended upon by MNG-3829 [ MNG-3829 ]
          John Casey made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          John Casey made changes -
          Assignee Brian Fox [ brianfox ] John Casey [ jdcasey ]
          Brian Fox made changes -
          Fix Version/s 2.0.8 [ 13139 ]
          Fix Version/s 2.0.9 [ 13801 ]
          Joerg Schaible made changes -
          Link This issue relates to MNG-2962 [ MNG-2962 ]
          Brian Fox made changes -
          Remaining Estimate 0h [ 0 ]
          Time Spent 5h [ 18000 ]
          Joerg Schaible made changes -
          Attachment MNG-3259-2.zip [ 30217 ]
          Brian Fox made changes -
          Fix Version/s 2.0.8 [ 13139 ]
          Brian Fox made changes -
          Assignee Brian Fox [ brianfox ]
          Joerg Schaible made changes -
          Field Original Value New Value
          Attachment MNG-3259.zip [ 30135 ]
          Joerg Schaible created issue -

            People

            • Assignee:
              John Casey
              Reporter:
              Joerg Schaible
            • Votes:
              6 Vote for this issue
              Watchers:
              6 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 - 5h
                5h

                  Development