You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/01/07 21:12:00 UTC

[jira] [Updated] (WAGON-624) wagon-http webdav MKCOL - create parent directories for the uploaded files

     [ https://issues.apache.org/jira/browse/WAGON-624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated WAGON-624:
---------------------------------
    Fix Version/s: waiting-for-feedback

> wagon-http webdav MKCOL - create parent directories for the uploaded files
> --------------------------------------------------------------------------
>
>                 Key: WAGON-624
>                 URL: https://issues.apache.org/jira/browse/WAGON-624
>             Project: Maven Wagon
>          Issue Type: Improvement
>          Components: wagon-http, wagon-webdav
>    Affects Versions: 3.5.1
>            Reporter: Andrew Gurinovitch
>            Priority: Major
>             Fix For: waiting-for-feedback
>
>
> WAGON-121 describes this problem.
> wagon-http doesn't create parent dirs when uploading a file over webdav
> e.g. webdav PUT /maven/io/jooby/jooby-project/2.11.1-SNAPSHOT/jooby-project-2.11.1-20220107.184108-1.pom HTTP/1.1 will fail with 403 if any of the parent dirs are missing.
> It was suggested in WAGON-121 to use WebDAV verb MKCOL(defined in rfc4918) to create the intermediate dirs(recursively).
> WAGON-121 was closed as "wontfix" since webdav was out of scope of wagon-http, however things have changed since 2010, and webdav support seems to be folded to wagon-http now:
> "This Wagon provider is deprecated and will be removed in version 4.0.0. Its features will be partially folded into the default HTTP provider."
>  
> I suggest we should recursively create directory structure for the files uploaded over the webdav.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)