Skip to content

Commit

Permalink
Bump to 3.0.0 to address breaking change.
Browse files Browse the repository at this point in the history
  • Loading branch information
minio-trusted committed Dec 13, 2016
1 parent 70dbb93 commit 58bf5ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ This document assumes that you have one of the following Java Environments setup
<dependency>
<groupId>io.minio</groupId>
<artifactId>minio</artifactId>
<version>2.0.5</version>
<version>3.0.0</version>
</dependency>
```

## Download from gradle
```xml
dependencies {
compile 'io.minio:minio:2.0.5'
compile 'io.minio:minio:3.0.0'
}
```

## Download from JAR
You can download the latest [JAR](http://repo1.maven.org/maven2/io/minio/minio/2.0.5/) directly from maven.
You can download the latest [JAR](http://repo1.maven.org/maven2/io/minio/minio/3.0.0/) directly from maven.

## Quick Start Example - File Uploader
This example program connects to an object storage server, makes a bucket on the server and then uploads a file to the bucket.
Expand Down Expand Up @@ -79,12 +79,12 @@ public class FileUploader {

#### Compile FileUploader
```sh
$ javac -cp "minio-2.0.5-all.jar" FileUploader.java
$ javac -cp "minio-3.0.0-all.jar" FileUploader.java
```

#### Run FileUploader
```sh
$ java -cp "minio-2.0.5-all.jar:." FileUploader
$ java -cp "minio-3.0.0-all.jar:." FileUploader
/home/user/Photos/asiaphotos.zip is successfully uploaded as asiaphotos.zip to `asiatrip` bucket.

$ mc ls play/asiatrip/
Expand Down
2 changes: 1 addition & 1 deletion api/src/test/java/io/minio/MinioClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public class MinioClientTest {
public void setUserAgentOnceSet() throws IOException, MinioException {
String expectedHost = "example.com";
MinioClient client = new MinioClient("http://" + expectedHost + "/");
client.setAppInfo("testApp", "2.0.5");
client.setAppInfo("testApp", "3.0.0");
}

@Test(expected = MinioException.class)
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ subprojects {
apply plugin: 'findbugs'

group = 'io.minio'
version = '2.0.5'
version = '3.0.0'
if (!project.hasProperty('release')) {
version += '-DEV'
}
Expand Down

0 comments on commit 58bf5ea

Please sign in to comment.