Uploaded image for project: 'Maven Changes Plugin'
  1. Maven Changes Plugin
  2. MCHANGES-423

Rendering table in section from changes-report

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.12.1
    • 3.0.0
    • None
    • None

    Description

      When running in a project with src/changes/changes.xml

      mvn changes:changes-report
      

      does generate correct html code

      <!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 2024-10-10 -->
      ....
      <div class="section">
      <h3>Release-Geschichte<a name="Release-Geschichte"></a></h3>
      <table border="0" class="bodyTable">
      <tr class="a">
      <th>Version</th>
      ..
      

      but when running

      mvn site
      

      the result is missing the table element after the section element.

      <!--
       | Generated by Apache Maven Doxia Site Renderer 2.0.0-M19 from org.apache.maven.plugins:maven-changes-plugin:2.12.1:changes-report at 2024-10-10
       | Rendered using Apache Maven Fluido Skin 2.0.0-M9
      -->
      ..
        </header>
              <main id="bodyColumn" class="span10">
      <section>
      <h1>Changes</h1><section>
      <h2>Release History</h2>
      <tr class="a">
      <th>Version</th>
      <th>Date</th>
      <th>Description</th></tr>
      <tr class="b">
      ..
      ..
      

      Though I only checked that in maven-fluido-skin resources/META-INF/site.vm  $bodyColumn already contains the wrong body content missing the table element.

      I am currently unable to understand exactly the mechanism, where the transformation comes from doxia site tool and which template are used get this done.

      Is it a fluido skin ( 2.0.0-M9 or  2.0.0-M11 does makes no difference) or does it happen still more upstreams?

      It might be doxia tools ..

       

      Example changes.xml:

      <document>
        <properties>
          <title>Changes</title>
        </properties>
        <body> 
          <release version="1.0.0-SNAPSHOT" date="in Git">
            <action type="update" dev="foo">bar
            </action>
           </release>
        </body>
      </document>
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gk Georg Kallidis
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: