Thanks for the suggestion.  I will definitely look into it.

I tried just doing the following in my child site.xml:

    <menu name="Used By">
      <item name="Avitek Parent" href="../index.html"/>
    </menu>

But this didn't work, it didn't even show the link.  It's interesting,
almost like the parent site.xml doesn't care about the child site.xmls.

When I run $ mvn site:stage
-DstagingDirectory=c:/beaportal/user_projects/workspaces/default/avitek/published-site/site

It correctly takes my structure:
-avitekApp (EAR)
  - pom.xml
-avitekParent
  - src/site/site.xml (<menu ref="modules" name="Components"/>)
  - pom.xml
-avitekWeb (WAR)
  - pom.xml

And creates a structure of:
-site
  - Parent Site
    - avitekApp Site
       - index.html
    - avitekWeb Site
       - index.html
    - index.html (with links to child sites)

It's just that the child sites, don't show a link to the parent.  I will try
the information you provided in the responses to see if it works.

When you run mvn site against a parent pom, does it use the parent site.xml
and the child site.xmls to build the generated site?

Thanks,

Jay

-- 
View this message in context: 
http://n2.nabble.com/site.xml-for-parent-child-site-which-are-siblings-tp3259842p3268421.html
Sent from the maven users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to