[ 
http://jira.codehaus.org/browse/MSITE-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=181557#action_181557
 ] 

Benson Margulies commented on MSITE-409:
----------------------------------------

I turn out to have hit two problems here. One is MSITE-395. The other has to do 
with parent structure, so I'll detail it more clearly.
{noformat}
                         pom.xml
                              |
          -----------------------------------
          |         |          |           |
    parent   mod1 mod2  mod3
{noformat}

In, say, mod1, the pom.xml declares the parent to have a relative path of 
../parent.
In parent, the parent is the toplevel project.

If I run the site plugin at toplevel, the modN modules have their sites 
generated inside of the directory of the parent module. Explicitly declaring 
the URL doesn't help. I guess explicitly declaring the distributionManagement 
URL might help.



> Incorrect URLs in multi-module project
> --------------------------------------
>
>                 Key: MSITE-409
>                 URL: http://jira.codehaus.org/browse/MSITE-409
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0
>            Reporter: Benson Margulies
>
> I have a top-level pom and some modules. One of the modules serves as a 
> parent for most, but not all, of the rest.
> Thus, for most, the parent is ../parent, and for that the parent is the 
> top-level project itself.
>  I ran:
> mvn site:stage -DstagingDirectory=/Users/benson/stage
> It takes a very long time.
> All of my child links came out incorrectly: e.g:
> <a 
> href="../../Users/benson/x/trunk/greenhouse/etrog/../../../../hudson.basistech.net/home/projects/etrog">RLPJ
>  Buildtools</a>
> There aren't distinct subdirectories in the staged dir for those of my 
> modules that use the parent. Actually, now that I look, I see that the ones 
> that parent into ../parent are subdirectories of 'parent' instead of 
> subdirectories of the top-level. But the links are still all wrong.

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

        

Reply via email to