You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benson Margulies (JIRA)" <ji...@codehaus.org> on 2011/07/28 06:36:42 UTC

[jira] Created: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

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.4
            Reporter: Benson Margulies
         Attachments: muddle.tar

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

        

[jira] Commented: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274499#comment-274499 ] 

Benson Margulies commented on MSITE-600:
----------------------------------------

I just checked one other aspect. If I remove the <relativePath> from the child, it still exhibits this behavior. This really seems chaotic to me due to its effect on independently released, poms. Consider the global ASF POM. No one wants to be building site URLs that assume any relationship to its site; it should have a site that documents it that is disconnected from any sites of projects that use it as a parent.

> 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.4
>            Reporter: Benson Margulies
>         Attachments: muddle.tar
>
>
> 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

        

[jira] Commented: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274503#comment-274503 ] 

Lukas Theussl commented on MSITE-600:
-------------------------------------

bq. I have projects where the parent is released and deployed independently of the child. In fact, much of Maven itself works this way.

All maven sub-project sites are deployed to scp://people.apache.org/www/maven.apache.org/ as far as I know.

Even though I still question the use case, I agree there is a bug. If both parent and child declare a distMngmt url (note this always has to be absolute), then the child should use it's own unaltered.

> 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.4
>            Reporter: Benson Margulies
>         Attachments: muddle.tar
>
>
> 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

        

[jira] Updated: (MSITE-600) site plugin 3.0 does not permit a child to fully override parent site deployment URL

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl updated MSITE-600:
--------------------------------

    Fix Version/s: 2.4

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274506#comment-274506 ] 

Lukas Theussl commented on MSITE-600:
-------------------------------------

bq. This is used as a parent throughout the ASF. 

I don't see the relevance, the ASF pom does not define a distributionManagement.site.url.

The maven pom https://svn.apache.org/repos/asf/maven/pom/trunk/maven/pom.xml OTOH does define one, but as I said, that's where all the maven sites go.

> 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.4
>            Reporter: Benson Margulies
>         Attachments: muddle.tar
>
>
> 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

        

