title: How to fix broken sub-module links in Maven Site for multi-module project?
body: <p>I am creating a Maven Site for a 3-level multi-module maven project which is structured like this:</p>
  
  <pre><code>parent 
      child-a
          child-b
  </code></pre>
  
  <p>I am running <code>mvn site site:stage</code></p>
  
  <p>The Maven site module link works for child-a but is broken for the nested module child-b.  (The link to child-b does work if I first click the link to child-a.)</p>
  
  <p>See for yourself here:
  <a href="http://justinhrobbins.github.io/multi-module-site-report-test/site/0.0.1-SNAPSHOT/" rel="nofollow">http://justinhrobbins.github.io/multi-module-site-report-test/site/0.0.1-SNAPSHOT/</a></p>
  
  <p>I have the following in my parent pom:</p>
  
  <pre><code>&lt;distributionManagement&gt;
      &lt;site&gt;
          &lt;id&gt;site&lt;/id&gt;
          &lt;name&gt;site&lt;/name&gt;
          &lt;url&gt;scp://www.yourcompany.com/www/docs/project/&lt;/url&gt;
      &lt;/site&gt;
  &lt;/distributionManagement&gt;
  </code></pre>
  
  <p>What needs to be done in order for the links to work for all the project modules in this Maven site report?  (i know the <code>&lt;url&gt;</code> is not real, for the moment i want it to work in stage)</p>
  
  <p>I added a simple test case project to Github that demonstrates the issue:
  <a href="https://github.com/justinhrobbins/multi-module-site-report-test" rel="nofollow">https://github.com/justinhrobbins/multi-module-site-report-test</a></p>
  
  <p>EDIT: I am using the following plugin versions:</p>
  
  <pre><code>&lt;maven.site.plugin.version&gt;3.3&lt;/maven.site.plugin.version&gt;   
  &lt;maven.project.info.reports.plugin.version&gt;2.7&lt;/maven.project.info.reports.plugin.version&gt;
  </code></pre>