You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2016/02/24 11:44:18 UTC
[jira] [Commented] (SLING-5557) Intermediate folder cannot deal
with redirects
[ https://issues.apache.org/jira/browse/SLING-5557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15162799#comment-15162799 ]
Konrad Windszus commented on SLING-5557:
----------------------------------------
The reason for that is that the GET request towards
{{http://localhost:4502/crx/repository}} returns a 302 with a location header pointing to the default workspace ({{http://localhost:4502/crx/repository/crx.default}}).
> Intermediate folder 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)