File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
api/src/test/java/io/minio Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,19 @@ This document assumes that you have one of the following Java Environments setup
1414<dependency >
1515 <groupId >io.minio</groupId >
1616 <artifactId >minio</artifactId >
17- <version >2 .0.5 </version >
17+ <version >3 .0.0 </version >
1818</dependency >
1919```
2020
2121## Download from gradle
2222``` xml
2323dependencies {
24- compile 'io.minio:minio:2 .0.5 '
24+ compile 'io.minio:minio:3 .0.0 '
2525}
2626```
2727
2828## Download from JAR
29- You can download the latest [ JAR] ( http://repo1.maven.org/maven2/io/minio/minio/2 .0.5 / ) directly from maven.
29+ You can download the latest [ JAR] ( http://repo1.maven.org/maven2/io/minio/minio/3 .0.0 / ) directly from maven.
3030
3131## Quick Start Example - File Uploader
3232This example program connects to an object storage server, makes a bucket on the server and then uploads a file to the bucket.
@@ -79,12 +79,12 @@ public class FileUploader {
7979
8080#### Compile FileUploader
8181``` sh
82- $ javac -cp " minio-2 .0.5 -all.jar" FileUploader.java
82+ $ javac -cp " minio-3 .0.0 -all.jar" FileUploader.java
8383```
8484
8585#### Run FileUploader
8686``` sh
87- $ java -cp " minio-2 .0.5 -all.jar:." FileUploader
87+ $ java -cp " minio-3 .0.0 -all.jar:." FileUploader
8888/home/user/Photos/asiaphotos.zip is successfully uploaded as asiaphotos.zip to ` asiatrip` bucket.
8989
9090$ mc ls play/asiatrip/
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public class MinioClientTest {
7575 public void setUserAgentOnceSet () throws IOException , MinioException {
7676 String expectedHost = "example.com" ;
7777 MinioClient client = new MinioClient ("http://" + expectedHost + "/" );
78- client .setAppInfo ("testApp" , "2 .0.5 " );
78+ client .setAppInfo ("testApp" , "3 .0.0 " );
7979 }
8080
8181 @ Test (expected = MinioException .class )
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ subprojects {
3434 apply plugin : ' findbugs'
3535
3636 group = ' io.minio'
37- version = ' 2 .0.5 '
37+ version = ' 3 .0.0 '
3838 if (! project. hasProperty(' release' )) {
3939 version + = ' -DEV'
4040 }
You can’t perform that action at this time.
0 commit comments