Is there any way to check all dependencies are downloadable from at least one listed repository?
I was once omitted a required repository from my pom.xml. But maven didn't complain because those dependencies already had been installed in my local repository (~/.m2/repository).
That could be a problem for CI or on another fresh machine.
So I currently using a shell script which removes all dependencies from ~/.m2 and build maven.
Say...
#!/bin/sh
rm -rf ~/.m2/repository/{my/required/dependencies/group}
maven clean compile
I don't think this is a smart way but it works. :)
Do I have to make a plugin by myself for that?