[ 
https://issues.apache.org/jira/browse/MSITE-896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17534902#comment-17534902
 ] 

Joshua commented on MSITE-896:
------------------------------

[~michael-o]  I did try not using the <menu ref="reports" /> in my site.xml and 
instead I just put each report in the site.xml

The only problem with that is that there are certain times when spotbugs, pmd, 
and cpd reports aren't generated due to their being no issues.

!image-2022-05-11-08-24-14-242.png!

I am not sure how to detect in the site.xml whether the report it there or not 
before adding the item to the menu.

> Is it possible to override the Project Reports menu order?
> ----------------------------------------------------------
>
>                 Key: MSITE-896
>                 URL: https://issues.apache.org/jira/browse/MSITE-896
>             Project: Maven Site Plugin
>          Issue Type: Wish
>            Reporter: Joshua
>            Priority: Major
>         Attachments: image-2022-04-27-15-50-48-346.png, 
> image-2022-04-27-15-51-39-355.png, image-2022-05-11-08-24-14-242.png
>
>
> I have to inherit a parent pom per organization guidelines.
> Inheriting that parent pom messes up the ordering of the report sets in the 
> generated project report menu.
> Here is before the inheritance
> !image-2022-04-27-15-50-48-346.png!
> Here is after the inheritance
> !image-2022-04-27-15-51-39-355.png!
> Is there any way I can override/specify the order of the report sets in this 
> menu in either my pom or the site.xml?
> I would like the after ordering to be the same as before ordering.
> I can't change the parent pom which defines most of the report sets.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to