Author: hboutemy
Date: Sun Jan 27 08:06:31 2008
New Revision: 615614
URL: http://svn.apache.org/viewvc?rev=615614&view=rev
Log:
[MANTTASKS-13] properly get authentication attribute like other ones (merged
from trunk r615613)
Modified:
maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/main/java/org/apache/maven/artifact/ant/RemoteRepository.java
Modified:
maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/main/java/org/apache/maven/artifact/ant/RemoteRepository.java
URL:
http://svn.apache.org/viewvc/maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/main/java/org/apache/maven/artifact/ant/RemoteRepository.java?rev=615614&r1=615613&r2=615614&view=diff
==============================================================================
---
maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/main/java/org/apache/maven/artifact/ant/RemoteRepository.java
(original)
+++
maven/ant-tasks/branches/maven-ant-tasks-2.0.x/src/main/java/org/apache/maven/artifact/ant/RemoteRepository.java
Sun Jan 27 08:06:31 2008
@@ -50,7 +50,7 @@
public Authentication getAuthentication()
{
- return authentication;
+ return ( (RemoteRepository) getInstance() ).authentication;
}
public void addAuthentication( Authentication authentication )