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)
  • Maven 2.x and 3.x Site Plugin
  • MSITE-348

bannerLeft not correctly overriden from the inherited one since 2.0-beta-6 in a reactor build

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0-beta-6, 2.0-beta-7
  • Fix Version/s: 2.0-beta-7
  • Component/s: multi module
  • Labels:
    None

Description

I just tryed to build an old project and I found that it was no more working.
After investigating this I see that now maven ends up installing a wrong site.xml (the one from the parent) instead of the right one.

I attach a simple multimodule project to reproduce this issue.

If you run an "mvn install site" from the root you see that in the

If you see in site-plugin-test/project/module/target/site/index.html it references the banner declared in site-plugin-test/src/site/site.xml and not the one from site-plugin-test/project/module/src/site/site.xml.

Try uncommenting the pluginManagement where I declare site 2.0-beta-5 and everything will work fine!
I don't know how to setup the environment to be able to create an it test to submit to the site plugin developers, hope the test is good enough.

Probably this is related to MSITE-347

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    site-plugin-test.zip
    06/Aug/08 8:36 AM
    4 kB
    Stefano Bagnara
    1. XML File
      site-plugin-test/pom.xml 0.8 kB
    2. XML File
      site-plugin-test/project/module/pom.xml 0.8 kB
    3. XML File
      site-plugin-test/project/.../site/site.xml 0.3 kB
    4. XML File
      site-plugin-test/project/pom.xml 2 kB
    5. XML File
      site-plugin-test/project/.../site/site.xml 0.2 kB
    6. XML File
      site-plugin-test/src/site/site.xml 0.2 kB
    Download Zip
    Show
    Zip Archive
    site-plugin-test.zip
    06/Aug/08 8:36 AM
    4 kB
    Stefano Bagnara

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Dennis Lundberg added a comment - 08/Feb/09 4:42 PM

I tried the attached project. It works incorrectly with Maven Site Plugin 2.0-beta-6 as stated, but itworks correctly with 2.0-beta-5 and 2.0-beta-7.

Show
Dennis Lundberg added a comment - 08/Feb/09 4:42 PM I tried the attached project. It works incorrectly with Maven Site Plugin 2.0-beta-6 as stated, but itworks correctly with 2.0-beta-5 and 2.0-beta-7.

People

  • Assignee:
    Unassigned
    Reporter:
    Stefano Bagnara
Vote (0)
Watch (1)

Dates

  • Created:
    06/Aug/08 8:36 AM
    Updated:
    08/Feb/09 4:42 PM
    Resolved:
    08/Feb/09 4:42 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.