dependecies task overrides custom definition of 'central' repository
--------------------------------------------------------------------

                 Key: MANTTASKS-206
                 URL: http://jira.codehaus.org/browse/MANTTASKS-206
             Project: Maven 2.x Ant Tasks
          Issue Type: Bug
    Affects Versions: 2.1.1
            Reporter: Miroslaw Michalski
         Attachments: patch2.txt

While using 
<artifact:dependencies 
  cacheDependencyRefs="false"
  pathId="maven.dependency.classpath" 
  useScope="test">
  <pom file="pom.xml"/>
</artifact:dependencies>

with pom 
<project>
...
        <repositories>
                <repository>
                        <id>central</id>
                        <url>https://custom/mvn/central</url>
                        <snapshots>
                                <enabled>true</enabled>
                        </snapshots>
                        <releases>
                                <enabled>true</enabled>
                        </releases>
                </repository>


        </repositories>
</project>

the task is still trying to resolve my dependecies from 
http://repo2.maven.org/maven2.

A patch resolving this issue is attached.


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