Author: hboutemy
Date: Sun Jan 27 08:03:25 2008
New Revision: 615613

URL: http://svn.apache.org/viewvc?rev=615613&view=rev
Log:
[MANTTASKS-13] properly get authentication attribute like other ones

Modified:
    
maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/RemoteRepository.java

Modified: 
maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/RemoteRepository.java
URL: 
http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/RemoteRepository.java?rev=615613&r1=615612&r2=615613&view=diff
==============================================================================
--- 
maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/RemoteRepository.java
 (original)
+++ 
maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/RemoteRepository.java
 Sun Jan 27 08:03:25 2008
@@ -50,7 +50,7 @@
 
     public Authentication getAuthentication()
     {
-        return authentication;
+        return ( (RemoteRepository) getInstance() ).authentication;
     }
 
     public void addAuthentication( Authentication authentication )


Reply via email to