adding this to my settings.xml file in my .m2 folder <mirrorOf>*,!local-repo</mirrorOf> fixed the issue locally though sadly didn't work for my Jenkins build
<mirrorOf>*,!local-repo</mirrorOf>