You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Randal Kamradt (JIRA)" <ji...@codehaus.org> on 2011/08/28 18:11:32 UTC
[jira] Issue Comment Edited: (MSITE-600) site plugin 2.4 does not
permit a child to fully override parent site deployment URL
[ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277241#comment-277241 ]
Randal Kamradt edited comment on MSITE-600 at 8/28/11 11:11 AM:
----------------------------------------------------------------
Attached is an example parent and child pom
for this test to work up to failure, a webdev enabled server should be set up at the URL referenced in the parent-pom property. In my case, I'm using Apache 2 with mod_dav_fs.
With site plugin 3.0 a 403 error is returned in the child project when site-deploy is executed. I suspect that is because the child path is being made relative to the parent site URL.
With site plugin 3.0-beta-3 this works.
was (Author: randysr):
Attached is an example parent and child pom
for this test to work up to failure, a webdev enabled server should be set up at the following URL. In my case, I'm using Apache 2 with mod_dav_fs.
With site plugin 3.0 a 403 error is returned in the child project when site-deploy is executed. I suspect that is because the child path is being made relative to the parent site URL.
With site plugin 3.0-beta-3 this works.
> site plugin 2.4 does not permit a child to fully override parent site deployment URL
> ------------------------------------------------------------------------------------
>
> Key: MSITE-600
> URL: https://jira.codehaus.org/browse/MSITE-600
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: site:deploy
> Affects Versions: 2.3, 3.0
> Reporter: Benson Margulies
> Assignee: Lukas Theussl
> Fix For: 3.1
>
> Attachments: child-pom.xml, muddle.tar, parent-pom.xml, pom.xml
>
>
> The test cases here has a parent with a a distributionManagement/site/url, and then a child which overrides it with an absolute URL. Except that the override does not work ... or, at least, looks quite peculiar.
> the parent is file:///tmp/bloop
> the child is scp://localhost:/tmp/blop
> and the result is
> [INFO] Error uploading site
> Embedded error: Could not make directory '/tmp/bloop/../../Users/benson/asf/mvn/site-interp-muddle/child/scp:/localhost:/tmp/blop'.
> [INFO] ---------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira