You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2011/07/19 21:29:42 UTC

[jira] Created: (MSITE-595) inheritedMenus IT fails

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

        

[jira] Commented: (MSITE-595) inheritedMenus IT fails

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273689#comment-273689 ] 

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

menu inheritance IT decoupled from report inheritance

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

> 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

        

[jira] Commented: (MSITE-595) inheritedMenus IT fails

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Closed: (MSITE-595) inheritedMenus IT fails

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSITE-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed MSITE-595.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0
         Assignee: Herve Boutemy

fixed: the IT was wrong

> 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
>            Assignee: Herve Boutemy
>             Fix For: 3.0
>
>
> 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

        

[jira] Updated: (MSITE-595) inheritedMenus IT fails

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSITE-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl updated MSITE-595:
--------------------------------

    Component/s: inheritance

> 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: inheritance, Maven 3
>    Affects Versions: 3.0-beta-3
>            Reporter: Herve Boutemy
>            Assignee: Herve Boutemy
>             Fix For: 3.0
>
>
> 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

        

[jira] Issue Comment Edited: (MSITE-595) inheritedMenus IT fails

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273694#comment-273694 ] 

Herve Boutemy edited comment on MSITE-595 at 7/19/11 4:57 PM:
--------------------------------------------------------------

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

      was (Author: hboutemy):
    fixed: the IT was wrong
  
> 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
>            Assignee: Herve Boutemy
>             Fix For: 3.0
>
>
> 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

        

[jira] Commented: (MSITE-595) inheritedMenus IT fails

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MSITE-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=273690#comment-273690 ] 

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

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

> 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