You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2005/11/17 21:20:06 UTC

[jira] Closed: (MNG-1396) properties like "including/excluding filters" could be useful

     [ http://jira.codehaus.org/browse/MNG-1396?page=all ]
     
John Casey closed MNG-1396:
---------------------------

    Resolution: Fixed

NOTE: In the future, please make your patch files relative to the plugin project. Trimming C:\projects\m2\... from the patch file only hinders its application. Thanks.

Applied the patch, with some changes. Thanks for the contribution, Juraj.

This fix allows customized inclusions and exclusions of files to be added to the ejb-client jar. The patch had these parameters using a comma-delimited list, but I've changed them to work more like <resource/>'s, in that they use a list of single include/exclude patterns. The configuration will look like this:

<configuration>
  <clientIncludes>
    <clientInclude>**/ClientSession.class</clientInclude>
  </clientIncludes
  <clientExcludes>
    <clientExclude>**/ServerOnly.class</clientExclude>
  </clientExcludes>
</configuration>


> properties like  "including/excluding filters" could be useful
> --------------------------------------------------------------
>
>          Key: MNG-1396
>          URL: http://jira.codehaus.org/browse/MNG-1396
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-ejb-plugin
>     Versions: 2.0.1
>     Reporter: Juraj Burian
>     Assignee: John Casey
>      Fix For: 2.0.1
>  Attachments: maven-ejb-plugin.patch
>
> Original Estimate: 30 minutes
>        Time Spent: 30 minutes
>         Remaining: 0 minutes
>
> clientExcludes and clientIncludes properties are introduced in this patch (see. attachement).
> In my opinion it is helpful parametrisation of client jar creation.
> Usage:
> 			<plugin>
> 				<groupId>org.apache.maven.plugins</groupId>
> 				<artifactId>maven-ejb-plugin</artifactId>
> 				<configuration>
> 					<generateClient>true</generateClient>
> 					<clientExludes>**/*Bean.class,**/impl/**</clientExludes>
> 					<archive>
> 						<manifest>
> 							<addClasspath>true</addClasspath>
> 						</manifest>
> 					</archive>
> 				</configuration>
> 			</plugin>
> regards,
> JuBu

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org