You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2014/06/26 23:40:10 UTC

[jira] (MCHANGELOG-108) read/write changelog.xml inconsistency

     [ https://jira.codehaus.org/browse/MCHANGELOG-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MCHANGELOG-108:
-------------------------------------

    Description: 
ChangelogHandler.java:165
{code:java}            bufSet.setStartVersion(new ScmTag(attributes.getValue("startTag")));
            bufSet.setEndVersion(new ScmTag(attributes.getValue("endTag")));{code}
ChangeLogSet.java:180
{code:java}        if ( startVersion != null )
        {
            buffer.append( " startVersion=\"" )
                .append( getStartVersion() )
                .append( "\"" );
        }
        if ( endVersion != null )
        {
            buffer.append( " endVersion=\"" )
                .append( getEndVersion() )
                .append( "\"" );
        }{code}

Please fix field name to startVersion/endVersion.

When changelog.xml is present then settings like: type, range, dates should be taken from this file during repoprt generation.

  was:
ChangelogHandler.java:165
            bufSet.setStartVersion(new ScmTag(attributes.getValue("startTag")));
            bufSet.setEndVersion(new ScmTag(attributes.getValue("endTag")));
ChangeLogSet.java:180
        if ( startVersion != null )
        {
            buffer.append( " startVersion=\"" )
                .append( getStartVersion() )
                .append( "\"" );
        }
        if ( endVersion != null )
        {
            buffer.append( " endVersion=\"" )
                .append( getEndVersion() )
                .append( "\"" );
        }

Please fix field name to startVersion/endVersion.

When changelog.xml is present then settings like: type, range, dates should be taken from this file during repoprt generation.


> read/write changelog.xml inconsistency
> --------------------------------------
>
>                 Key: MCHANGELOG-108
>                 URL: https://jira.codehaus.org/browse/MCHANGELOG-108
>             Project: Maven Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Grzegorz Kochanski
>            Assignee: Dennis Lundberg
>            Priority: Minor
>             Fix For: 2.3
>
>         Attachments: MCHANGELOG-108-useTagNamesFromChangeLogSetClass.patch
>
>
> ChangelogHandler.java:165
> {code:java}            bufSet.setStartVersion(new ScmTag(attributes.getValue("startTag")));
>             bufSet.setEndVersion(new ScmTag(attributes.getValue("endTag")));{code}
> ChangeLogSet.java:180
> {code:java}        if ( startVersion != null )
>         {
>             buffer.append( " startVersion=\"" )
>                 .append( getStartVersion() )
>                 .append( "\"" );
>         }
>         if ( endVersion != null )
>         {
>             buffer.append( " endVersion=\"" )
>                 .append( getEndVersion() )
>                 .append( "\"" );
>         }{code}
> Please fix field name to startVersion/endVersion.
> When changelog.xml is present then settings like: type, range, dates should be taken from this file during repoprt generation.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)