[ https://issues.apache.org/jira/browse/MJAR-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Heinz Marbaise updated MJAR-107: ------------------------------------- Fix Version/s: waiting-for-feedback > [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 > Issue Type: Wish > Affects Versions: 2.2 > Reporter: Christian Schulte > Priority: Blocker > Fix For: waiting-for-feedback > > 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 (v6.3.4#6332)