[jira] Updated: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Randal Kamradt (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randal Kamradt updated MSITE-600:
---------------------------------

    Attachment: parent-pom.xml

> 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

        

[jira] (MSITE-600) site plugin 3.0 does not permit a child to fully override parent site deployment URL

Posted by "Fred Cooke (JIRA)" <ji...@codehaus.org>.
    [ 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

       

[jira] Commented: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274466#comment-274466 ] 

Benson Margulies commented on MSITE-600:
----------------------------------------

To run this just go to the child directory and run mvn site-deploy.



> 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.4
>            Reporter: Benson Margulies
>         Attachments: muddle.tar
>
>
> 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

        

[jira] Issue Comment Edited: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274465#comment-274465 ] 

Benson Margulies edited comment on MSITE-600 at 7/27/11 11:36 PM:
------------------------------------------------------------------

This is all testing with maven 2.2.1.

      was (Author: bmargulies):
    This is all testing with maven 2.2.0.
  
> 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.4
>            Reporter: Benson Margulies
>         Attachments: muddle.tar
>
>
> 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

        

[jira] Commented: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274504#comment-274504 ] 

Benson Margulies commented on MSITE-600:
----------------------------------------

Thanks. Just to make you feel better about the existence of the use case, I want to call out 
https://svn.apache.org/repos/asf/maven/pom/trunk/asf/pom.xml. This is used as a parent throughout the ASF. 

At my day job, we have used this structure extensively. We publish a corporate parent POM. It can live far away in http-space from the sites of the projects that use it.

> 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.4
>            Reporter: Benson Margulies
>         Attachments: muddle.tar
>
>
> 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

        

[jira] Commented: (MSITE-600) site plugin 3.0 does not permit a child to fully override parent site deployment URL

Posted by "Dan Rollo (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284652#comment-284652 ] 

Dan Rollo commented on MSITE-600:
---------------------------------

I tested this issue using maven-site-plugin:3.1-SNAPSHOT, and a parent pom (that happens to NOT be located above the child pom [like a shared corporate pom] - in case it matters). The behavior of the site plugin snapshot is "better", in that I can work around the issue and get something to deploy, but I'm seeing the problems below:

Invalid paths being created/attempted, like:
C:\...\someDir\${project.basedir}\target\
or
${project.basedir}\someDir\

(where the un-interpolated '${project.basedir}' actually shows in the path.

Also (not sure if it is related), I'm seeing a bogus empty directory getting created by the site-deploy goal.
This bogus dir is always empty, but it is outside (above) the 'target' dir, so I'm pretty sure that is not intended:
${project.basedir}\target\...
(the 2 or 3 deep empty directory tree is created in the current directory from which 'mvn' was executed).

Also, I noticed these bogus directories may be created in different levels (above 'target' dir) depending on whether you run:
mvn site-deploy
mvn site site:stage site-deploy
mvn site && mvn site:stage && mvn site-deploy

Should I open new bugs? Any other info I can share? 

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274496#comment-274496 ] 

Benson Margulies commented on MSITE-600:
----------------------------------------

I have projects where the parent is released and deployed independently of the child. In fact, much of Maven itself works this way. There is still a relativePath for use in SNAPSHOT development when everything in the tree happens to be hanging out together.

This is a regression from 2.2 (2.3 has other problems in this area), where it works fine.

It seems to me that the code should ask, 'is the resolved child <url> absolute', and, if it is, don't change it; checking to see if the protocols are different couldn't hurt either.

In general, if I wanted inheritance, I'd leave the <url> spec out of the child. If I write a spec in a child, it has to override the parent.





> 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.4
>            Reporter: Benson Margulies
>         Attachments: muddle.tar
>
>
> 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

        

[jira] (MSITE-600) site plugin 3.0 does not permit a child to fully override parent site deployment URL

Posted by "Dan Rollo (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=316598#comment-316598 ] 

Dan Rollo commented on MSITE-600:
---------------------------------

I intended to, but did not file a new Jira Issue for this problem.

I wanted to create a simple set of test projects that demonstrate the problem, and submit these with the new Jira info (and never got around to it).

I still think it is worth doing that (and still don't have the cycles right now...) because I'm still seeing unexpected URL values with the latest site plugin too. (And the difference between the "effective pom" and the actual is troubling - maybe that is related to other changes needed in the core?).
                
> 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

        

[jira] Issue Comment Edited: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Randal Kamradt (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Updated: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl updated MSITE-600:
--------------------------------

    Affects Version/s:     (was: 2.4)
                       2.3
                       3.0
        Fix Version/s: 3.1
             Assignee: Lukas Theussl

> 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: muddle.tar
>
>
> 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

        

[jira] Commented: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274497#comment-274497 ] 

Benson Margulies commented on MSITE-600:
----------------------------------------

How about adding an attribute to url to control this inheritance if absolute pathname checks don't make sense?

> 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.4
>            Reporter: Benson Margulies
>         Attachments: muddle.tar
>
>
> 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

        

[jira] (MSITE-600) site plugin 3.0 does not permit a child to fully override parent site deployment URL

Posted by "Fred Cooke (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=316606#comment-316606 ] 

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

Thanks for following this up, Dan! Much appreciated. I have a sample project from another issue that can illustrate the issue. Maybe I'll adapt it for this issue/and/or a new issue (if whomever prefers) later today. Maybe :-)
                
> 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

        

[jira] Closed: (MSITE-600) site plugin 3.0 does not permit a child to fully override parent site deployment URL

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed MSITE-600.
-------------------------------

    Resolution: Fixed

> 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: 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-600) site plugin 3.0 does not permit a child to fully override parent site deployment URL

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284656#comment-284656 ] 

Lukas Theussl commented on MSITE-600:
-------------------------------------

Please open another ticket. A test case using local file deploy will help. Thanks!

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MSITE-600) site plugin 3.0 does not permit a child to fully override parent site deployment URL

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl updated MSITE-600:
--------------------------------

    Summary: site plugin 3.0 does not permit a child to fully override parent site deployment URL  (was: site plugin 2.4 does not permit a child to fully override parent site deployment URL)

> 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: 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=279754#comment-279754 ] 

Lukas Theussl commented on MSITE-600:
-------------------------------------

I committed a fix that works for me locally (but I expect problems on Windows which I can't test): [r1174614|http://svn.apache.org/viewvc?rev=1174614&view=rev]. 3.1-SNAPSHOT is deployed, any feedback appreciated.

> 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
>
>
> 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

        

[jira] Commented: (MSITE-600) site plugin 3.0 does not permit a child to fully override parent site deployment URL

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=280015#comment-280015 ] 

Lukas Theussl commented on MSITE-600:
-------------------------------------

Jenkins seems happy now, so I'm closing this. I also merged the fix back to the 2.4 branch ([r1176233|http://svn.apache.org/viewvc?rev=1176233&view=rev]) and deployed a snapshot, if someone wants to test.

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274507#comment-274507 ] 

Benson Margulies commented on MSITE-600:
----------------------------------------

it doesn't define it because of this set of problems. People keep asking us to make a site for that pom, but we keep not doing it. 

I admit that I am now arguing in something of a circle. 

I'll stick to the statement of principle: a parent with no <modules> used as a global resource cries out for a documentation site, and fixing this issue will make that possible without messing up the documentation sites.


> 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.4
>            Reporter: Benson Margulies
>         Attachments: muddle.tar
>
>
> 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

        

[jira] Updated: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl updated MSITE-600:
--------------------------------

    Attachment:     (was: pom.xml)

> 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
>
>
> 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

        

[jira] Commented: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Randal Kamradt (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277242#comment-277242 ] 

Randal Kamradt commented on MSITE-600:
--------------------------------------

I accidentally attached the incorrect pom file, the child-pom.xml and parent-pom.xml are the ones referenced in the above comment.  Please ignore (or delete if possible) the pom.xml

> 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

        

[jira] Updated: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Randal Kamradt (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randal Kamradt updated MSITE-600:
---------------------------------

    Attachment: pom.xml
                child-pom.xml

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, 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

        

[jira] Commented: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274473#comment-274473 ] 

Lukas Theussl commented on MSITE-600:
-------------------------------------

Is this a realistic use case? Why would you want to deploy the child to a different host? I think that currently it is assumed that related sites (modules, parent) are deployed to the same host, otherwise e.g. relative links between components will not work.

> 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.4
>            Reporter: Benson Margulies
>         Attachments: muddle.tar
>
>
> 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

        

[jira] Commented: (MSITE-600) site plugin 2.4 does not permit a child to fully override parent site deployment URL

Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274465#comment-274465 ] 

Benson Margulies commented on MSITE-600:
----------------------------------------

This is all testing with maven 2.2.0.

> 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.4
>            Reporter: Benson Margulies
>         Attachments: muddle.tar
>
>
> 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