jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 2.x and 3.x Site Plugin
  • Maven 2.x and 3.x Site Plugin
  • MSITE-595

inheritedMenus IT fails

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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 :
    0

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

is related to

Bug - A problem which impairs or prevents the functions of the product. MSITE-596 inheritedReports IT fails

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
relates to

Improvement - An improvement or enhancement to an existing feature or task. MSITE-560 make maven-site-plugin 3.x work both with Maven 2.2 and Maven 3.x

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Herve Boutemy made changes - 19/Jul/11 2:30 PM
Field Original Value New Value
Link This issue relates to MSITE-560 [ MSITE-560 ]
Hide
Permalink
Herve Boutemy added a comment - 19/Jul/11 2:48 PM

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

Show
Herve Boutemy added a comment - 19/Jul/11 2:48 PM 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
Hide
Permalink
Herve Boutemy added a comment - 19/Jul/11 4:07 PM - edited

menu inheritance IT decoupled from report inheritance in r1148517

both are failing for now, then are skipped for Maven 3

Show
Herve Boutemy added a comment - 19/Jul/11 4:07 PM - edited menu inheritance IT decoupled from report inheritance in r1148517 both are failing for now, then are skipped for Maven 3
Herve Boutemy made changes - 19/Jul/11 4:19 PM
Link This issue is related to MSITE-596 [ MSITE-596 ]
Hide
Permalink
Herve Boutemy added a comment - 19/Jul/11 4:20 PM

MSITE-596 created to track report inheritance bug
the current Jira is for menu inheritance bug

Show
Herve Boutemy added a comment - 19/Jul/11 4:20 PM MSITE-596 created to track report inheritance bug the current Jira is for menu inheritance bug
Hide
Permalink
Herve Boutemy added a comment - 19/Jul/11 4:56 PM - edited

fixed: the IT was wrong when decoupled from report inheritance MSITE-596

Show
Herve Boutemy added a comment - 19/Jul/11 4:56 PM - edited fixed: the IT was wrong when decoupled from report inheritance MSITE-596
Herve Boutemy made changes - 19/Jul/11 4:56 PM
Status Open [ 1 ] Closed [ 6 ]
Assignee Herve Boutemy [ hboutemy ]
Fix Version/s 3.0 [ 16829 ]
Resolution Fixed [ 1 ]
Lukas Theussl made changes - 20/Jul/11 1:34 AM
Component/s inheritance [ 12943 ]

People

  • Assignee:
    Herve Boutemy
    Reporter:
    Herve Boutemy
Vote (0)
Watch (1)

Dates

  • Created:
    19/Jul/11 2:27 PM
    Updated:
    09/Apr/13 7:37 PM
    Resolved:
    19/Jul/11 4:56 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.