apache / apache/maven-assembly-plugin

[MASSEMBLY-939] META-INF services aggregating invalidates updateOnly

Open
#1,145 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
110
Forks
75
Avg merge
12h 54m
Merged PRs (30d)
10

Description

**[Robert James Oxspring](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=roxspring)** opened **[MASSEMBLY-939](https://issues.apache.org/jira/browse/MASSEMBLY-939?redirect=false)** and commented

When aggregating META-INF/services/ entries the merged entry effectively has a lastModified date of now. Consequently the \ logic always sees the sources as newer than the destination, and triggers unnecessary overwriting.

---

**Remote Links:**
- [GitHub Pull Request #32
](https://github.com/apache/maven-assembly-plugin/pull/32)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the linked Apache JIRA issue and GitHub pull request #32, then reproduce META-INF/services aggregation with updateOnly enabled. Verify how the merged entry’s lastModified value is determined and confirm that an up-to-date destination is no longer unnecessarily overwritten.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.