maven-issues mailing list archives

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

    [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97981
] 

Jim Crossley commented on MCHANGELOG-52:
----------------------------------------

I can't attach an entire project atm, but I did just confirm that the bug occurs in both multi
and single module projects.  The single module project I tested isn't a whole lot different
from what you could generate with the archetype plugin.  Here's my scm element, if that helps.

  <scm>
    <connection>scm:cvs:pserver:ads@cvs:/usr/local/cvsroot:rtsp-java</connection>
    <url>http://cvs/viewvc.cgi/rtsp-java/</url>
  </scm>

My cvs version:  Concurrent Versions System (CVS) 1.12.13 (client/server)
Tested with Maven 2.0.6 and this version of the plugin:
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changelog-plugin</artifactId>
        <version>2.1-SNAPSHOT</version>
      </plugin>


> Links are broken for viewcvs.cgi
> --------------------------------
>
>                 Key: MCHANGELOG-52
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-52
>             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/Bar.java',
the resulting link is 'http://cvs/viewcvs.cgi/myproject/om/foo/Bar.java'.  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: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message