You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2007/05/18 15:25:58 UTC
svn commit: r539458 -
/maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java
Author: vsiveton
Date: Fri May 18 06:25:57 2007
New Revision: 539458
URL: http://svn.apache.org/viewvc?view=rev&rev=539458
Log:
MPIR-66: When run standalone, project metadata is missing
Submitted by: Thomas Leonard
Reviewed by: Vincent Siveton
o applied
Modified:
maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java
Modified: maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java?view=diff&rev=539458&r1=539457&r2=539458
==============================================================================
--- maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java (original)
+++ maven/plugins/trunk/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java Fri May 18 06:25:57 2007
@@ -157,6 +157,7 @@
model.setBody( new Body() );
Map attributes = new HashMap();
attributes.put( "outputEncoding", "UTF-8" );
+ attributes.put( "project", project );
Locale locale = Locale.getDefault();
SiteRenderingContext siteContext = siteRenderer.createContextForSkin( getSkinArtifactFile(), attributes,
model, getName( locale ), locale );