Maven ant tasks do not load correctly the settings.xml file (overriding central 
repository)
-------------------------------------------------------------------------------------------

                 Key: MANTTASKS-94
                 URL: http://jira.codehaus.org/browse/MANTTASKS-94
             Project: Maven 2.x Ant Tasks
          Issue Type: Bug
    Affects Versions: 2.0.7
         Environment: Linux
            Reporter: Dimo Velev
         Attachments: settings.xml

When I run an ant script which uses maven tasks to download dependencies it 
fails to do so. After turning the verbose mode in ant and in maven I have found 
out the configuration file is correctly found and loaded ([artifact:pom] 
Loading Maven settings file: /home/deployer/.m2/settings.xml). In my settings I 
basically define a profile which is always active and overrides the maven 
central repository with a local installation of artifactory (I have attached my 
settings.xml file). Running mvn in the console works as expected using the same 
settings file.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to