Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-4
-
Fix Version/s: 2.0-beta-6
-
Component/s: None
-
Labels:None
Description
There's a todo in the code, so this issue is more a reminder than an unknown bug.
In AbstractSiteMojo.java, there's:
protected File getSiteDescriptorFile( File basedir, Locale locale )
{
// TODO: get proper siteDirectory from site configuration of the project this relates to
File siteDescriptor = new File( basedir, "src/site/site_" + locale.getLanguage() + ".xml" );
if ( !siteDescriptor.exists() )
{ siteDescriptor = new File( basedir, "src/site/site.xml" ); } return siteDescriptor;
}
Issue Links
- depends upon
-
MNG-3344
Provide new POM element to configure site directory (e.g. "src/site")
-
- is duplicated by
-
MSITE-246
path of site.xml not possible to configure in tag <siteDirectory>
-
-
MSITE-151
Ability to change the site directory in the plugin configuration in the pom.xml file.
-
-
MSITE-204
make siteDirectory configurable
-
- relates to
-
MSHARED-18
Inheritance of elements from site descriptor quite broken
-
Moved siteDirectory from AbstractSiteRenderingMojo to AbstractSiteMojo so we can get the true location for site.