Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elek/s3-maven-wagon

Amazon S3/Google Developer Storage Maven Wagon Support. Forked from the Spring version.
https://github.com/elek/s3-maven-wagon

Last synced: 2 days ago
JSON representation

Amazon S3/Google Developer Storage Maven Wagon Support. Forked from the Spring version.

Awesome Lists containing this project

README

        

# Amazon S3/Google Developer Storage Maven Wagon Support

You can use Amazon S3 or Google Developer Storage as a maven repository with this plugin.

THIS PROJECT IS A FORKED VERSION OF THE SPRING PROJECT git://git.springsource.org/spring-build/aws-maven.git

The main works comes from the Spring version. All the credit is theirs. Thank you.

Master branch is the original Spring branch from git://git.springsource.org/spring-build/aws-maven.git

Anzix branch is my developmebt branch.

## Usage

### Add the plugin as extension to the pom.xml

```



net.anzix.aws
s3-maven-wagon
3.3

```

### Define the distributionManagement url in the pom.xml

```


s3
s3://[email protected]

```
Format of the URL: `protocol://bucket_name/prefix` or
`protocol://bucket_name@api_endpoint/prefix`

* Protocol is s3 (Amazon AWS S3) or gs (for Google Cloud Storage)
* The /prefix part is optional
* The storage type (Amazon or Google) could be forced by defining the
server part (`@s3.amazonaws.com` or `@commondatastorage.googleapis.com`)

### define shared and secret key

Shared and secret key could be defined in the ~/.m2/settings.xml as username
and password:

```

s3
qui2ohWo4cip
thi7ooLeeCu8xuiquavo6pad

```

## CHANGE LOG

3.3

+ google cloud storage could be used as gs://bucket_name

3.2

+ Google Developer Storage support (use s3://[email protected]/prefix)
+ support for root repository (s3://bucket_name@provider without any prefix)
+ remove spring repositories (jets3t is in the centreal)
+ update jets3t version to 8.0
+ support both passphrase and password tag in settings.xml / server
+ improved error messages