Author: dennisl Date: Tue Apr 8 13:10:26 2008 New Revision: 646057 URL: http://svn.apache.org/viewvc?rev=646057&view=rev Log: [MPIR-96] Switched link text and target in license report Submitted by: Martin von Gagern Reviewed by: Dennis Lundberg
Modified: maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/LicenseReport.java Modified: maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/LicenseReport.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/LicenseReport.java?rev=646057&r1=646056&r2=646057&view=diff ============================================================================== --- maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/LicenseReport.java (original) +++ maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/LicenseReport.java Tue Apr 8 13:10:26 2008 @@ -249,7 +249,7 @@ bodyStart = licenseContentLC.indexOf( ">", bodyStart ) + 1; String body = licenseContent.substring( bodyStart, bodyEnd ); - link( "[Original text]", licenseUrl.toExternalForm() ); + link( licenseUrl.toExternalForm(), "[Original text]" ); paragraph( "Copy of the license follows." ); body = replaceRelativeLinks( body, baseURL( licenseUrl ).toExternalForm() );