maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schulte (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MJAR-107) [PATCH] Need the ability to include/exclude files based on output from other mojos.
Date Mon, 26 May 2008 01:41:21 GMT

     [ http://jira.codehaus.org/browse/MJAR-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christian Schulte updated MJAR-107:
-----------------------------------

    Attachment: MJAR-107.patch

Patch adding includesFile and excludesFile parameters.

> [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
>         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 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

        

Mime
View raw message