Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven ignores settings.xml file

I have added proxy configuration in settigns.xml file, but it is not used by Maven, i confirmed this by making the settings.xml file invalid. I ran the maven install command to update settings and global-settings to point to the correct file, still no luck. I am using maven3.0.4.

like image 558
Shan Avatar asked Apr 06 '12 09:04

Shan


1 Answers

Try running Maven with the -X option. It should print as part of the debug output which settings file is being used.

Since you already tried it with an invalid file, I bet that something is wrong with the location of your file.

like image 106
nwinkler Avatar answered Oct 07 '22 11:10

nwinkler