maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Ryan (JIRA)" <j...@codehaus.org>
Subject [jira] (MANTTASKS-231) AbstractArtifactTask doesn't look for M2_REPO for localRepository
Date Thu, 06 Sep 2012 01:02:22 GMT
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

        

Mime
View raw message