maven-dependency-plugin icon indicating copy to clipboard operation
maven-dependency-plugin copied to clipboard

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

Open jira-importer opened this issue 2 years ago • 1 comments

Ernst Reissner opened MDEP-877 and commented

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.


Affects: 3.6.0

jira-importer avatar Jun 28 '23 10:06 jira-importer

Karl Heinz Marbaise commented

It would be helpful to have a full working example...

jira-importer avatar Aug 11 '23 18:08 jira-importer