On Fri, Nov 5, 2010 at 9:36 PM, Salgar, Mehmet (external) <[email protected]> wrote: > Hi everybody, > > I have a question about how to replace a class in a dependency jar after > a bug fix.... > > I made a fix for a class in a framework that is not developed from us, > now during our build process I like to place patched class inside of > original dependency.... > > So my question is there a maven plugin for this purpose....I know, I can > do this with maven ant plugin but I hoping may be there is a better > way...
The short answer is, No. Doing it that way is just asking for a world of pain. The correct way is to provide the patch back to the original project and then get a new release cut. While you wait for that to happen, create an internal release of that project that contains your patch. Following something like http://docs.codehaus.org/display/MAVENUSER/Patching+Maven+Plugins (but it will be simpler since you are not patching a plugin) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
