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

    Resolution: Fixed

Use MavenProjectHelper.addResource( MavenProject project, String dir, List 
includes, List excludes)

expression for this helper class as a mojo param is:

${component.org.apache.maven.project.MavenProjectHelper}

> new method: addResource( String directory, String includes, String excludes ) 
> on MavenProject
> ---------------------------------------------------------------------------------------------
>
>          Key: MNG-741
>          URL: http://jira.codehaus.org/browse/MNG-741
>      Project: Maven 2
>         Type: Improvement
>     Reporter: Jesse McConnell
>  Attachments: add_resource_maven_project.patch
>
>
> in the sablecc plugin I have a case of *.dat files getting created that need 
> to get jared up with the actual project so I needed to add them as a resource 
> to the project...since the plugin developers should have to have a minimal 
> exposure to internals of maven I added this method to MavenProject as a 
> convience method...also means I have one less dependency that the plugin 
> itself needs to reference...whichever one model is a part of.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to