[ http://jira.codehaus.org/browse/MCHANGELOG-5?page=comments#action_61333 ]
Edwin Punzalan commented on MCHANGELOG-5: ----------------------------------------- Except that the scm URL does not only have the URL but also the path. > Generated links to files in scm are based on the scm url tag in the pom (but > should they be??) > ---------------------------------------------------------------------------------------------- > > Key: MCHANGELOG-5 > URL: http://jira.codehaus.org/browse/MCHANGELOG-5 > Project: Maven 2.x Changelog Plugin > Type: New Feature > Environment: OSX 10.4.3, java 1.4.2_09 > Reporter: Julian Wood > Assignee: Edwin Punzalan > Fix For: 2.0 > Attachments: MNG-154-changelog-maven-plugin.patch > > Original Estimate: 1 hour > Remaining: 1 hour > > The problem is that the scm url element in the pom which is supposed to be a > link to "The URL to the project's browsable CVS repository." is not > necessarily the same link you might use to show a file in the repository. > I think this should be a configurable parameter instead. > As such, it is impossible for me to have both the Source Repository report > generate a correct link _and_ have the changelog generate a correct link. I > have to choose one or the other. > Examples: > To browse repository: > http://apollo.ucalgary.ca/websvncommons/listing.php?repname=pmgt&rev=0&sc=0&path=/trunk/pmgt-jar > To see a file: > http://apollo.ucalgary.ca/websvncommons/filedetails.php?repname=pmgt&rev=0&sc=0&path=/trunk/pmgt-jar/src/main/java/ca/ucalgary/commons/pmgt/model/solution/Counter.java > The difference is the script used to generate the page. I have a patch which > uses a configurable parameter if interested, but I'm not sure this is the > best approach, given some work also needs to be done with regards to > submodule report generation. -- 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
