Hi Paul,

Revision
    9912 <http://fisheye.codehaus.org/changelog/mojo/?cs=9912>
Author
    pgier
Date
    2009-06-04 09:21:25 -0500 (Thu, 04 Jun 2009)


      Log Message

[MBUILDHELPER-4 
<http://jira.codehaus.org/secure/ViewIssue.jspa?key=MBUILDHELPER-4>] Add mojos 
to allow resources to be added to a build.

[...]
+    public void execute()
+        throws MojoExecutionException
+ { + for ( int i = 0; i < resources.length; ++i )
+        {
+            this.project.addResource( resources[i] );

The directory element of the Resource is of type String and as such subject to relative path bugs [0]. For proper behavior, the paths would need to be aligned to the project's base directory.


Benjamin


[0] http://maven.apache.org/plugin-developers/common-bugs.html#Resolving_Relative_Paths


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to