When I generate the changelog plugin using the tag type with CVS, I get
the following string at the top of the page: "Changes from an unknown
range".

Here is part of my POM:
<plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-changelog-plugin</artifactId>
 <version>2.0-SNAPSHOT</version>
 <reportSets>
  <reportSet>
   <id>single-report</id>
   <configuration>
    <type>tag</type>
    <tags>
     <tag implementation="java.lang.String">MyApp_0_7_rc1</tag>
     <tag implementation="java.lang.String">MyApp_0_7_rc2</tag>
    </tags>
   </configuration>
...
  </reportSet>
 </reportSets>
</plugin>

If I use the date or range type, that field is filled in correctly with
the date range.  I looked at the changelog.xml file that is generated for
both the tag type and a date type, and the start and end dates attributes
were not filled in for the tag output.  I believe these start and end
attributes are was is being read in by the report generator and used for
the range.

Generated changelog.xml from tag type:
<changelog>
 <changeset datePattern="yyyyMMdd HH:mm:ss z">
  <changelog-entry>
   ...

Generated changelog.xml from date type:
<changelog>
 <changeset datePattern="yyyyMMdd HH:mm:ss z" start="20061018 00:00:00
CDT" end="20061025 00:00:00 CDT">
  <changelog-entry>
   ...

I looked into the changelog plugin source, and found that the changeset
element and attributes are generated by an SCM plugin object.  I tried to
go into that source code, but I was unsuccessful in tracking down the
exact location where those fields are filled in.  Is it possible to get
the tag range displayed instead of an unknown date range?

Thanks,
-Nate


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to