Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-7090

Files in release jars do not have a modification timestamp set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 9.8.0, 9.9.0, 9.10.0, 9.11.0, 9.12.0, 9.13.0, 9.14.0, 9.15.0, 9.16.0
    • 10.0.0
    • release
    • None

    Description

      Starting with 9.8.0, the release jars are built with file entries without a last modification timestamp. This can cause issues if LastModifiedResourceVersion used for the resourceCachingStrategy. The browser may be using an older version of the resource, even if a newer version is available. This strategy is normally only used in development mode, but even then this can cause unexpected behavior.

      As discussed on the dev list, the best we can do is to set the last modification timestamp to fixed time during the release, as git doesn't track this. A suggestion is to useĀ  the project.build.outputTimestamp property: https://maven.apache.org/guides/mini/guide-reproducible-builds.html

      Attachments

        Issue Links

          Activity

            People

              papegaaij Emond Papegaaij
              papegaaij Emond Papegaaij
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: