You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Denis Ivanov (Jira)" <ji...@apache.org> on 2020/06/10 15:41:00 UTC

[jira] [Created] (WAGON-598) Backblaze Wagon Provider

Denis Ivanov created WAGON-598:
----------------------------------

             Summary: Backblaze Wagon Provider
                 Key: WAGON-598
                 URL: https://issues.apache.org/jira/browse/WAGON-598
             Project: Maven Wagon
          Issue Type: New Feature
            Reporter: Denis Ivanov


Hello friends!

I'd like to implement a new provider for storing artifacts at Backblaze B2 Cloud.
 Their raw HTTP API requires some additional steps for getting and uploading data so using wagon-http extension is not possible.
 Here is an official [client|https://github.com/Backblaze/b2-sdk-java] and I can make a wrapper on top of it.

I have a question about getting information from ~/.m2/settings.xml from my java code.

For example I haveĀ *settings.xml*:
{code:xml}
<servers>
  <server>
    <id>backblaze.com</id>
    <access-key-id>${text}</access-key-id>
    <access-key-secret>${text}</access-key-secret>
  </server>
</servers>
{code}
and *pom.xml*:
{code:xml}
<distributionManagement>
  <repository>
    <id>backblaze.com</id>
    <url>b2://bucket endpoint provided after creating/bucket-name/release</url>
  </repository>
</distributionManagement>
{code}
If someone helps with an example usage it will be great! Any example implementations are very appreciated!

Thanks in advance!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)