[ https://issues.apache.org/jira/browse/SLING-5557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15162957#comment-15162957 ]
Konrad Windszus commented on SLING-5557: ---------------------------------------- IMHO the JSON rendition check is wrong (to check if the parent resource is there). If we rely on WebDAV (which we IMHO do if we use PUT) we should rather issue a HEAD request towards the folder URI. > Intermediate folder creation cannot deal with redirects > ------------------------------------------------------- > > Key: SLING-5557 > URL: https://issues.apache.org/jira/browse/SLING-5557 > Project: Sling > Issue Type: Bug > Components: Maven Plugins and Archetypes > Affects Versions: Maven Sling Plugin 2.1.6 > Reporter: Konrad Windszus > > The fix from SLING-3540 does not seem to work with bundle > {{org.apache.sling.jcr.webdav}} in version {{2.3.0}}. I receive the error > {code} > Installation on > http://localhost:4502/crx/repository/crx.default/apps/<any-folder>/install > failed, cause: Failed creating intermediate path at > http://localhost:4502/crx/repository. Reason: Moved Temporarily > {code} > The plugin is configured like this > {code} > <plugin> > <groupId>org.apache.sling</groupId> > <artifactId>maven-sling-plugin</artifactId> > <version>2.1.6</version> > <configuration> > > <slingUrl>${cq.server}/crx/repository/${some.workspace}${package.root}/install</slingUrl> > <usePut>true</usePut> > <user><some user></user> > <password><some password></password> > <failOnError>true</failOnError> > </configuration> > </plugin> > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)