You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Samuel Van Reeth (JIRA)" <ji...@codehaus.org> on 2012/07/31 18:29:21 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 ]

Samuel Van Reeth updated MCHANGELOG-108:
----------------------------------------

    Attachment: MCHANGELOG-108-useTagNamesFromChangeLogSetClass.patch

Fix in ChangelogHandler:
when reading the changelog.xml file, use the correct Xml tag names for attributes startVersion and endVersion
                
> read/write changelog.xml inconsistency
> --------------------------------------
>
>                 Key: MCHANGELOG-108
>                 URL: https://jira.codehaus.org/browse/MCHANGELOG-108
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Grzegorz Kochanski
>            Priority: Minor
>         Attachments: MCHANGELOG-108-useTagNamesFromChangeLogSetClass.patch
>
>
> 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.

--
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