[ 
https://jira.codehaus.org/browse/MSITE-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273677#comment-273677
 ] 

Herve Boutemy commented on MSITE-595:
-------------------------------------

the FileNotFoundException is caused by MPIR configuration: parent project 
configures index report, child project configures summary and grandchild 
configures scm

with M2, each report is *added*: grandchild has 3 reports generated = 
index+summary+scm
with M3, each report replaces previous one: grandchild has 1 report = scm

What is the expected behaviour? I'd say M2 is buggy, since POM inheritance 
logic usually replaces instead adding
Should try to stick with M2 behaviour? (if feasible, I still didn't check)


Notice that the "wrong inherited menu items" message is not here with actual 
3.0-SNAPSHOT

> inheritedMenus IT fails
> -----------------------
>
>                 Key: MSITE-595
>                 URL: https://jira.codehaus.org/browse/MSITE-595
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: Maven 3
>    Affects Versions: 3.0-beta-3
>            Reporter: Herve Boutemy
>
> the IT has been added when working on 3.0, but when tested on released 
> version 3.0.-beta-3, it is failing too
> {noformat}[INFO] -------------------------------------------------
> [ERROR] The following builds failed:
> [ERROR] *  inheritedMenus/pom.xml
> [INFO] -------------------------------------------------{noformat}
> {noformat}Running post-build script: 
> /home/herve/projets/maven/tags/maven-site-plugin-3.0-beta-3/target/it/inheritedMenus/verify.bsh
> parent index.html has wrong inherited menu items!
> parent index.html has wrong local menu items!
> no index file in child or is a directory.
> java.io.FileNotFoundException: 
> /home/herve/projets/maven/tags/maven-site-plugin-3.0-beta-3/target/it/inheritedMenus/parentNotAsRef/childNotAsRef/target/site/index.html
>  (No such file or directory)
>       at java.io.FileInputStream.open(Native Method)
>       at java.io.FileInputStream.<init>(FileInputStream.java:137)
>       at 
> org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:332){noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to