You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ernst Reissner (Jira)" <ji...@apache.org> on 2023/06/28 10:30:00 UTC
[jira] [Created] (MDEP-877) goal unpack: ignores path in includes/excludes
Ernst Reissner created MDEP-877:
-----------------------------------
Summary: goal unpack: ignores path in includes/excludes
Key: MDEP-877
URL: https://issues.apache.org/jira/browse/MDEP-877
Project: Maven Dependency Plugin
Issue Type: New Feature
Components: unpack
Affects Versions: 3.6.0
Reporter: Ernst Reissner
in my jar i have files
- .latexmkrc and
- raw/.latexmkrc
I want to extract only .latexmkrc
So I configure:
```
<artifactItem>
<groupId>eu.simuline.m2latex</groupId>
<artifactId>latex-maven-plugin</artifactId>
<version>${versionLatexPlugin}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${latexDir}</outputDirectory>
<includes>.latexmkrc, .chktexrc</includes>
<fileMappers>
<org.codehaus.plexus.components.io.filemappers.IdentityMapper />
</fileMappers>
</artifactItem>
```
But what is extracted is still raw/.latexmkrc.
Even if i add `<excludes>raw/.latexmkrc</excludes>` this does not help.
I have the impression, the config just ignores all but the file name.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)