You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2008/01/27 17:03:27 UTC

svn commit: r615613 - /maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/RemoteRepository.java

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 )