I am trying to add a jar file to the Maven dependency in my project. The settings.xml is configured to set the repository to a public repository. But this particular jar is not
Changing pom.xml worked for me (jar in "/lib" directory in the root project folder) :
com.google.code.gson gson 2.8.6 system ${project.basedir}/lib/gson-2.8.6.jar