maven - Full search and replace of strings in source files when copying resources -


I have some Java source files that use the package prefix (they are copying some JDK classes). I use these files with the prefix to run against some unit tests, if I want to produce a jar from the test that contains the source files but all the java files have been removed with the package prefix.

I'm using Maven for Builds Does anyone know how to do this? Basically what I want is something like the resource plug-in filtering feature, but it replaces and replaces $ {vars} rather than filtering properly (ex: s / my.package.prefix .// g).

You can also use

100 % Maven and are doing exactly what you are doing more


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -