maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <>
Subject [jira] [Commented] (MSITE-723) "About" report generated even though index.apt is available in "generated-site"
Date Sat, 06 Feb 2016 21:04:39 GMT


Hudson commented on MSITE-723:

FAILURE: Integrated in maven-plugins #5055 (See [])
[MSITE-723] render generated-site before reports, in case content was generated in pre-site
phase (hboutemy: [])
* maven-site-plugin/src/it/MSITE-723
* maven-site-plugin/src/it/MSITE-723/index.apt
* maven-site-plugin/src/it/MSITE-723/
* maven-site-plugin/src/it/MSITE-723/pom.xml
* maven-site-plugin/src/it/MSITE-723/verify.groovy
* maven-site-plugin/src/main/java/org/apache/maven/plugins/site/render/

> "About" report generated even though index.apt is available in "generated-site"
> -------------------------------------------------------------------------------
>                 Key: MSITE-723
>                 URL:
>             Project: Maven Site Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0, 3.0, 3.4
>            Reporter: Andrius Velykis
>             Fix For: 3.5
>         Attachments:
> Normally, if there is an apt/index.apt file in the /src/site directory, About report
is not generated, and the following message is displayed: Skipped "About" report, file "index.html"
already exists for the English version.
> Expecting the same behaviour, I have a situation, where the index.apt file is generated
automatically (e.g. copied from somewhere) during `pre-site` phase. maven-site-plugin allows
specifying an additional `generatedSiteDirectory` parameter for these files (see
> However, in this case, the "About" report is generated and overrides the copied file
from `generatedSiteDirectory` parameter.
> I would expect the "About" report to be not generated, if index.apt is available in the
> I have attached a sample project, which uses `antrun` to copy a file to /target/generated-site/apt/index.apt.
When you run `mvn site`, it will still display the default "About" page. As an example that
`generatedSiteDirectory` works, I also copy the same file to index-copy.apt and an index-copy.html
is generated correctly.

This message was sent by Atlassian JIRA

View raw message