You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (Jira)" <ji...@apache.org> on 2023/08/11 18:20:00 UTC

[jira] [Commented] (MDEP-877) goal unpack: ignores path in includes/excludes

    [ https://issues.apache.org/jira/browse/MDEP-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753303#comment-17753303 ] 

Karl Heinz Marbaise commented on MDEP-877:
------------------------------------------

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

> 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
>            Priority: Major
>
> 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)