When jars are hosted on maven repos, we are all good. When we have to edit a jar, this is the strategy.
- Submit a bug/patch to the software (do this in any case)
Try to replace an interface or implementation in the jar
- If there is no way to replace an implementation, get the source, recompile, but change the package to a grouper specific package. e.g. from org.hibernate to edu.internet2.middleware.grouper.jarExt.org.hibernate, host on sonatype as a grouper jar for that software. Refactor grouper source to use that package
- If it doesnt work to change the package, just compile the jar and host on sonatype