-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Maven settings.xml supports value interpolation as described in https://maven.apache.org/settings.html However, the settings.xml parser in JBoss Modules' class MavenSettings doesn't.
Which means that if user's settings.xml contains e.g. <localRepository>${user.home}/.mvnrepository</localRepository>, resolving resources from Maven artifacts (and probably a host of other things) doesn't work.
Also noting that this isn't a fictional scenario – the default Maven settings.xml in OpenShift.io contains exactly that: https://github.com/fabric8io/fabric8-team-components/blob/master/jenkins-openshift/src/main/fabric8/jenkins-maven-settings-secret.yml