You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Todd Thiessen <th...@nortel.com> on 2009/01/06 16:52:03 UTC
SCM SVN changelog Pattern does not match
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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org