When running an mvn scm:changelog command I was not getting any result
indicating the changes that I have made to my project. Since I would
like to include a change log report in my project, I decided to dig into
this further to see if I could find out why.

It looks like scm:changelog does not properly match the svn output of
Subversion 1.5.4.  The header line for this command looks something like
this:

r69 | firstname lastname (username) | 2008-12-23 14:04:38 -0500 (Tue, 23
Dec 2008) | 1 line

Most of this output should be self explanatory.

The regular expression to match the SVN header is:

private static final String PATTERN2 = "^r(\\d+)\\s+\\|\\s+" +
// revision number
        "(\\(\\S+\\s+\\S+\\)|\\S+)\\s+\\|\\s+" + // author username
        "(\\d+-\\d+-\\d+ " +             // date 2002-08-24
        "\\d+:\\d+:\\d+) " +             // time 16:01:00
        "([\\-+])(\\d\\d)(\\d\\d)";      // gmt offset -0400

The author username section of this regular expression does not match
the output I get.

Can anyone else confirm this is an issue?

---
Todd Thiessen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to