Michael Osipov created MSITE-675:
------------------------------------

             Summary: Custom reports declaration order not retained in HTML 
menu generation
                 Key: MSITE-675
                 URL: https://jira.codehaus.org/browse/MSITE-675
             Project: Maven 2.x and 3.x Site Plugin
          Issue Type: Bug
    Affects Versions: 3.2
         Environment: MPIR 2.6, Maven 2.2.1
            Reporter: Michael Osipov


I have configured this:
{code:xml}
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.6</version>
<reportSets>
  <reportSet>
    <reports>
      <report>summary</report>
      <report>project-team</report>
      <report>license</report>
      <report>scm</report>
      <report>mailing-list</report>
      <report>issue-tracking</report>
      <report>dependencies</report>
      <report>dependency-info</report>
    </reports>
  </reportSet>
</reportSets>
{code}

Unfortunately, the order of the report generation is not the same as in the POM 
declared.

I have debugged the plugin and these values are injected to
{code:java}
@Parameter( property = "reports", required = true, readonly = true )
protected List<MavenReport> reports;
{code}

They are randomly injected. I am not that deep into the injection framework. 
Mojo Java 5 Annotations Guide assumes that it is injected in definition order.

I guess this is somewhere in maven-reporting-*.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to