[
http://jira.codehaus.org/browse/MANTTASKS-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy closed MANTTASKS-94.
----------------------------------
Assignee: Herve Boutemy
Resolution: Won't Fix
Profiles are not supported yet, and in your case they are not necessary.
If you want to use Archiva instead of a direct connection to the central repo,
just use a mirrorOf section in your settings.xml as explained in the
documentation: http://maven.apache.org/ant-tasks.html, "The Settings File"
section
> 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
> Assignee: Herve Boutemy
> 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