s3-maven-plugin

Download and upload files and artifacts of any kind from and to an s3 bucket via Apache Maven.

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

com.software-crafter
Идентификатор

Идентификатор

s3-maven-plugin
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

s3-maven-plugin
Download and upload files and artifacts of any kind from and to an s3 bucket via Apache Maven.
Ссылка на сайт

Ссылка на сайт

https://github.com/rzett/s3-maven-plugin/
Система контроля версий

Система контроля версий

https://github.com/rzett/s3-maven-plugin/tree/master

Скачать s3-maven-plugin

Как подключить последнюю версию

<plugin>
    <groupId>com.software-crafter</groupId>
    <artifactId>s3-maven-plugin</artifactId>
    <version>1.0.0</version>
</plugin>

Зависимости

compile (7)

Идентификатор библиотеки Тип Версия
org.twdata.maven : mojo-executor jar 2.3.0
org.apache.maven : maven-plugin-api jar 3.0
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.1
com.amazonaws : aws-java-sdk-s3 jar 1.11.702
javax.xml.bind : jaxb-api jar 2.3.0
com.sun.xml.bind : jaxb-core jar 2.3.0
com.sun.xml.bind : jaxb-impl jar 2.3.0

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 3.8.1

Модули Проекта

Данный проект не имеет модулей.

s3-maven-plugin

s3-maven-plugin logo

What: s3-maven-plugin allows you to download and upload files and artifacts of any kind from and to an s3 bucket via maven execution.

How: Downloading and uploading can be bound to specific maven goals. The configuration of all parameters is done directly in the POM file, so no additional scripts or tools have to be used for the data transfer from or to the s3 storage. The entire process can be managed by Maven.

Installation

s3-maven-plugin has been released to the Maven Central Repository. It can be downloaded and configured as usual via the maven dependency management:

<dependency>
    <groupId>com.software-crafter</groupId>
    <artifactId>s3-maven-plugin</artifactId>
    <version>1.0.0</version>
</dependency>

Please follow the configuration instructions as described below.

POM file configuration example

<build>
    <plugins>
        <plugin>
            <groupId>com.software-crafter</groupId>
            <artifactId>s3-maven-plugin</artifactId>
            <version>1.0.0</version>
            <configuration>
                <accessKey>${s3.accessKey}</accessKey>
                <secretKey>${s3.secretKey}</secretKey>
                <downloads>
                    <download>
                        <fileName>s3-download.zip</fileName>
                        <bucketName>s3-maven-plugin-bucket</bucketName>
                        <path>/Users/dummy/project/s3-maven-plugin/</path>
                    </download>
                </downloads>
                <uploads>
                    <upload>
                        <fileName>s3-upload.jar</fileName>
                        <bucketName>s3-maven-plugin-bucket</bucketName>
                        <path>/Users/dummy/project/s3-maven-plugin/</path>
                    </upload>
                </uploads>
            </configuration>
        </plugin>
    </plugins>
</build>

settings.xml configuration

<profiles>
    <profile>
        <id>s3-maven-plugin</id>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>
        <properties>
            <s3.accessKey>INSERT YOUR ACCESSKEY</s3.accessKey>
            <s3.secretKey>INSERT YOUR SECRETKEY</s3.secretKey>
        </properties>
    </profile>
</profiles>

Manual execution

  1. Executing downloads only: mvn s3:download
  2. Executing uploads only: mvn s3:uploads
  3. Executing downloads and uploads: mvn s3:execute-all

Версии библиотеки

Версия
1.0.0