Skip to content

Commit

Permalink
Prepare for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
abashev committed Jan 4, 2024
1 parent 8862c51 commit b9db81e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,26 @@ Amazon S3 driver for VFS (Apache Commons Virtual File System)

### How to add as dependency into your Maven build

For an artifact with embedded AWS SDK (an easiest way to bootstrap)
For an artifact with embedded AWS SDK (the easiest way to bootstrap without jar hell)

<dependency>
<groupId>com.github.abashev</groupId>
<artifactId>vfs-s3</artifactId>
<version>4.3.6</version>
<classifier>with-aws-sdk</classifier>
<artifactId>vfs-s3-with-awssdk-v1</artifactId>
<version>4.4.0</version>
</dependency>

For an artifact without dependencies

<dependency>
<groupId>com.github.abashev</groupId>
<artifactId>vfs-s3</artifactId>
<version>4.3.6</version>
<version>4.4.0</version>
</dependency>


### How to add as dependency into your Gradle build

implementation 'com.github.abashev:vfs-s3:4.3.6'
implementation 'com.github.abashev:vfs-s3:4.4.0'

### URL format

Expand Down
14 changes: 10 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.github.abashev</groupId>
<artifactId>vfs-s3</artifactId>
<packaging>jar</packaging>
<version>4.3-SNAPSHOT</version>
<version>4.4-SNAPSHOT</version>

<name>${project.groupId}:${project.artifactId}</name>
<description>Amazon S3 driver for VFS (Apache Commons Virtual File System)</description>
Expand Down Expand Up @@ -109,6 +109,7 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>2.0.1</version>
<configuration>
Expand Down Expand Up @@ -234,19 +235,24 @@
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>shade</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.4.1</version>
<version>3.5.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>with-aws-sdk</shadedClassifierName>
<minimizeJar>true</minimizeJar>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
Expand Down
2 changes: 1 addition & 1 deletion samples/s3-copy
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env groovy

@Grab(group='com.github.abashev', module='vfs-s3', version='4.3.6')
@Grab(group='com.github.abashev', module='vfs-s3', version='4.4.0')
@Grab(group='commons-httpclient', module='commons-httpclient', version='3.1')

import org.apache.commons.vfs2.*
Expand Down
2 changes: 1 addition & 1 deletion samples/s3-list
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env groovy

@Grab(group='com.github.abashev', module='vfs-s3', version='4.3.6')
@Grab(group='com.github.abashev', module='vfs-s3', version='4.4.0')
@Grab(group='commons-httpclient', module='commons-httpclient', version='3.1')

import org.apache.commons.vfs2.*
Expand Down
2 changes: 1 addition & 1 deletion samples/s3-remove
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env groovy

@Grab(group='com.github.abashev', module='vfs-s3', version='4.3.6')
@Grab(group='com.github.abashev', module='vfs-s3', version='4.4.0')

import org.apache.commons.vfs2.*

Expand Down

0 comments on commit b9db81e

Please sign in to comment.