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 LICENSE.txt project.xml
Date Sun, 07 Dec 2003 15:23:22 GMT
michal      2003/12/07 07:23:22

  Modified:    wagon-providers/ftp/src/main/java/org/apache/maven/wagon/providers/ftp
                        FtpWagon.java
               wagon-providers/http project.xml
               wagon-api/src/main/java/org/apache/maven/wagon/request
                        WagonRequest.java
               wagon-api/src/test/java/org/apache/maven/wagon/request
                        GetRequestTest.java PutRequestTest.java
               wagon-providers/ssh project.xml
  Added:       wagon-providers/http LICENSE.txt
               wagon-providers/ssh LICENSE.txt
  Log:
  Removed setBinary() method
  
  Revision  Changes    Path
  1.7       +1 -17     maven-wagon/wagon-providers/ftp/src/main/java/org/apache/maven/wagon/providers/ftp/FtpWagon.java
  
  Index: FtpWagon.java
  ===================================================================
  RCS file: /home/cvs/maven-wagon/wagon-providers/ftp/src/main/java/org/apache/maven/wagon/providers/ftp/FtpWagon.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FtpWagon.java	2 Dec 2003 18:40:13 -0000	1.6
  +++ FtpWagon.java	7 Dec 2003 15:23:21 -0000	1.7
  @@ -246,14 +246,6 @@
                   }
               }
   
  -            if ( request.isBinary() )
  -            {
  -                ftp.setFileType( FTP.BINARY_FILE_TYPE );
  -            }
  -            else
  -            {
  -                ftp.setFileType( FTP.ASCII_FILE_TYPE );
  -            }
               final OutputStream outputStream =
                       ftp.storeFileStream( PathUtils.filename( resource ) );
   
  @@ -308,14 +300,6 @@
                       throw new ResourceDoesNotExistException( msg );
                   }
   
  -            }
  -            if ( request.isBinary() )
  -            {
  -                ftp.setFileType( FTP.BINARY_FILE_TYPE );
  -            }
  -            else
  -            {
  -                ftp.setFileType( FTP.ASCII_FILE_TYPE );
               }
               final InputStream inputStream =
                       ftp.retrieveFileStream( PathUtils.filename( resource ) );
  
  
  
  1.6       +41 -1     maven-wagon/wagon-providers/http/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/maven-wagon/wagon-providers/http/project.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- project.xml	26 Nov 2003 21:00:16 -0000	1.5
  +++ project.xml	7 Dec 2003 15:23:21 -0000	1.6
  @@ -11,6 +11,22 @@
       <shortDescription>Wagon Provider for HTTP/HTTPS protocols based on jakarta-commons-httpclient</shortDescription>
       <package>org.apache.maven.wagon.providers.http</package>
       <inceptionYear>2003</inceptionYear>
  +    <url>http://maven.apache.org/wagon/wagon-providers/http</url>
  +    <issueTrackingUrl>http://jira.codehaus.org/BrowseProject.jspa?id=10319</issueTrackingUrl>
  +    <siteDirectory>/www/maven.apache.org/wagon/wagon-providers/http</siteDirectory>
  +    <repository>
  +        <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-wagon/wagon-providers/http</connection>
  +        <url>http://cvs.apache.org/viewcvs/maven-wagon/wagon-providers/http/</url>
  +    </repository>
  +
  +    <versions>
  +        <version>
  +            <id>beta-1</id>
  +            <name>1.0-beta-1</name>
  +            <tag>HEAD</tag>
  +        </version>
  +    </versions>
  +
   
       <developers>
           <developer>
  @@ -26,6 +42,15 @@
           </developer>
       </developers>
   
  +    <licenses>
  +        <license>
  +            <name>The Apache Software License, Version 1.1</name>
  +            <url>http://cvs.apache.org/viewcvs.cgi/*checkout*/maven/LICENSE.txt</url>
  +            <distribution>repo</distribution>
  +        </license>
  +    </licenses>
  +
  +
       <dependencies>
   
           <dependency>
  @@ -67,8 +92,23 @@
               </includes>
           </unitTest>
   
  -
       </build>
  +
  +    <reports>
  +        <report>maven-jdepend-plugin</report>
  +        <report>maven-checkstyle-plugin</report>
  +        <report>maven-changes-plugin</report>
  +        <report>maven-changelog-plugin</report>
  +        <report>maven-file-activity-plugin</report>
  +        <report>maven-developer-activity-plugin</report>
  +        <report>maven-javadoc-plugin</report>
  +        <report>maven-jxr-plugin</report>
  +        <report>maven-junit-report-plugin</report>
  +        <report>maven-tasklist-plugin</report>
  +        <report>maven-pmd-plugin</report>
  +        <report>maven-simian-plugin</report>
  +        <report>maven-clover-plugin</report>
  +    </reports>
   
   
   </project>
  
  
  
  1.1                  maven-wagon/wagon-providers/http/LICENSE.txt
  
  Index: LICENSE.txt
  ===================================================================
  
  
  /* ====================================================================
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 2001 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *    notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *    notice, this list of conditions and the following disclaimer in
   *    the documentation and/or other materials provided with the
   *    distribution.
   *
   * 3. The end-user documentation included with the redistribution,
   *    if any, must include the following acknowledgment:
   *       "This product includes software developed by the
   *        Apache Software Foundation (http://www.apache.org/)."
   *    Alternately, this acknowledgment may appear in the software itself,
   *    if and wherever such third-party acknowledgments normally appear.
   *
   * 4. The names "Apache" and "Apache Software Foundation" and
   *    "Apache Maven" must not be used to endorse or promote products
   *    derived from this software without prior written permission. For
   *    written permission, please contact apache@apache.org.
   *
   * 5. Products derived from this software may not be called "Apache",
   *    "Apache Maven", nor may "Apache" appear in their name, without
   *    prior written permission of the Apache Software Foundation.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * ====================================================================
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   *
   * ====================================================================
   */
  
  
  
  1.4       +2 -2      maven-wagon/wagon-api/src/main/java/org/apache/maven/wagon/request/WagonRequest.java
  
  Index: WagonRequest.java
  ===================================================================
  RCS file: /home/cvs/maven-wagon/wagon-api/src/main/java/org/apache/maven/wagon/request/WagonRequest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WagonRequest.java	26 Nov 2003 21:00:52 -0000	1.3
  +++ WagonRequest.java	7 Dec 2003 15:23:22 -0000	1.4
  @@ -67,7 +67,7 @@
   
   
       /**
  -     * @param resource2 
  +     * @param resource
        */
       public WagonRequest( final String resource )
       {
  
  
  
  1.4       +1 -7      maven-wagon/wagon-api/src/test/java/org/apache/maven/wagon/request/GetRequestTest.java
  
  Index: GetRequestTest.java
  ===================================================================
  RCS file: /home/cvs/maven-wagon/wagon-api/src/test/java/org/apache/maven/wagon/request/GetRequestTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GetRequestTest.java	6 Dec 2003 05:36:05 -0000	1.3
  +++ GetRequestTest.java	7 Dec 2003 15:23:22 -0000	1.4
  @@ -91,12 +91,6 @@
           final StreamResult streamResult = (StreamResult)request.getResult();
           assertEquals( out, streamResult.getOutputStream() );
   
  -        //deafult value for "binary" is true
  -        assertTrue( request.isBinary() );
   
  -        request.setBinary( false );
  -        assertFalse( request.isBinary() );
  -        request.setBinary( true );
  -        assertTrue( request.isBinary() );
       }
   }
  
  
  
  1.3       +1 -10     maven-wagon/wagon-api/src/test/java/org/apache/maven/wagon/request/PutRequestTest.java
  
  Index: PutRequestTest.java
  ===================================================================
  RCS file: /home/cvs/maven-wagon/wagon-api/src/test/java/org/apache/maven/wagon/request/PutRequestTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PutRequestTest.java	26 Nov 2003 20:59:15 -0000	1.2
  +++ PutRequestTest.java	7 Dec 2003 15:23:22 -0000	1.3
  @@ -91,15 +91,6 @@
   
           request.setLength( 10 );
           assertEquals( 10, request.getLength() );
  -        
  -        //deafult value for "binary" is true
  -        assertTrue( request.isBinary() );
  -
  -        request.setBinary( false );
  -        assertFalse( request.isBinary() );
  -        request.setBinary( true );
  -        assertTrue( request.isBinary() );
  -
   
       }
   }
  
  
  
  1.4       +40 -0     maven-wagon/wagon-providers/ssh/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/maven-wagon/wagon-providers/ssh/project.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.xml	26 Nov 2003 20:59:33 -0000	1.3
  +++ project.xml	7 Dec 2003 15:23:22 -0000	1.4
  @@ -11,6 +11,13 @@
       <shortDescription>Wagon Provider for protocols from SSH2 family based on JSCH</shortDescription>
       <package>org.apache.maven.wagon.providers.ssh</package>
       <inceptionYear>2003</inceptionYear>
  +    <url>http://maven.apache.org/wagon/wagon-providers/ssh</url>
  +    <issueTrackingUrl>http://jira.codehaus.org/BrowseProject.jspa?id=10319</issueTrackingUrl>
  +    <siteDirectory>/www/maven.apache.org/wagon/wagon-providers/ssh</siteDirectory>
  +    <repository>
  +        <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-wagon/wagon-providers/ssh</connection>
  +        <url>http://cvs.apache.org/viewcvs/maven-wagon/wagon-providers/ssh/</url>
  +    </repository>
   
       <developers>
           <developer>
  @@ -26,6 +33,23 @@
           </developer>
       </developers>
   
  +    <versions>
  +        <version>
  +            <id>beta-1</id>
  +            <name>1.0-beta-1</name>
  +            <tag>HEAD</tag>
  +        </version>
  +    </versions>
  +
  +    <licenses>
  +      <license>
  +        <name>The Apache Software License, Version 1.1</name>
  +        <url>http://cvs.apache.org/viewcvs.cgi/*checkout*/maven/LICENSE.txt</url>
  +        <distribution>repo</distribution>
  +      </license>
  +    </licenses>
  +
  +
       <dependencies>
   
           <dependency>
  @@ -70,6 +94,22 @@
   
   
       </build>
  +
  +    <reports>
  +        <report>maven-jdepend-plugin</report>
  +        <report>maven-checkstyle-plugin</report>
  +        <report>maven-changes-plugin</report>
  +        <report>maven-changelog-plugin</report>
  +        <report>maven-file-activity-plugin</report>
  +        <report>maven-developer-activity-plugin</report>
  +        <report>maven-javadoc-plugin</report>
  +        <report>maven-jxr-plugin</report>
  +        <report>maven-junit-report-plugin</report>
  +        <report>maven-tasklist-plugin</report>
  +        <report>maven-pmd-plugin</report>
  +        <report>maven-simian-plugin</report>
  +        <report>maven-clover-plugin</report>
  +    </reports>
   
   
   </project>
  
  
  
  1.1                  maven-wagon/wagon-providers/ssh/LICENSE.txt
  
  Index: LICENSE.txt
  ===================================================================
  
  
  /* ====================================================================
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 2001 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *    notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *    notice, this list of conditions and the following disclaimer in
   *    the documentation and/or other materials provided with the
   *    distribution.
   *
   * 3. The end-user documentation included with the redistribution,
   *    if any, must include the following acknowledgment:
   *       "This product includes software developed by the
   *        Apache Software Foundation (http://www.apache.org/)."
   *    Alternately, this acknowledgment may appear in the software itself,
   *    if and wherever such third-party acknowledgments normally appear.
   *
   * 4. The names "Apache" and "Apache Software Foundation" and
   *    "Apache Maven" must not be used to endorse or promote products
   *    derived from this software without prior written permission. For
   *    written permission, please contact apache@apache.org.
   *
   * 5. Products derived from this software may not be called "Apache",
   *    "Apache Maven", nor may "Apache" appear in their name, without
   *    prior written permission of the Apache Software Foundation.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * ====================================================================
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   *
   * ====================================================================
   */
  
  
  

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