com.ikelin:s3-maven-wagon-provider

An Apache Maven Wagon provider for Amazon S3.

License

License

Categories

Categories

IDE Development Tools Maven Build Tools
GroupId

GroupId

com.ikelin
ArtifactId

ArtifactId

s3-maven-wagon-provider
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

com.ikelin:s3-maven-wagon-provider
An Apache Maven Wagon provider for Amazon S3.
Project URL

Project URL

https://github.com/ikelin/maven-wagon-s3-provider.git
Source Code Management

Source Code Management

http://github.com/ikelin/s3-maven-wagon-provider/tree/master

Download s3-maven-wagon-provider

How to add to project

<!-- https://jarcasting.com/artifacts/com.ikelin/s3-maven-wagon-provider/ -->
<dependency>
    <groupId>com.ikelin</groupId>
    <artifactId>s3-maven-wagon-provider</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.ikelin/s3-maven-wagon-provider/
implementation 'com.ikelin:s3-maven-wagon-provider:1.0.1'
// https://jarcasting.com/artifacts/com.ikelin/s3-maven-wagon-provider/
implementation ("com.ikelin:s3-maven-wagon-provider:1.0.1")
'com.ikelin:s3-maven-wagon-provider:jar:1.0.1'
<dependency org="com.ikelin" name="s3-maven-wagon-provider" rev="1.0.1">
  <artifact name="s3-maven-wagon-provider" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.ikelin', module='s3-maven-wagon-provider', version='1.0.1')
)
libraryDependencies += "com.ikelin" % "s3-maven-wagon-provider" % "1.0.1"
[com.ikelin/s3-maven-wagon-provider "1.0.1"]

Dependencies

compile (3)

Group / Artifact Type Version
com.amazonaws : aws-java-sdk-s3 jar 1.11.497
com.amazonaws : aws-java-sdk-sts jar 1.11.497
org.slf4j : slf4j-api jar 1.7.25

provided (1)

Group / Artifact Type Version
org.apache.maven.wagon : wagon-provider-api jar 3.3.1

test (4)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.3.2
org.junit.jupiter : junit-jupiter-engine jar 5.3.2
org.mockito : mockito-core jar 2.23.4
org.mockito : mockito-junit-jupiter jar 2.23.4

Project Modules

There are no modules declared in this project.

S3 Maven Wagon Provider

A Maven extension that hosts artifacts on Amazon S3.

Maven Central Build Status Coverage Status Codacy Badge

Usage

Maven pom.xml:

<build>
  <extensions>
    <extension>
      <groupId>com.ikelin</groupId>
      <artifactId>s3-maven-wagon-provider</artifactId>
      <version>{VERSION}</version>
    </extension>
  </extensions>
</build>

<!-- deploys artifacts to S3 -->
<distributionManagement>
  <snapshotRepository>
    <id>aws-s3-snapshot</id>
    <name>AWS S3 Snapshot Repository</name>
    <url>s3://{BUCKET}/snapshot</url>
  </snapshotRepository>
  <repository>
    <id>aws-s3-release</id>
    <name>AWS S3 Release Repository</name>
    <url>s3://{BUCKET}/release</url>
  </repository>
</distributionManagement>

<!-- downloads artifacts from S3 -->
<repositories>
  <repository>
    <id>aws-s3-snapshot</id>
    <url>s3://{BUCKET}/snapshot</url>
    <snapshots>
      <enabled>true</enabled>
      <updatePolicy>always</updatePolicy>
      <checksumPolicy>warn</checksumPolicy>
    </snapshots>
    <releases>
      <enabled>false</enabled>
    </releases>
  </repository>
  <repository>
    <id>aws-s3-release</id>
    <url>s3://{BUCKET}/release</url>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
    <releases>
      <enabled>true</enabled>
      <updatePolicy>never</updatePolicy>
      <checksumPolicy>fail</checksumPolicy>
    </releases>
  </repository>
</repositories>

Supply AWS credentials using ways from Working with AWS Credentials.

Versions

Version
1.0.1
1.0.0