Could put a patch in Jira? We apply it asap. Thanks
Emmanuel ----- Original Message ----- From: "Mikael Lundgren" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 7:39 PM Subject: Re: Subversion changelog > Well, > > that was it... after some experimenting I now get a working changelog in > maven! One line of code had to change... > > Here is the original code in > org/apache/maven/svnlib/Attic/SvnChangeLogParser.java: > > /** The pattern used to match svn header lines */ > private static final String pattern = > "^rev (\\d+):\\s+" + // revision number > "(\\w+)\\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 > > and here is the code I put in: > > /** The pattern used to match svn header lines */ > private static final String pattern = > "^r(\\d+) \\|\\s+" + // revision number > "(\\w+)\\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 > > Note the line with the comment "revision number" which is the only > change to the plugin code. > > Now I made a "dirty" plugin... I checked out a changelog-plugin from > cvs, made my changes, ran the tests (btw i changed the test file as well > to look like a current SubVersion log file), created a jar, fooled maven > to take my version of the plugin and now it works. > > Regards > /Mikael Lundgren > > Mikael Lundgren wrote: > > > Hmmm, > > > > it seems that subversion 0.33.0 changed the format of the data created > > by running svn log... from http://svn.collab.net/repos/svn/trunk/CHANGES > > the following line: > > > > * 'svn log' output headers now say "rXXXX | " instead of "rev XXXX: " > > > > Could this be the problem? I checked the sources for the maven changelog > > plugin and the regular exception seems to expect "rev xxxx" and not > > "rxxxx"... > > > > Now this would seem trivial to change in the java source code for the > > plugin, unfortunately I have no idea about how to actually create my own > > version of the changelog plugin nor how to tell maven how to use a > > different version of the plugin... surely this is documented somewhere? > > > > Regards > > > > /Mikael Lundgren > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]