Reputation: 69
does anyone knows how can I use the default maven settings and not the one which is defined in .m2/settings.xml, as this file has some other configurations which aren't suiting this project? I cloned a simple SpringBoot project, but can't find a solution of how to tell the project to not look on those settings from .m2/ and use the default ones.
Upvotes: 0
Views: 1226
Reputation: 563
In IntelliJ you can override the settings file used by the maven plugin under Settings > Build, Execution, Deployment > Build Tools > Maven
Upvotes: 0
Reputation: 35843
You can write a second settings.xml
(e.g. named second-settings.xml
) that is right for your project and use it with -s second-settings.xml
on the command line.
Upvotes: 1