You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Schaller (JIRA)" <ji...@apache.org> on 2016/03/30 08:37:25 UTC

[jira] [Comment Edited] (MCHANGES-368) Report page has unneccessary indentations when having empty releases

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

Andreas Schaller edited comment on MCHANGES-368 at 3/30/16 6:37 AM:
--------------------------------------------------------------------

The xml I'm using looks like
{code:xml}
<document xmlns="http://maven.apache.org/changes/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd">
    <properties>
        <title>My Changelog</title>
        <author email="...">Andreas Schaller</author>
    </properties>
    <body>
        <release version="2.0.1" date="2016-03-02" description="R7"/>
        <release version="2.0.0" date="2016-03-02" description="R7"/>
        <release version="1.2.0" date="2015-09-16" description="R6"/>
        <release version="1.1.1" date="2015-03-24" description="R5"/>
        <release version="1.1.0" date="2015-03-24" description="R5"/>
        <release version="1.0.12" date="2015-03-24" description="R5"/>
        <release version="1.0.11" date="2015-03-24" description="R5"/>
        <release version="1.0.10" date="2015-03-24" description="R5"/>
        <release version="1.0.9" date="2016-09-30" description="R4"/>
        <release version="1.0.8" date="2014-09-30" description="R4"/>
        <release version="1.0.7" date="2014-01-21" description="R3"/>
        <release version="1.0.6" date="2013-05-17" description="first released version"/>
    </body>
</document>
{code}
and the resulting changelog site looks like !site_indentation.jpg!


was (Author: schaller):
The xml I'm using looks like
{code:xml}
<document xmlns="http://maven.apache.org/changes/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd">
    <properties>
        <title>My Changelog</title>
        <author email="...">Andreas Schaller</author>
    </properties>
    <body>
        <release version="2.0.1" date="2016-03-02" description="R7"/>
        <release version="2.0.0" date="2016-03-02" description="R7"/>
        <release version="1.2.0" date="2015-09-16" description="R6"/>
        <release version="1.1.1" date="2015-03-24" description="R5"/>
        <release version="1.1.0" date="2015-03-24" description="R5"/>
        <release version="1.0.12" date="2015-03-24" description="R5"/>
        <release version="1.0.11" date="2015-03-24" description="R5"/>
        <release version="1.0.10" date="2015-03-24" description="R5"/>
        <release version="1.0.9" date="2016-09-30" description="R4"/>
        <release version="1.0.8" date="2014-09-30" description="R4"/>
        <release version="1.0.7" date="2014-01-21" description="R3"/>
        <release version="1.0.6" date="2013-05-17" description="first released version"/>
    </body>
</document>
{code}
and the resulting changelog site looks like !site_indentation.jpg|thumbnail!

> Report page has unneccessary indentations when having empty releases
> --------------------------------------------------------------------
>
>                 Key: MCHANGES-368
>                 URL: https://issues.apache.org/jira/browse/MCHANGES-368
>             Project: Maven Changes Plugin
>          Issue Type: Bug
>    Affects Versions: 2.11
>            Reporter: Andreas Schaller
>            Priority: Minor
>         Attachments: site_indentation.jpg
>
>
> When providing several release-elements without any content, the resulting html page will have an indentation for each release.
> So at the end you have to scroll to read the oldest release notes.
> I assume the <div class="section"> is not properly closed without an action.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)