maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Crossley (JIRA)" <>
Subject [jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi
Date Fri, 01 Jun 2007 14:09:59 GMT


Jim Crossley commented on MCHANGELOG-52:

Ok, I think I figured out what's going on and I have a workaround that fixes the links.  The
problem is that the plugin's configuration parameter, basedir, defaults to ${}.
 IMHO, this is wrong.  It should default to the actual ${basedir} instead.  For me, the following
configuration fixes this bug:


So the answer to Stefan's question above is yes, only changes to src/main/java are considered,
by default, and because of that, the resulting links are rendered broken.

> Links are broken for viewcvs.cgi
> --------------------------------
>                 Key: MCHANGELOG-52
>                 URL:
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: cvs on linux
>            Reporter: Jim Crossley
>            Assignee: Dennis Lundberg
>             Fix For: 2.0
> My project.scm.url is 'http://cvs/viewcvs.cgi/myproject/'.  If I make a change to 'src/main/java/com/foo/',
the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/'.  Note the absence
of 'src/main/java/c'.  The lopped-off 'c' is especially distressing.
> I can hack sort of a fix by adding this to the plugin element:
>   <configuration>
>     <scmUrl>http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c</scmUrl>
>   </configuration>
> But that's gross, and it would only account for changes beneath 'src/main/java', so changes
beneath ${basedir} would still be broken.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message