Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-16

Dependency plugin support for time check on artifacts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0-alpha-1
    • None
    • None

    Description

      When one or more dependent JARs are rebuilt, they are not being expanded. It is an either/or choice right now, to either overwrite for all JARs, or to delete the marker dir.

      Instead of checking if the marker exists, I tried a small change in DependencyUtils to check if the artifact is newer than the marker. This works great. Works for the copy mojo as well.

      A patch is attached.

      Attachments

        1. dependency-timecheck-patch.txt
          3 kB
          Shash Chatterjee

        Activity

          People

            brianf Brian E Fox
            chatterj Shash Chatterjee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: