maven-wagon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mic...@apache.org
Subject cvs commit: maven-wagon/wagon-providers/ssh/src/main/java/org/apache/maven/wagon/providers/ssh ScpWagon.java
Date Mon, 26 Apr 2004 21:28:26 GMT
michal      2004/04/26 14:28:26

  Modified:    wagon-providers/ssh/src/test/java/org/apache/maven/wagon/providers/ssh
                        ScpWagonWithSshPrivateKeySearchTest.java
                        ScpWagonTest.java
               wagon-providers/ssh/src/main/java/org/apache/maven/wagon/providers/ssh
                        ScpWagon.java
  Log:
  catching up providers with changes in the API
  
  Revision  Changes    Path
  1.2       +1 -9      maven-wagon/wagon-providers/ssh/src/test/java/org/apache/maven/wagon/providers/ssh/ScpWagonWithSshPrivateKeySearchTest.java
  
  Index: ScpWagonWithSshPrivateKeySearchTest.java
  ===================================================================
  RCS file: /home/cvs/maven-wagon/wagon-providers/ssh/src/test/java/org/apache/maven/wagon/providers/ssh/ScpWagonWithSshPrivateKeySearchTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScpWagonWithSshPrivateKeySearchTest.java	21 Apr 2004 05:19:06 -0000	1.1
  +++ ScpWagonWithSshPrivateKeySearchTest.java	26 Apr 2004 21:28:26 -0000	1.2
  @@ -16,16 +16,8 @@
    * limitations under the License.
    */
   
  -import org.codehaus.plexus.PlexusTestCase;
  -import org.apache.maven.wagon.Wagon;
   import org.apache.maven.wagon.WagonTestCase;
   import org.apache.maven.wagon.authentication.AuthenticationInfo;
  -import org.apache.maven.wagon.artifact.Artifact;
  -import org.apache.maven.wagon.artifact.DefaultArtifact;
  -import org.apache.maven.wagon.events.Debug;
  -import org.apache.maven.wagon.repository.Repository;
  -
  -import java.io.File;
   
   /**
    * @author <a href="michal.maczka@dimatics.com">Michal Maczka</a>
  
  
  
  1.2       +2 -7      maven-wagon/wagon-providers/ssh/src/test/java/org/apache/maven/wagon/providers/ssh/ScpWagonTest.java
  
  Index: ScpWagonTest.java
  ===================================================================
  RCS file: /home/cvs/maven-wagon/wagon-providers/ssh/src/test/java/org/apache/maven/wagon/providers/ssh/ScpWagonTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScpWagonTest.java	30 Mar 2004 14:43:07 -0000	1.1
  +++ ScpWagonTest.java	26 Apr 2004 21:28:26 -0000	1.2
  @@ -16,14 +16,9 @@
    * limitations under the License.
    */
   
  -import org.codehaus.plexus.PlexusTestCase;
  -import org.apache.maven.wagon.Wagon;
  +
   import org.apache.maven.wagon.WagonTestCase;
   import org.apache.maven.wagon.authentication.AuthenticationInfo;
  -import org.apache.maven.wagon.artifact.Artifact;
  -import org.apache.maven.wagon.artifact.DefaultArtifact;
  -import org.apache.maven.wagon.events.Debug;
  -import org.apache.maven.wagon.repository.Repository;
   
   import java.io.File;
   
  
  
  
  1.5       +3 -4      maven-wagon/wagon-providers/ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java
  
  Index: ScpWagon.java
  ===================================================================
  RCS file: /home/cvs/maven-wagon/wagon-providers/ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ScpWagon.java	24 Apr 2004 17:38:44 -0000	1.4
  +++ ScpWagon.java	26 Apr 2004 21:28:26 -0000	1.5
  @@ -71,7 +71,7 @@
       // ----------------------------------------------------------------------
   
       public void openConnection()
  -        throws Exception
  +        throws AuthenticationException
       {
           try
           {
  @@ -190,8 +190,7 @@
       //
       // ----------------------------------------------------------------------
   
  -    public void closeConnection()
  -        throws Exception
  +    public void closeConnection()        
       {
           session.disconnect();
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-cvs-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-cvs-help@maven.apache.org


Mime
View raw message