Perforce provider should only append "/..." to view if necessary
----------------------------------------------------------------

         Key: SCM-119
         URL: http://jira.codehaus.org/browse/SCM-119
     Project: Maven SCM
        Type: Bug

  Components: maven-scm-provider-perforce  
    Reporter: Neil Padgen
 Attachments: patch

When creating a clientspec, maven-scm-provider-perforce currently appends 
"/..." to the SCM URL regardless of what is already there.  But other plugins 
(such as the changelog-report-plugin, file-activity-report-plugin and 
developer-activity-report-plugin) require the SCM URL to end in "/..." to be 
able to produce output.

Fix: when creating the clientspec, only append "/..." if it is not already 
there.

(I'm not sure if "p4 filelog" is invoked by this component or those other 
report plugins.)

*Untested* patch attached.

-- 
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

Reply via email to