Maven 1.x Changelog Plugin

Snippet that adds CVS Monitor support

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.8.1
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

Place this snippet in the section of changelog.jsl after you check if the repository connection starts with "scm:perforce", and you will generate links to cvsmonitor web sites.

===========================
<j:when test="${repository.indexOf('cvsmonitor.pl') > 0}">

<j:set var="module" value="${oneRepoParam.replaceAll('^.*(&module=.*?(?:&|$)).*$','$1')}"/>
<a href="${repository}?cmd=viewBrowseFile${module}&file=${name}">${name}</a>

<a href="${repository}?cmd=viewBrowseVersion${module}&file=${name}&version=${revision}">v${revision}</a>
</j:when>

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: