Skip to content

ikelin/s3-maven-wagon-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Maven Wagon Provider for Amazon S3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages