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

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


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


      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


          Brien Wheeler created issue -
          Robert Scholte made changes -
          Field Original Value New Value
          Resolution Duplicate [ 3 ]
          Assignee Robert Scholte [ rfscholte ]
          Status Open [ 1 ] Closed [ 6 ]
          Robert Scholte made changes -
          Link This issue duplicates MINSTALL-39 [ MINSTALL-39 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 10:26:11 UTC 2015 [ 1428229571122 ]
          Mark Thomas made changes -
          Workflow jira [ 12721678 ] Default workflow, editable Closed status [ 12751160 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 00:00:18 UTC 2015 [ 1428278418685 ]
          Mark Thomas made changes -
          Workflow jira [ 12959145 ] Default workflow, editable Closed status [ 12996062 ]


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


              • Created: