Dennis, I had gone through this FAQ already. I gave the url to be "mysite" and did a "mvn site:stage" it generated a site under "mysite" folder with all the links correctly in place. But my problem is "mvn site:deploy" is still showing as maven.apache.org and I am not sure why mvn site:stage and mvn site:deploy are giving different results.
I also noticed the goals page in the website and saw that there is something like "mvn site:stage-deploy" which I guessed is what I should be using (Possibly it first does a stage and then deploy). However using that is throwing "[WARNING] Error loading report org.apache.maven.plugin.jxr.JxrReport - AbstractMethodError: canGenerateReport()" Rennie, As per your suggestion I had removed the <url> element from my pom.xml and in my case it did not make a difference. Please let me know if you want any console logs or any other information. Thanks, Kannan On Nov 14, 2007 11:49 PM, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > > http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why%20doesn't%20the%20links%20between%20parent%20and%20child%20modules%20work%20when%20I%20run%20'mvn%20site<http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why%20doesn%27t%20the%20links%20between%20parent%20and%20child%20modules%20work%20when%20I%20run%20%27mvn%20site> > '? > > Kannan Ekanath wrote: > > Hi, > > Maven 2.0.4 > > I am trying to use the "mvn site" target for generating the site. Before > > configuring pmd, cobertura etc, I want a basic report of my project. I > have > > a root project called the "server" which has two modules "domain" and > > "webapp". These modules are configured in the server's pom.xml and the > > module level pom's have their "parent" configured. (The version being > > 0.1-SNAPSHOT for all modules and project) > > > > When I run the mvn site, it first generates a site for the root server > and > > then generates site for the modules. However, When I open the index.htmlin > > the server's target/site directory, I see that it has links to the > modules > > but when I click on them it points to maven.apache.org instead of the > > relative path to the module's site directory. There was no error while > > generating this site, and I can see the site folder inside each and > every > > module. (Only the links between the parent project's site/index.html to > the > > module level index.html is missing) > > > > Can someone please let me know about what I can do about this? > > > > PS: Please advice if there is a specific plugin mailing list for maven > site > > in case this is not the right forum > > > > > -- > Dennis Lundberg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Regards, Kannan Ekanath