Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0-beta-3
-
Fix Version/s: 3.0
-
Component/s: inheritance, Maven 3
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
the IT has been added when working on 3.0, but when tested on released version 3.0.-beta-3, it is failing too
[INFO] ------------------------------------------------- [ERROR] The following builds failed: [ERROR] * inheritedMenus/pom.xml [INFO] -------------------------------------------------
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)
Issue Links
Activity
Herve Boutemy
made changes -
Herve Boutemy
made changes -
Herve Boutemy
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Herve Boutemy [ hboutemy ] | |
| Fix Version/s | 3.0 [ 16829 ] | |
| Resolution | Fixed [ 1 ] |
Lukas Theussl
made changes -
| Component/s | inheritance [ 12943 ] |
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