[ http://jira.codehaus.org/browse/MCHANGELOG-16?page=comments#action_77668 ] Dennis Lundberg commented on MCHANGELOG-16: -------------------------------------------
Thanks Julian This was really helpful. Now I can see the intentions of the original patch. Unfortunately it was not implemented like you wanted it to [1] and that's the reason why it broke other systems. I will try to change the current behavior to the one you intended. [1] http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changelog-plugin/src/main/java/org/apache/maven/plugin/changelog/ChangeLogReport.java?r1=393154&r2=393180 > when using svn, links are wrong > ------------------------------- > > Key: MCHANGELOG-16 > URL: http://jira.codehaus.org/browse/MCHANGELOG-16 > Project: Maven 2.x Changelog Plugin > Issue Type: Improvement > Affects Versions: 2.0 > Environment: osx 10.4.5, java 1.4.2_09 > Reporter: Julian Wood > Priority: Minor > Attachments: MCHANGELOG-16.patch, test.zip > > > Here's my setup: > <scm> > <connection>scm:svn:http://apollo.ucalgary.ca:8800/pmgt/trunk</connection> > > <developerConnection>scm:svn:http://apollo.ucalgary.ca:8800/pmgt/trunk</developerConnection> > > <url>http://apollo.ucalgary.ca/websvncommons/listing.php?repname=pmgt&rev=0&sc=0&path=/trunk</url> > </scm> > ... > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-changelog-plugin</artifactId> > <version>2.0-beta-2-SNAPSHOT</version> > <reportSets> > <reportSet> > <id>changes</id> > <configuration> > > <displayFileDetailUrl>http://apollo.ucalgary.ca/websvncommons/filedetails.php?repname=pmgt&rev=0&sc=0&path=</displayFileDetailUrl> > <type>range</type> > <range>90</range> > </configuration> > <reports> > <report>changelog</report> > <report>file-activity</report> > <report>dev-activity</report> > </reports> > </reportSet> > </reportSets> > </plugin> > With that displayFileDetailUrl, I get links like this in the resultant > changelog in my site: > http://apollo.ucalgary.ca/websvncommons/filedetails.php/trunk/pmgt-webapp/src/main/webapp/links/create_groups.jsp?repname=pmgt&sc=0&path= > but it should be like this: > link = > http://apollo.ucalgary.ca/websvncommons/filedetails.php?repname=pmgt&sc=0&rev=0&path=/trunk/pmgt-webapp/src/main/webapp/links/create_groups.jsp -- 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