apache / apache/maven-shade-plugin

[MSHADE-272] Option to preserve source timestamps

Open
#635 0 comments 0 reactions 0 assignees View on GitHub
priority:minor
Dominant language
Java
Stars
188
Forks
103
Avg merge
16h 39m
Merged PRs (30d)
4

Description

**[Philip Aston](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=philipa@mail.com)** opened **[MSHADE-272](https://issues.apache.org/jira/browse/MSHADE-272?redirect=false)** and commented

Please add an option to preserve the source timestamps of files.

Not doing so causes a significant issue when packaging Clojure projects, since Clojure uses the timestamps to determine whether to dynamically recompile code. See:

- http://mail-archives.apache.org/mod_mbox/maven-users/201310.mbox/%3CCAAuB-epb4cdpUYmGEPu7tHsB2bqCUjmgmnm1B4h1Ucmyr+UhVw@mail.gmail.com%3E

- https://groups.google.com/d/msg/clojure/12BOjg1KsWA/8DIobmb2EwAJ

---

**Affects:** 3.1.0

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no source files, tests, or entry points. Begin by tracing how the Maven Shade Plugin packages files and find existing option or configuration tests; completion should include an opt-in way to preserve source timestamps, with the behavior verified by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.