You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ah...@apache.org on 2006/02/04 00:02:03 UTC

svn commit: r374776 - in /maven/maven-1/plugins/trunk/pmd: src/plugin-resources/pmd.jsl xdocs/changes.xml

Author: aheritier
Date: Fri Feb  3 15:01:55 2006
New Revision: 374776

URL: http://svn.apache.org/viewcvs?rev=374776&view=rev
Log:
Add a link on each error to explain it.

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

Modified: maven/maven-1/plugins/trunk/pmd/src/plugin-resources/pmd.jsl
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pmd/src/plugin-resources/pmd.jsl?rev=374776&r1=374775&r2=374776&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pmd/src/plugin-resources/pmd.jsl (original)
+++ maven/maven-1/plugins/trunk/pmd/src/plugin-resources/pmd.jsl Fri Feb  3 15:01:55 2006
@@ -195,8 +195,9 @@
                   <j:forEach var="error" items="${errors}">
                     <tr>
                       <td>
+                        <j:set var="externalInfoUrl" value="${error.attribute('externalInfoUrl').getValue()}"/>
                         <j:set var="errorMessage" value="${error.StringValue}"/>
-                        ${htmlescape.getText(errorMessage)}
+                        ${htmlescape.getText(errorMessage)} - <a href="${externalInfoUrl}" target="_blank">detail...</a>
                       </td>
                       <td>
                         <j:set var="line" value="${error.attribute('line').getValue()}"/>

Modified: maven/maven-1/plugins/trunk/pmd/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pmd/xdocs/changes.xml?rev=374776&r1=374775&r2=374776&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pmd/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/pmd/xdocs/changes.xml Fri Feb  3 15:01:55 2006
@@ -25,6 +25,7 @@
   </properties>
   <body>
     <release version="1.8-SNAPSHOT" date="In SVN">
+      <action dev="aheritier" type="add">Add a link on each error to explain it.</action>
       <action dev="aheritier" type="add" issue="MPPMD-21">New properties "maven.pmd.failonerror" and "maven.pmd.failonruleviolation" to fail the build if any errors or problems are found.</action>
       <action dev="aheritier" type="add" issue="MPPMD-13">New property "maven.pmd.console" to display pmd errors to the console.</action>
       <action dev="aheritier" type="fix">Do not generate links to JXR files if they are not created.</action>