[ https://jira.codehaus.org/browse/MANTTASKS-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307835#comment-307835 ]
Justin Ryan commented on MANTTASKS-231: --------------------------------------- In retrospect, please reject this defect. M2_REPO is not a standard environment, even though I wish it wash. > 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