[PATCH] Need the ability to include/exclude files based on output from other 
mojos.
-----------------------------------------------------------------------------------

                 Key: MJAR-107
                 URL: http://jira.codehaus.org/browse/MJAR-107
             Project: Maven 2.x Jar Plugin
          Issue Type: Wish
    Affects Versions: 2.2
            Reporter: Christian Schulte
            Priority: Blocker


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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to