I have a dependency for a jar file which is already in my .m2 directory. But when I compile pom.xml with maven, instead of looking up for that jar in local .m2 repository it refers to one in setting.xml. Why that happens?
Thanks.
I have a dependency for a jar file which is already in my .m2 directory. But when I compile pom.xml with maven, instead of looking up for that jar in local .m2 repository it refers to one in setting.xml. Why that happens?
Thanks.