I am pretty confused on how maven knows which repository to go for an artifact
Using mvn deploy, i installed following to my artifactory
I see that when I build my project, it always tries to find it only in http://serverName/artifactory/ext-release-local/
(no matter what) . Since above has been published to ext-snapshot-local, maven errors out
I thought it will try to find it in all the repositories defined before erroring out
How does it know for a given artifact which repo it has to go to?
How does it distinguish the snapshot or release repo?