Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deviceinsight/azure-blob-upload-maven-plugin
Maven Plugin that uploads a directory recursively to Azure Blob storage
https://github.com/deviceinsight/azure-blob-upload-maven-plugin
azure azure-storage azure-storage-blob maven maven-plugin
Last synced: 7 days ago
JSON representation
Maven Plugin that uploads a directory recursively to Azure Blob storage
- Host: GitHub
- URL: https://github.com/deviceinsight/azure-blob-upload-maven-plugin
- Owner: deviceinsight
- License: apache-2.0
- Created: 2019-03-13T13:05:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-24T12:26:51.000Z (over 3 years ago)
- Last Synced: 2024-05-07T18:28:12.211Z (8 months ago)
- Topics: azure, azure-storage, azure-storage-blob, maven, maven-plugin
- Language: Java
- Size: 32.2 KB
- Stars: 6
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= General
Use this Maven plugin to recursivly upload the contents of a directory to an Azure blob storage container.
This is for example useful if you use the "Static website" feature for serving web resources.= Usage
This plugin is available on Maven Central.
Using it interactively:
....
mvn com.deviceinsight.azure:azure-blob-upload-maven-plugin:2.1.0:upload \
-DconnectionString='DefaultEndpointsProtocol=https;AccountName=test;AccountKey=xxx;EndpointSuffix=core.windows.net' \
-DcontainerName=testcontainer \
-DrootDir=/tmp/contents
....`rootDir` is the local directory you want to upload. `connectionString` is the Azure connection string. `containerName` is the container in the
storage acount that you want to upload into.Using it in your pom.xml:
....
com.deviceinsight
azure-blob-upload-maven-plugin
2.1.0....
....
...
com.deviceinsight.azure
azure-blob-upload-maven-plugin
2.1.0
upload
deploy
upload
DefaultEndpointsProtocol=https;AccountName=someaccountname;AccountKey=somekey;EndpointSuffix=core.windows.net
somedir
somecontainer
....
Excluding files from upload:
....
extensions/**/*
**/*.json
....
Only including certain files also works:
....
**/*.html
....
= Releasing
The plugin can be released using:
....
mvn deploy -Prelease
....