Skip to content

Commit

Permalink
Getting ready for 1.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiaqi Guo committed Oct 14, 2019
1 parent bc1d23a commit aeadf4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 23 deletions.
9 changes: 1 addition & 8 deletions pom.xml
Expand Up @@ -10,7 +10,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>awss3-maven-wagon</artifactId>
<version>1.5.0-SNAPSHOT</version>
<version>1.5.0</version>
<packaging>jar</packaging>
<name>S3 Maven Wagon</name>
<description>Maven Wagon to support S3 repository</description>
Expand Down Expand Up @@ -77,13 +77,6 @@
</dependency>
</dependencies>
<build>
<extensions>
<extension>
<groupId>org.cyclopsgroup</groupId>
<artifactId>awss3-maven-wagon</artifactId>
<version>${project.version}</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
18 changes: 3 additions & 15 deletions src/main/java/org/cyclopsgroup/cym2/awss3/S3Wagon.java
Expand Up @@ -195,9 +195,7 @@ public void get(String resourceName, File destination)
}
}

/**
* @inheritDoc
*/
@Override
public List<String> getFileList(String destinationDirectory)
throws TransferFailedException, ResourceDoesNotExistException {
String path = keyPrefix + destinationDirectory;
Expand Down Expand Up @@ -226,9 +224,7 @@ public List<String> getFileList(String destinationDirectory)
return new ArrayList<String>(results);
}

/**
* @inheritDoc
*/
@Override
public boolean getIfNewer(String resourceName, File destination, long timestamp)
throws ResourceDoesNotExistException, TransferFailedException {
ObjectMetadata meta = getRequiredMetadata(resourceName);
Expand All @@ -244,9 +240,6 @@ public boolean getIfNewer(String resourceName, File destination, long timestamp)
return true;
}

/**
* @inheritDoc
*/
@Override
public boolean getIfNewerToStream(String resourceName, OutputStream out, long timestamp)
throws ResourceDoesNotExistException, TransferFailedException {
Expand Down Expand Up @@ -287,9 +280,6 @@ private ObjectMetadata getRequiredMetadata(String resourceName)
}
}

/**
* @inheritDoc
*/
@Override
protected void openConnectionInternal() throws ConnectionException, AuthenticationException {
AWSCredentialsProvider credentials = new AWSCredentialsProviderChain(
Expand Down Expand Up @@ -334,9 +324,7 @@ protected void openConnectionInternal() throws ConnectionException, Authenticati
fireSessionDebug("Key prefix " + keyPrefix);
}

/**
* @inheritDoc
*/
@Override
public void put(File source, String destination)
throws TransferFailedException, ResourceDoesNotExistException {
try (InputStream in = new FileInputStream(source)) {
Expand Down

0 comments on commit aeadf4b

Please sign in to comment.