Maven 2.x and 3.x Site Plugin

maven site plugin typo prevents parent site.xml resolution from working

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0-beta-5
  • Fix Version/s: 2.0-beta-6
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    1

Description

That is an obvious typo that should be fixed. Afterwards, the site generation works correct:

With this patch:

mvn -X site
[...]
[INFO] [site:site]
[DEBUG] Mapped url: /home/scratch/velocity/site/doxia-velocity-renderer/src/site to relative path: src/site
[DEBUG] Reading site descriptor from src/site/site.xml
[DEBUG] Mapped url: /home/scratch/velocity/site/doxia-velocity-renderer/src/site to relative path: ../src/site
[...]

Without this patch, the site plugins opens src/site/site.xml twice. This leads to all kinds of strange behaviour like having custom powered by logos twice.

Activity

Hide
Arnaud Heritier added a comment -

Applied. Thx.

Show
Arnaud Heritier added a comment - Applied. Thx.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: