Skip to content

Commit aeadf4b

Browse files
author
Jiaqi Guo
committed
Getting ready for 1.5.0 release
1 parent bc1d23a commit aeadf4b

File tree

2 files changed

+4
-23
lines changed

2 files changed

+4
-23
lines changed

pom.xml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>
1212
<artifactId>awss3-maven-wagon</artifactId>
13-
<version>1.5.0-SNAPSHOT</version>
13+
<version>1.5.0</version>
1414
<packaging>jar</packaging>
1515
<name>S3 Maven Wagon</name>
1616
<description>Maven Wagon to support S3 repository</description>
@@ -77,13 +77,6 @@
7777
</dependency>
7878
</dependencies>
7979
<build>
80-
<extensions>
81-
<extension>
82-
<groupId>org.cyclopsgroup</groupId>
83-
<artifactId>awss3-maven-wagon</artifactId>
84-
<version>${project.version}</version>
85-
</extension>
86-
</extensions>
8780
<plugins>
8881
<plugin>
8982
<groupId>org.apache.maven.plugins</groupId>

src/main/java/org/cyclopsgroup/cym2/awss3/S3Wagon.java

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,7 @@ public void get(String resourceName, File destination)
195195
}
196196
}
197197

198-
/**
199-
* @inheritDoc
200-
*/
198+
@Override
201199
public List<String> getFileList(String destinationDirectory)
202200
throws TransferFailedException, ResourceDoesNotExistException {
203201
String path = keyPrefix + destinationDirectory;
@@ -226,9 +224,7 @@ public List<String> getFileList(String destinationDirectory)
226224
return new ArrayList<String>(results);
227225
}
228226

229-
/**
230-
* @inheritDoc
231-
*/
227+
@Override
232228
public boolean getIfNewer(String resourceName, File destination, long timestamp)
233229
throws ResourceDoesNotExistException, TransferFailedException {
234230
ObjectMetadata meta = getRequiredMetadata(resourceName);
@@ -244,9 +240,6 @@ public boolean getIfNewer(String resourceName, File destination, long timestamp)
244240
return true;
245241
}
246242

247-
/**
248-
* @inheritDoc
249-
*/
250243
@Override
251244
public boolean getIfNewerToStream(String resourceName, OutputStream out, long timestamp)
252245
throws ResourceDoesNotExistException, TransferFailedException {
@@ -287,9 +280,6 @@ private ObjectMetadata getRequiredMetadata(String resourceName)
287280
}
288281
}
289282

290-
/**
291-
* @inheritDoc
292-
*/
293283
@Override
294284
protected void openConnectionInternal() throws ConnectionException, AuthenticationException {
295285
AWSCredentialsProvider credentials = new AWSCredentialsProviderChain(
@@ -334,9 +324,7 @@ protected void openConnectionInternal() throws ConnectionException, Authenticati
334324
fireSessionDebug("Key prefix " + keyPrefix);
335325
}
336326

337-
/**
338-
* @inheritDoc
339-
*/
327+
@Override
340328
public void put(File source, String destination)
341329
throws TransferFailedException, ResourceDoesNotExistException {
342330
try (InputStream in = new FileInputStream(source)) {

0 commit comments

Comments
 (0)