title: Full search and replace of strings in source files when copying resources
body: <p>I have some java source files that use a package prefix (they are emulating some JDK classes).  I use these files with the prefix to run against some unit tests.  If the tests pass I want to produce a jar that contains the source files but with the package prefix removed from all the java files.</p>
  
  <p>I am using maven for builds. Does any one know of a way to do this? Essentially what I want is something like the resources plugin filtering feature, but that does proper search and replace (like: s/my.package.prefix.//g), rather than filtering on ${vars}.</p>