Generated links to files in scm are based on the scm url tag in the pom (but 
should they be??)
----------------------------------------------------------------------------------------------

         Key: MPCHANGELOG-77
         URL: http://jira.codehaus.org/browse/MPCHANGELOG-77
     Project: maven-changelog-plugin
        Type: New Feature
 Environment: OSX 10.4.3, java 1.4.2_09
    Reporter: Julian Wood


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to