[ https://issues.apache.org/jira/browse/MSHARED-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17856418#comment-17856418 ]
Slawomir Jaranowski commented on MSHARED-1414: ---------------------------------------------- I would like to consider remove at all parsing settings.xml - MSHARED-1147 and provide local repo by property > Verifier.retrieveLocalRepo() does not support interpolation > ----------------------------------------------------------- > > Key: MSHARED-1414 > URL: https://issues.apache.org/jira/browse/MSHARED-1414 > Project: Maven Shared Components > Issue Type: Bug > Components: maven-verifier > Affects Versions: maven-verifier-1.8.0 > Reporter: Konrad Windszus > Assignee: Konrad Windszus > Priority: Major > Fix For: maven-verifier-2.0.0 > > > In case your {{settings.xml}} uses expressions for the value of the > {{localRepository}} this is not correctly resolved in > https://github.com/apache/maven-verifier/blob/48aaff7cdb0c9766e820ce74eb0d548ea79d265c/src/main/java/org/apache/maven/it/Verifier.java#L828. > Having a {{settings.xml}} with the following contents > {code} > <?xml version="1.0" encoding="UTF-8"?> > <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"> > <localRepository>${user.home}/.m2/tmp-repository</localRepository> > </settings> > {code} > leads to creation of the following directories *inside* the working directory: > # ${user.home}/.m2/tmp-repository (empty) > # Users/<my user home dir>/.m2/tmp-repository (containing the relevant local > repo) -- This message was sent by Atlassian Jira (v8.20.10#820010)