[ 
https://issues.apache.org/jira/browse/WAGON-598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17133275#comment-17133275
 ] 

Denis Ivanov commented on WAGON-598:
------------------------------------

[~michael-o] Thanks for reply! If I got your point properly I should make a 
third party extension and publish it to GitHub. Right?
I have spent some time for understanding runtime environment of Maven and how 
to debug extension. Is it possible? :) Could you please provide some projects 
as examples or sth like that? Maven Wagon project has some tests but there is 
not clear how to put an arbitrary data to pom.xml/settings.xml and get an 
access to that data from provider class.

Thanks in advance!

> 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
>            Priority: Minor
>
> 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)

Reply via email to