[ https://issues.apache.org/jira/browse/IVY-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Renner updated IVY-1307: ------------------------------- Summary: Ivy does not create subdirectories when publishing to a 'url' repository (was: Ivy does not create subdirectories when publishing to a 'urlL repository) > Ivy does not create subdirectories when publishing to a 'url' repository > ------------------------------------------------------------------------ > > Key: IVY-1307 > URL: https://issues.apache.org/jira/browse/IVY-1307 > Project: Ivy > Issue Type: Bug > Components: Core > Affects Versions: 2.0, 2.1.0, 2.2.0 > Reporter: Martin Renner > > It is not possible to publish artifacts using a 'url' resolver with an 'http' > url. Ivy does not create the necessary subdirectories and thus fails with an > error. > If you want to publish _org=somemodule_, _module=artifact_, _revision=1.0_ to > an HTTP repository with a layout like > {{/ivy/\[organisation\]/\[module\]/\[revision\]/\[type\]s/\[artifact\].\[ext\]}}, > Ivy is sending one single {{PUT}} request: > {noformat}PUT /ivy/somemodule/artifact/1.0/jars/artifact.jar{noformat} > Ivy does not check for or create the subdirectories "{{somemodule}}", > "{{artifact}}", "{{1.0}}" and "{{jars}}". This makes it impossible to use an > 'url' resolver to publish artifacts. > For completeness: The server is Apache 2.2 with WebDAV enabled. So Ivy should > send "{{MKCOL}}" commands to create intermediate directories. > There is also a (older) > [thread|http://old.nabble.com/publishing-via-http-to28114003.html#a28114003] > on the mailing list for this issue. They come to the conclusion, that an ugly > hack is needed on the server (using a perl script). IMHO this is not an > option. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira