Thanks, I’ve spent several hours trying to figure out how to add the GitHub credentials but it’s still not working so maybe I’ve not done it correctly!
I’ve created an SSH key/passphrase in GitHub and added this to the maven settings.xml file as per the link you gave. The GitHub SSH connection works (tested as per https://docs.github.com/en/github/authenticating-to-github/testing-your-ssh-connection) but I still get the same error when I try to do the build.
I wasn’t sure what to put in the repositories section of the maven settings file, so maybe this is the issue. I put the following:
<repositories>
<repository>
<id>com.graphhopper</id>
<name>com.graphhopper</name>
<url>https://mvnrepository.com/artifact/com.graphhopper</url>
<layout>default</layout>
<snapshotPolicy>always</snapshotPolicy>
</repository>
</repositories>
Any other suggestions?