Uploaded image for project: 'Maven Install Plugin'
  1. Maven Install Plugin
  2. MINSTALL-77

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


    • Type: Improvement
    • Status: Closed
    • Priority: 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



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


                • Created: