I have an external .jar that cannot be imported from public repositories using pom.xml, it\'s sqljdbc41.jar.
sqljdbc41.jar
I can run the project locally from my IDE,
In my case, the fault was providing a version number without "dot" in tag:
jdk.tools jdk.tools system 1 ${basedir}/src/main/resources/lib/tools.jar
This one works:
jdk.tools jdk.tools system 1.8 ${basedir}/src/main/resources/lib/tools.jar