How do I change the URI (URL) for a remote Git repository? I had to do this on an old version of git (1 5 6 5) and the set-url option did not exist Simply deleting the unwanted remote and adding a new one with the same name worked without problem and maintained history just fine
How do I get Maven to use the correct repositories? The default is to look in your local m2 folder (local repository), and then any configured repositories in your POM, and then the central maven repository Look at the repositories section of the Maven reference
How to add custom method to Spring Data JPA - Stack Overflow Define in you regular @Repository interface, e g , MyEntityRepository, the custom methods (in addition to your Spring Data methods) Create a class MyEntityRepositoryImpl (the Impl suffix is the magic) anywhere (doesn't even need to be in the same package) that implements the custom methods only and annotate such class with @Component