I have the following in .m2 by disabling remote repo by default:
<?xml version="1.0" encoding="UTF-8"?> <settings> <mirrors> <mirror> <id>my.mirror</id> <name>My Mirror</name> <url>https://repo.maven.apache.org/alwaysfail</url> <mirrorOf>*</mirrorOf> </mirror> </mirrors>
Now I added this to my pom.xml project
<repositories> <repository> <id>myproject.repo</id> <url>https://repo.maven.apache.org/maven2</url> </repository> </repositories>
But he does not pick up my remote project specific repo and starts the download, what am I doing wrong?
source share