Justin Ryan created MANTTASKS-231: ------------------------------------- Summary: AbstractArtifactTask doesn't look for M2_REPO for localRepository Key: MANTTASKS-231 URL: https://jira.codehaus.org/browse/MANTTASKS-231 Project: Maven 2.x Ant Tasks Issue Type: Bug Components: pom task Affects Versions: 2.1.3 Reporter: Justin Ryan
The AbstractArtifactTask assembles a Settings object, and after it does this it ensures there's a settings.getLocalRepository(). In which case it'll default to _newFile( System.getProperty( "user.home" ), ".m2", "repository" )_. Most users would expect it to attempt to use the environment variable M2_REPO, which is used by maven. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira