apache / apache/maven-dependency-plugin

[MDEP-877] goal unpack: ignores path in includes/excludes

Open
#1,381 1 comment 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
175
Forks
196
Avg merge
19h 30m
Merged PRs (30d)
5

Description

**[Ernst Reissner](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ernstreissner)** opened **[MDEP-877](https://issues.apache.org/jira/browse/MDEP-877?redirect=false)** and commented

in my jar i have files
- .latexmkrc and
- raw/.latexmkrc

I want to extract only .latexmkrc
So I configure:

```

eu.simuline.m2latex
latex-maven-plugin
${versionLatexPlugin}
jar
true
${latexDir}
.latexmkrc, .chktexrc




```

But what is extracted is still raw/.latexmkrc.
Even if i add `raw/.latexmkrc` this does not help.
I have the impression, the config just ignores all but the file name.

---

**Affects:** 3.6.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the goal unpack configuration from the issue with an archive containing .latexmkrc and raw/.latexmkrc, then trace how the includes and excludes patterns are applied. Done means the root .latexmkrc is extracted while raw/.latexmkrc is not, including when the explicit exclude is present.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.