[MNG-5659] Provide project-specific settings located in ${session.rootdir}/.mvn/settings.xml by default#1059
Conversation
a0e1e25 to
641cdc6
Compare
|
|
|
Can |
641cdc6 to
58d4e65
Compare
58d4e65 to
6dee758
Compare
cstamas
left a comment
There was a problem hiding this comment.
While I like this, I'd generalize the approach (maybe no now) in similar way like "chained LRM" works. Example:
-s remains as today "user settings override"
And "settings tail" is s1, s2, s3.... global setting (that also can be overridden from CLI). And this list is ordered from "most dominant" to "most recessive", meaning, that even settings builder could be modified to make a for-loop to build effective settings in this order:
"user settings", s1, s2, s3.... "global settings"
…tdir}/.mvn/settings.xml by default
945bdb2 to
fe5bf55
Compare
|
Resolve #6464 |
This add support for project specific settings using:
${session.rootDirectory}/.mvn/settings.xml-psor--project-settingsand resolved against the current dir if provided with a relative pathNote that project settings have some limitations:
localRepositoryinteractiveModeofflineproxiesserver[x].username,server[x].password,server[x].privateKey,server[x].passphrase,server[x].filePermissions,server[x].directoryPermissionsusePluginRegistrySimple IT provided with apache/maven-integration-testing#265
===
Related discussions to be considered (but note that this PR does not depend on the following):