From issues-return-23549-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Fri Jun 01 14:10:25 2007 Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 73816 invoked from network); 1 Jun 2007 14:10:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jun 2007 14:10:23 -0000 Received: (qmail 15252 invoked by uid 500); 1 Jun 2007 14:10:24 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 15174 invoked by uid 500); 1 Jun 2007 14:10:24 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 15148 invoked by uid 99); 1 Jun 2007 14:10:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2007 07:10:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2007 07:10:19 -0700 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 1CCEE14A8043 for ; Fri, 1 Jun 2007 09:09:59 -0500 (CDT) Message-ID: <11830778.1180706999116.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Fri, 1 Jun 2007 09:09:59 -0500 (CDT) From: "Jim Crossley (JIRA)" To: issues@maven.apache.org Subject: [jira] Commented: (MCHANGELOG-52) Links are broken for viewcvs.cgi In-Reply-To: <114838778.1164208471572.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MCHANGELOG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97987 ] 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 ${project.build.sourceDirectory}. IMHO, this is wrong. It should default to the actual ${basedir} instead. For me, the following configuration fixes this bug: org.apache.maven.plugins maven-changelog-plugin 2.1-SNAPSHOT ${basedir} 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: 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: > > http://cvs/viewcvs.cgi/sdvrpc-maven/src/main/java/c > > 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