Modifying SubModules

view story

http://stackoverflow.com – I have a project I am working on. I use a library that is on GitHub. Normally I have been using this library via Maven. However there are some bugs in the library so I would like to include this library in my repo so I can modify it. I then build the library myself. What is the best strategy for this? I have tried using sub modules, however this explains that it is not possible to modify the library in this way. (HowTos)