I'm using the artifactory plugin in a Jenkinsfile to drive my maven build:

```
def goals = "clean install"
def artifactory = Artifactory.server 'artifactory'

configFileProvider([configFile(fileId: 'simple-maven-settings', variable: 'MAVEN_USER_SETTINGS')]) {
    def mavenRuntime = Artifactory.newMavenBuild()
    mavenRuntime.tool = 'maven350'
    mavenRuntime.resolver server: artifactory, releaseRepo: '…', snapshotRepo: '…'
    mavenRuntime.deployer server: artifactory, releaseRepo: '…', snapshotRepo: '…'

    def buildInfo = mavenRuntime.run pom: 'pom.xml', goals: "-B -s ${MAVEN_USER_SETTINGS} ${goals}".toString()

```

This works fine but maven uses the default, shared location ~/.m2/repository

I want to reproduce the behavior I had before moving to pipeline and give each job its own local repository.

I do not find any setting for that…
How should I proceed?