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

Matthias Bünger commented on MJAR-107:
--------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-jar-plugin#280|https://github.com/apache/maven-jar-plugin/issues/280].
 

> [PATCH] Need the ability to include/exclude files based on output from other 
> mojos.
> -----------------------------------------------------------------------------------
>
>                 Key: MJAR-107
>                 URL: https://issues.apache.org/jira/browse/MJAR-107
>             Project: Maven JAR Plugin (Moved to GitHub Issues)
>          Issue Type: Wish
>    Affects Versions: 2.2
>            Reporter: Christian Schulte
>            Priority: Blocker
>         Attachments: MJAR-107.patch
>
>
> Using various mojos to generate sources (JAXB,xmlbeans,castor,etc.) I would 
> need the ability to let those mojos (or my own) specify a list of excludes 
> for the jar mojo to not include all generated class files in the final jar 
> file. I attached a patch which introduces two new mojo parameters 
> includesFile and excludesFile which may point to textfiles containing 
> includes or excludes to be used by the jar mojo. This way it is possible to 
> let other mojos write those files and somehow configure the jar mojo that 
> way. I did not find another solution to let mojos introduce such 
> configuration of the jar mojo in another way. Any other solution highly 
> appreciated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to