Maven configuration in Jenkins | Manage Jenkins -> Global Tool Configuration -> Maven Configuration

162 views
Skip to first unread message

Deb

unread,
Mar 31, 2017, 10:36:01 PM3/31/17
to Jenkins Users
Manage Jenkins -> Global Tool Configuration -> Maven Configuration gives me these two options:

Default settings provider 
Default global settings provider

Both the above options ask for using default Maven settings or using settings file in file system.

Can anyone help me to understand the options? 



Stephen Connolly

unread,
Apr 1, 2017, 10:29:48 AM4/1/17
to jenkins...@googlegroups.com
On Sat 1 Apr 2017 at 03:36, Deb <debu...@gmail.com> wrote:
Manage Jenkins -> Global Tool Configuration -> Maven Configuration gives me these two options:

Default settings provider 

The one that controls the -s 

Default global settings provider

The one that controls the -gs (if I remember correctly


Both the above options ask for using default Maven settings or using settings file in file system.

Can anyone help me to understand the options? 

Maven has two layers of settings file.

Global is the "system" defaults and would be used on eg a multiuser system to define the proxies

Regular settings is the one that gets layered on top and would typically have your usernames and passwords for servers... but could also have proxies and mirrors if you have good reason to avoid the system defaults

On a single user system, most people don't change the global settings, so not normally a concern as there are not too many multi-tenant systems in these days of docker etc




--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bb5faba7-9924-4816-8f7f-858f216fe9d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my phone
Reply all
Reply to author
Forward
0 new messages