Maven Install Plugin
  1. Maven Install Plugin
  2. MINSTALL-77

Checksum / timestamp check to allow install to assume previous successful completion

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: install:install
    • Labels:
      None
    • Environment:
      Windows
    • Number of attachments :
      0

      Description

      We have a large structured project with lots of components and artifacts (takes about 10 minutes to run mvn install from top of project). When doing refactoring and rebuilding from clean working pool, we will occasionally get through 7 or 8 minutes of building and have something at the end of the dependency tree fail.

      After fixing the affected artifact, we have two options – try to suss out what was not yet built and manually do those in appropriate order, or re-run mvn install from the project root.

      Obviously manually trying to complete the mvn install is error prone.

      Rerunning mvn install from the root takes a long time because even though it can skip compilation on all the previously built artifacts, it still re-runs the tests and re-packages and re-installs to the local repository.

      It would be great if mvn install checked the target directory, determined that its target existed in the working pool, checked that no dependencies (source files, resource files, test files, dependency artifacts) had newer timestamps and assumed that the target artifact was up to date. Then it could skip all compilation, test, packaging steps. It could check MD5 checksum against the local repository to determine whether the local file copy was needed (although it would be very odd that the test and packaging was all up to date but the actual file copy wasn't performed).

        Issue Links

          Activity

          Robert Scholte made changes -
          Field Original Value New Value
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Robert Scholte [ rfscholte ]
          Resolution Duplicate [ 3 ]
          Robert Scholte made changes -
          Link This issue duplicates MINSTALL-39 [ MINSTALL-39 ]

            People

            • Assignee:
              Robert Scholte
              Reporter:
              Brien Wheeler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: