You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2006/01/17 20:02:34 UTC

svn commit: r369866 - in /maven/maven-1/plugins/trunk/file-activity: plugin.jelly src/plugin-resources/maven-file-activity-plugin.jsl xdocs/changes.xml

Author: ltheussl
Date: Tue Jan 17 11:02:31 2006
New Revision: 369866

URL: http://svn.apache.org/viewcvs?rev=369866&view=rev
Log:
PR: MPFILEACTIVITY-2
File activity plugin creates wrong links for Subversion repositories.
Use maven.changelog.svn.baseurl property.

Modified:
    maven/maven-1/plugins/trunk/file-activity/plugin.jelly
    maven/maven-1/plugins/trunk/file-activity/src/plugin-resources/maven-file-activity-plugin.jsl
    maven/maven-1/plugins/trunk/file-activity/xdocs/changes.xml

Modified: maven/maven-1/plugins/trunk/file-activity/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/file-activity/plugin.jelly?rev=369866&r1=369865&r2=369866&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/file-activity/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/file-activity/plugin.jelly Tue Jan 17 11:02:31 2006
@@ -63,7 +63,8 @@
       <j:set var="maven.mode.online" value="true" />
     </j:if>
 
-    <maven:pluginVar var="factory" plugin="maven-changelog-plugin" property="maven.changelog.factory" />
+    <maven:get var="factory" plugin="maven-changelog-plugin" property="maven.changelog.factory" />
+    <maven:get var="maven.changelog.svn.baseurl" plugin="maven-changelog-plugin" property="maven.changelog.svn.baseurl" />
 
     <j:choose>
       <j:when test="${maven.mode.online}">

Modified: maven/maven-1/plugins/trunk/file-activity/src/plugin-resources/maven-file-activity-plugin.jsl
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/file-activity/src/plugin-resources/maven-file-activity-plugin.jsl?rev=369866&r1=369865&r2=369866&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/file-activity/src/plugin-resources/maven-file-activity-plugin.jsl (original)
+++ maven/maven-1/plugins/trunk/file-activity/src/plugin-resources/maven-file-activity-plugin.jsl Tue Jan 17 11:02:31 2006
@@ -92,6 +92,9 @@
                           <j:when test="${pom.repository.connection.startsWith('scm:perforce')}">
                             <j:set var="urlFile" value="${repository.trim()}${name.trim()}?ac=22"/>
                           </j:when>
+                          <j:when test="${pom.repository.connection.startsWith('scm:svn')}">
+                            <j:set var="urlFile" value="${maven.changelog.svn.baseurl.trim()}${name.trim()}"/>
+                          </j:when>
                           <j:otherwise>
                         <j:set var="urlFile" value="${repository.trim()}${name.trim()}${oneRepoParam.trim()}"/>
                           </j:otherwise>

Modified: maven/maven-1/plugins/trunk/file-activity/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/file-activity/xdocs/changes.xml?rev=369866&r1=369865&r2=369866&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/file-activity/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/file-activity/xdocs/changes.xml Tue Jan 17 11:02:31 2006
@@ -24,6 +24,7 @@
   </properties>
   <body>
     <release version="1.6-SNAPSHOT" date="In SVN">
+      <action dev="ltheussl" type="fix" issue="MPFILEACTIVITY-2">File activity plugin creates wrong links for Subversion repositories. Use <code>maven.changelog.svn.baseurl</code> property.</action>
       <action dev="aheritier" type="update" issue="MAVEN-1712">Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated : 
         <ul>
           <li>commons-jelly-tags-xml v1.0 -> v1.1</li>