Skip to content

Timestamps inside the -all.jar are all 02-01-1980 #2517

@breedx-splk

Description

@breedx-splk

Follow-up issue from #2459

Timestamps of all the files inside the jar are all 02-01-1980.

Archive:  opentelemetry-javaagent-0.17.0-all.jar
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  02-01-1980 00:00   META-INF/
      461  02-01-1980 00:00   META-INF/MANIFEST.MF
        0  02-01-1980 00:00   META-INF/licenses/
    39254  02-01-1980 00:00   META-INF/licenses/licenses.md
        0  02-01-1980 00:00   META-INF/licenses/byte-buddy-1.10.18.jar/
        0  02-01-1980 00:00   META-INF/licenses/byte-buddy-1.10.18.jar/META-INF/
    10301  02-01-1980 00:00   META-INF/licenses/byte-buddy-1.10.18.jar/META-INF/LICENSE
      567  02-01-1980 00:00   META-INF/licenses/byte-buddy-1.10.18.jar/META-INF/NOTICE
        0  02-01-1980 00:00   META-INF/licenses/byte-buddy-agent-1.10.18.jar/
        0  02-01-1980 00:00   META-INF/licenses/byte-buddy-agent-1.10.18.jar/META-INF/
    10140  02-01-1980 00:00   META-INF/licenses/byte-buddy-agent-1.10.18.jar/META-INF/LICENSE
      567  02-01-1980 00:00   META-INF/licenses/byte-buddy-agent-1.10.18.jar/META-INF/NOTICE
<etc>

This is odd and misleading, and people sometimes want to actually know/verify times of certain files.

Ideally, even when being shaded, the files would retain their original timestamps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcontribution welcomeRequest makes sense, maintainers probably won't have time, contribution would be welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions