jira-importer opened a new issue, #176:
URL: https://github.com/apache/maven-verifier/issues/176

   **[Konrad 
Windszus](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kwin)** 
opened 
**[MSHARED-1414](https://issues.apache.org/jira/browse/MSHARED-1414?redirect=false)**
 and commented
   
   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
   
   ```
   <?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>
   ```
   
   leads to creation of the following directories **inside** the working 
directory:
   
   1. ${user.home}/.m2/tmp-repository (empty)
   2. Users/\<my user home dir>/.m2/tmp-repository (containing the relevant 
local repo)
   
   
   
   ---
   
   **Affects:** maven-verifier-1.8.0
   
   **Issue Links:**
   - [MSHARED-1147](https://issues.apache.org/jira/browse/MSHARED-1147) 
Inconsistent for settingsFile argument - Maven local repository detecting
   
   
   **Remote Links:**
   - [GitHub PR
   ](https://github.com/apache/maven-verifier/pull/91)
   
   **Backported to:** 
[maven-verifier-2.0.0](https://github.com/apache/maven-verifier/milestone/12?closed=1)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to