[ http://jira.codehaus.org/browse/MNG-661?page=comments#action_52196 ] 

Vincent Siveton commented on MNG-661:
-------------------------------------

John,

I liked your comments, and ideas, specially the "stage idea". Much appreciated.

To resolve the testing pb, I propose to define a new Mojo that will "simulate" 
a deployment.

SimulateDeployMojo should have a stagingDirectory as parameter.
SimulateDeployMojo could replace project.url by an hardcode url based on the 
stagingDirectory (I mean file schema)

Details :
Multiproject
distributionManagement.site.url=scp://myHost/www/myPath/multiproject/
stagingDirectory=C:\testingsite

Multiproject.framework1
distributionManagement.site.url=scp://myHost/www/myPath/framework1/

Multiproject.framework2
distributionManagement.site.url=scp://myOtherHost/www/myOtherPath/framework2/

If distributionManagement.site.url is never defined, try to use the project.url.

The Mojo will create the following structure and all links (parent project and 
modules) should be hardcode.
C:\testingsite
  |-myHost
    |-www
      |--myPath
        |--multiproject
        |--framework1
  |-myOtherHost
    |-www
      |--myOtherPath
        |--framework2

WDYT?

> In parent site, automatically create link to modules sites and vice-versa
> -------------------------------------------------------------------------
>
>          Key: MNG-661
>          URL: http://jira.codehaus.org/browse/MNG-661
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-site-plugin
>     Versions: 2.0-alpha-3
>     Reporter: Yann Le Du
>     Assignee: Vincent Siveton
>     Priority: Minor
>      Fix For: 2.0.1
>  Attachments: SiteMojoPatch.txt, SiteMojoPatch.txt, SiteMojoPatch.txt
>
>
> Say we have the following project structure :
> A
> +-- B
>     +-- C
> +-- D
> It would be nice to have the following links in the left menu of the 
> generated sites :
> A :
> Modules : B, D
> B :
> Parent : A
> Modules : C
> C :
> Parent : B
> D :
> Parent : A

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to