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

compile and package should be reactor-aware

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.0-beta-1
    • Plugins and Lifecycle
    • None
    • any

    Description

      When compiling or packaging a project consisting of subprojects
      where one depends on another, maven should first check the build environment
      for existing jars or classes (in target/ directories) from the dependent subproject,
      rather than always looking in the local and remote repositories for jar artifacts.

      Attached is a very simple test-case with 2 subprojects, where one depends
      on the other.

      Only m2 install works; m2 compile and m2 package should also work.

      Attachments

        1. m2test.tgz
          0.5 kB
          kenneyw

        Issue Links

          Activity

            People

              brett Brett Porter
              kenney Kenney Westerhof
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h