You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matthew Beermann <mb...@yahoo.com> on 2005/12/14 22:25:05 UTC

[m2] Links from parent site to module site

I want to create a parent site that has links to the modules' sites. MNG-661, about this very issue, was recently fixed. I pulled a snapshot of the site plugin; now how do I get it to actually work?
   
  Details: In the POM of my parent project, I have entries that say:
   
  <modules>
      <module>../my-module</module>
  </modules>
   
  The parent project's site generates normally, but no links appear to the modules. Note that in my case, module == URL, because my repository is structured in such a way that parent are child are on the same level. Not sure if that's an issue or not.
   
  Any suggestions on making this work?
   
  --Matthew Beermann

			
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

RE: [m2] Links from parent site to module site

Posted by John Allen <jo...@hotmail.com>.
Re your layout, that's not a problem. 

If you are using the correct version of the plugin (i.e. the patches have
been applied) then specify ${modules} in your site.xml:-

<?xml version="1.0" encoding="${outputEncoding}"?>
<project name="${project.name}">
  <bannerLeft>
    <name>${project.name}</name>
    <src>images/company-logo.png</src>
    <href>${project.url}</href>
  </bannerLeft>

  <body>
    <links>
      <item name="${project.name}" href="${project.url}"/>
    </links>
    ${parentProject}
    ${modules}
    ${reports}
  </body>
</project>



-----Original Message-----
From: Edwin Punzalan [mailto:epunzalan@exist.com] 
Sent: 15 December 2005 06:38
To: Maven Users List
Subject: Re: [m2] Links from parent site to module site


Please see: 
http://maven.apache.org/guides/development/guide-testing-development-plugins
html


Matthew Beermann wrote:

>I want to create a parent site that has links to the modules' sites.
MNG-661, about this very issue, was recently fixed. I pulled a snapshot of
the site plugin; now how do I get it to actually work?
>   
>  Details: In the POM of my parent project, I have entries that say:
>   
>  <modules>
>      <module>../my-module</module>
>  </modules>
>   
>  The parent project's site generates normally, but no links appear to the
modules. Note that in my case, module == URL, because my repository is
structured in such a way that parent are child are on the same level. Not
sure if that's an issue or not.
>   
>  Any suggestions on making this work?
>   
>  --Matthew Beermann
>
>			
>---------------------------------
>Yahoo! Shopping
> Find Great Deals on Holiday Gifts at Yahoo! Shopping 
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Links from parent site to module site

Posted by Edwin Punzalan <ep...@exist.com>.
Please see: 
http://maven.apache.org/guides/development/guide-testing-development-plugins.html


Matthew Beermann wrote:

>I want to create a parent site that has links to the modules' sites. MNG-661, about this very issue, was recently fixed. I pulled a snapshot of the site plugin; now how do I get it to actually work?
>   
>  Details: In the POM of my parent project, I have entries that say:
>   
>  <modules>
>      <module>../my-module</module>
>  </modules>
>   
>  The parent project's site generates normally, but no links appear to the modules. Note that in my case, module == URL, because my repository is structured in such a way that parent are child are on the same level. Not sure if that's an issue or not.
>   
>  Any suggestions on making this work?
>   
>  --Matthew Beermann
>
>			
>---------------------------------
>Yahoo! Shopping
> Find Great Deals on Holiday Gifts at Yahoo! Shopping 
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org