I would really like to know if you're using the <menu ref="parent"/> and
if it works??
I've been playing with it for the better part of two days, and I cannot
get the parent link to show up at all.
I've also been playing with breadcrumbs, but they appear to be severely
broken - or, I just don't understand what they're supposed to be used
for.  :-)


jaybytez wrote:
> Looks like it works if use the following at the command line:
> $ mvn site:stage
> -DstagingDirectory=c:/beaportal/user_projects/workspaces/default/avitek/published-site/site
>
> Is it best to build a site to a staging area and then push that staging area
> to a remote server?
>
> It appears to correctly have created the site with no modifications to POMs.
>
> My only outstanding question now is, the menu ref="parent" is not working
> for me in the child poms...any reason for this?
>
> Thanks - jay
>
>
>
> jaybytez wrote:
>   
>> I have the following structure for my app:
>> avitek
>> -avitekApp (EAR)
>>   - pom.xml
>> -avitekParent
>>   - src/site/site.xml
>>   - pom.xml
>> -avitekWeb (WAR)
>>   - pom.xml
>>
>> My parent pom.xml in avitekParent says the following:
>> [code]
>>     <modelVersion>4.0.0</modelVersion>
>>     <groupId>avitek-sample</groupId>
>>     <artifactId>parent</artifactId>
>>     <packaging>pom</packaging>
>>     <version>1.0-SNAPSHOT</version>
>>     <name>Maven 2 Portal Sample</name>
>>     <modules>
>>         <module>../avitekApp</module>
>>         <module>../avitekWeb</module>
>>     </modules>
>> [/code]
>>
>> Then my site.xml for the parent (avitekParent) says this:
>> [code]
>> <menu ref="modules" name="Components"/>
>> [/code]
>>
>> So when I open:
>> C:\beaportal\user_projects\workspaces\default\avitek\avitekParent\target\site\index.html
>> It gives me links to my child projects (modules), but the urls that get
>> generated into the html are like this:
>> C:\beaportal\user_projects\workspaces\default\avitek\avitekParent\target\site\avitekWeb\index.html
>> And they need to look like:
>> C:\beaportal\user_projects\workspaces\default\avitek\avitekWeb\target\site\index.html
>>
>> Any thoughts or suggestions?
>>
>> Thanks...jay
>>
>>     
>
>   

Reply via email to