s3-upload-maven-plugin

maven plugin to upload files to amazon s3

Лицензия

Лицензия

Категории

Категории

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

Группа

io.dangernoodle
Идентификатор

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

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

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

2.0.0
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

s3-upload-maven-plugin
maven plugin to upload files to amazon s3
Ссылка на сайт

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

https://github.com/dangernoodle-io/s3-upload-maven-plugin
Организация-разработчик

Организация-разработчик

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

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

https://github.com/dangernoodle-io/s3-upload-maven-plugin

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

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

<plugin>
    <groupId>io.dangernoodle</groupId>
    <artifactId>s3-upload-maven-plugin</artifactId>
    <version>2.0.0</version>
</plugin>

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.6.2
org.apache.maven.plugin-tools : maven-plugin-annotations Необязательный jar 3.6.0
com.amazonaws : aws-java-sdk-s3 jar 1.10.69
com.amazonaws : aws-java-sdk-sts jar 1.10.69

runtime (1)

Идентификатор библиотеки Тип Версия
org.glassfish.jaxb : jaxb-runtime jar 2.3.1

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

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

s3-upload-maven-plugin

Uploads a file or (recursively) the contents of a directory to S3.

Configuration parameters

Parameter Description Required Default
bucketName The name of the bucket yes
source The source file or folder (was sourceFile before 1.2) yes
destination The destination file or destination folder (was destinationFile before 1.2). yes
recursive If this is a directory copy, recursively copy all contents (since 1.2) no false
accessKey S3 access key no if unspecified, uses the Default Provider, falling back to env variables
secretKey S3 secret key no if unspecified, uses the Default Provider, falling back to env variables
doNotUpload Dry run no false
endpoint Use a different s3 endpoint no s3.amazonaws.com

Example: Upload a file

<build>
  <plugins>
    <plugin>
      <groupId>io.dangernoodle</groupId>
      <artifactId>s3-upload-maven-plugin</artifactId>
      <version>${s3-upload-maven-plugin.version}</version>
      <configuration>
        <bucketName>my-s3-bucket</bucketName>
        <source>dir/filename.txt</source>
        <destination>remote-dir/remote-filename.txt</destination>
      </configuration>
    </plugin>
  </plugins>
</build>

Example: Recursively upload a folder

<build>
  <plugins>
    <plugin>
      <groupId>io.dangernoodle</groupId>
      <artifactId>s3-upload-maven-plugin</artifactId>
      <version>${s3-upload-maven-plugin.version}</version>
      <configuration>
        <bucketName>my-s3-bucket</bucketName>
        <source>dir</source>
        <destination>remote-dir</destination>
        <recursive>true</recursive>
      </configuration>
    </plugin>
  </plugins>
</build>
io.dangernoodle

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

Версия
2.0.0