Author: michaelo
Date: Wed Nov 12 19:54:35 2014
New Revision: 1639016
URL: http://svn.apache.org/r1639016
Log:
[MPIR-279] Wrong hyperlinks on index and modules page
* Replace tabs with spaces
Modified:
maven/plugins/branches/MPIR-279/src/main/java/org/apache/maven/report/projectinfo/ModulesReport.java
Modified:
maven/plugins/branches/MPIR-279/src/main/java/org/apache/maven/report/projectinfo/ModulesReport.java
URL:
http://svn.apache.org/viewvc/maven/plugins/branches/MPIR-279/src/main/java/org/apache/maven/report/projectinfo/ModulesReport.java?rev=1639016&r1=1639015&r2=1639016&view=diff
==============================================================================
---
maven/plugins/branches/MPIR-279/src/main/java/org/apache/maven/report/projectinfo/ModulesReport.java
(original)
+++
maven/plugins/branches/MPIR-279/src/main/java/org/apache/maven/report/projectinfo/ModulesReport.java
Wed Nov 12 19:54:35 2014
@@ -126,7 +126,7 @@ public class ModulesReport
for ( Object module : project.getModules() )
{
- Model moduleModel;
+ Model moduleModel;
File f = new File( project.getBasedir(), module +
"/pom.xml" );
if ( f.exists() )
{
@@ -141,13 +141,14 @@ public class ModulesReport
}
else
{
- moduleModel = new Model();
- moduleModel.setName(module.toString());
+ moduleModel = new Model();
+ moduleModel.setName(module.toString());
setDistMgmntSiteUrl( moduleModel, module.toString() );
}
final String moduleName = name( moduleModel );
- final String moduleHref = getRelativeLink( baseUrl,
getDistMgmntSiteUrl( moduleModel ), moduleModel.getArtifactId() );
+ final String moduleHref = getRelativeLink( baseUrl,
getDistMgmntSiteUrl( moduleModel ),
+ moduleModel.getArtifactId() );
tableRow( new String[] {linkedName( moduleName, moduleHref
), moduleModel.getDescription()} );