Konrad Windszus created MSHARED-1414: ----------------------------------------
Summary: 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 Reporter: Konrad Windszus In case your {{settings.xml}} uses interpolation 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) Seems that https://github.com/apache/maven-verifier/commit/ebdaa27becd3a9a886a6fff5a2efcf6fc4f0d6a7 might be related although the relation of {{user.home}} and {{user.dir}} properties is not clear to me. -- This message was sent by Atlassian Jira (v8.20.10#820010)