[ 
http://jira.codehaus.org/browse/MANTTASKS-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy updated MANTTASKS-6:
----------------------------------

    Attachment: MANTTASKS-6.diff

here is a patch to look for settings.xml in ant.home/etc than ${M2_HOME}/conf

> ant artifact doesn't read settings.xml
> --------------------------------------
>
>                 Key: MANTTASKS-6
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-6
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>         Environment: winxp
>            Reporter: Brian Fox
>         Attachments: MANTTASKS-6.diff
>
>
> We are using an ant script to call maven deploy to auto deploy jar, pom and 
> md5's and sh1's for 3rd party libraries to our remote repository. The maven 
> deploy ant task isn't using the settings to find our mirrors or repositories 
> for download. We have a parent pom that it should find, but it's not. The 
> settings.xml is in maven/conf and in HOME/.m2/ and in HOME/.ant/
> The repositories are defined in our pom file, but the login information needs 
> to be in the settings.xml. When we run this, it isn't finding the login 
> information from settings. We also had an issue where the remote repositories 
> where defined in settings and it wasn't working until we moved it to the pom. 
> The underlying problem seems to be that settings isn't taken into account in 
> either case.

-- 
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