You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Martin West (JIRA)" <ji...@codehaus.org> on 2005/06/04 11:13:22 UTC

[jira] Commented: (MPCHANGELOG-62) Inconsistent use of repositoryConnection and repositoryDeveloperConnectio

     [ http://jira.codehaus.org/browse/MPCHANGELOG-62?page=comments#action_40557 ]
     
Martin West commented on MPCHANGELOG-62:
----------------------------------------

I disagree. If I have a working developer connection it should use that connection otherwise the reports will not be accurate as anonymous cvs is often 24 hours behind the developer cvs and sometimes it disappears altogether. The reports should use the best possible connection.

> Inconsistent use of repositoryConnection and repositoryDeveloperConnectio
> -------------------------------------------------------------------------
>
>          Key: MPCHANGELOG-62
>          URL: http://jira.codehaus.org/browse/MPCHANGELOG-62
>      Project: maven-changelog-plugin
>         Type: Bug
>  Environment: All
>     Reporter: Martin West

>
>
> The scm plugin uses developerConnection and the repositoryConnection but the report plugins like changelog, file-activity, developer-activity perform the test the other way round.
> The report plugins should use the scm plugin test order ...
>         <j:if test="${!empty(value)}">
>           <echo>Using connection: ${pom.repository.developerConnection}</echo>
>           <j:set var="conn" value="${pom.repository.developerConnection}" />
>         </j:if>
>       </j:if>
>                                                                                                       
>       <j:if test="${conn == null}">
>         <j:set var="value" value="${pom.repository.connection}"/>
>         <j:if test="${!empty(value)}">
>           <echo>Using connection: ${pom.repository.connection}</echo>
>           <j:set var="conn" value="${pom.repository.connection}" />
>         </j:if>
>  
> Not ....
>           <j:set var="_connection">${pom.repository.connection}</j:set>
>         <j:if test="${empty(_connection)}">
>         <j:set var="_connection">${pom.repository.developerConnection}</j:set>
>         </j:if>

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org