You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Fred Cooke (JIRA)" <ji...@codehaus.org> on 2012/12/31 22:10:13 UTC

[jira] (MSITE-600) site plugin 3.0 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=316421#comment-316421 ] 

Fred Cooke commented on MSITE-600:
----------------------------------

Firstly, did Dan file another issue on this matter? If so, number/link?

Secondly:

As far as I can tell this is not at all fixed in 3.2. I opened MSITE-672 earlier, and having seen that this existed, and was closed, updated to 3.2 and put a spec into my child POM expecting a workaround. Same situation as Benson mentions above, IE, global parent used for everything. In my case, I'm *trying* to be smarter, and being thwarted by m-site-p. What I want is my variable-filled url in the parent, and the values from each child used to give a unique path on the server. In lieu of that, and because it works for the SCM connection ONLY when done in the child (MRELEASE-814 filed for that...), I am trying to work around it by overriding with the exact same variable value in my child, and yet it resolves to the parent values with no relationship. In my case, I want the server to be the same, and specify it in the parent. Just the path varies, however this just isn't working, no matter what I try. I can only assume that I have to release yet another parent (5th today...) setup without the site distribution at all and then specify it in the child. The duplication is just getting ridiculous.

In response to any claim that fiddling with a global convention is justified, the "effective pom" shows the correct values in all cases.
                
> site plugin 3.0 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: 2.4, 3.1
>
>         Attachments: child-pom.xml, muddle.tar, parent-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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira