You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/16 15:32:43 UTC
[maven-site-plugin] branch master updated: [MSITE-804] feed site
context with the build root
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 3e9d929 [MSITE-804] feed site context with the build root
3e9d929 is described below
commit 3e9d92910af57878943cfc129209288f30a8b3a4
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat Dec 16 16:32:41 2017 +0100
[MSITE-804] feed site context with the build root
---
.../org/apache/maven/plugins/site/render/AbstractSiteRenderingMojo.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/java/org/apache/maven/plugins/site/render/AbstractSiteRenderingMojo.java b/src/main/java/org/apache/maven/plugins/site/render/AbstractSiteRenderingMojo.java
index 6102908..884e5e3 100644
--- a/src/main/java/org/apache/maven/plugins/site/render/AbstractSiteRenderingMojo.java
+++ b/src/main/java/org/apache/maven/plugins/site/render/AbstractSiteRenderingMojo.java
@@ -338,6 +338,7 @@ public abstract class AbstractSiteRenderingMojo
}
// Generate static site
+ context.setRootDirectory( project.getBasedir() );
if ( !locale.getLanguage().equals( Locale.getDefault().getLanguage() ) )
{
context.addSiteDirectory( new File( siteDirectory, locale.getLanguage() ) );
--
To stop receiving notification emails like this one, please contact
['"commits@maven.apache.org" <co...@maven.apache.org>'].