looks like a bug in maven-project-info-reports-plugin, which is the plugin 
launched by maven-site-plugin to generate every "Project information" reports

Notice: m-site-p launches plugins for each report, then a failure when 
generating a site is not always a m-site-p bug. But every bug in every report 
plugin launched by m-site-p is sometimes (often?) seen as m-site-p bug :)

I see you defined 
<maven.project.info.reports.plugin.version>2.7</maven.project.info.reports.plugin.version>
but you don't use it: are you sure that the latest plugin version is used in 
your test?

Regards,

Hervé

Le jeudi 20 février 2014 21:24:02 Justin Robbins a écrit :
> I am creating a Maven Site for a 3-level multi-module maven project which
> is structured like this:
> 
> parent
> 
>   >  child-a
>   >  
>   >>   child-b
> 
> I am running mvn site site:stage
> 
> The Maven site module link (from the About page) 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.)
> 
> See for yourself here:
> http://justinhrobbins.github.io/multi-module-site-report-test/site/0.0.1-SNA
> PSHOT/
> 
> I have the following in my parent pom:
> 
> <distributionManagement>
>     <site>
>         <id>site</id>
>         <name>site</name>
>         <url>scp://www.yourcompany.com/www/docs/project/</url>
>     </site>
> </distributionManagement>
> 
> 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 is not real, for the moment
> i want it to work in stage)
> 
> I added a simple test case project to Github that demonstrates the issue:
> https://github.com/justinhrobbins/multi-module-site-report-test
> 
> I am using the following plugin versions:
> 
> <maven.site.plugin.version>3.3</maven.site.plugin.version>
> <maven.source.plugin.version>2.2.1</maven.source.plugin.version>
> 
> I have also tried adding distributionManagement/site/url to each child
> module.  That fixes the link to child-b from the main Site page, but then
> the link from child-a to child-b is broken.  These changes can be found in
> this branch:
> https://github.com/justinhrobbins/multi-module-site-report-test/tree/Distrib
> utionMgtInEachModule
> 
> I have read the following relevant pages in the docs:
> http://maven.apache.org/plugins/maven-site-plugin/examples/multimodule.html
> http://maven.apache.org/plugins/maven-site-plugin/faq.html#Use_of_url
> 
> Any suggestions are appreciated.


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

Reply via email to