[MPLUGIN-126] Report mojo outputs XDoc into wrong directory if outputDirectory parameter is overriden with a relative path
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@677730 13f79535-47bb-0310-9956-ffa450edef68master
parent
2d35862ed0
commit
afb4e34338
|
|
@ -64,7 +64,7 @@ public class PluginReport
|
||||||
*
|
*
|
||||||
* @parameter default-value="${project.build.directory}/generated-site/xdoc"
|
* @parameter default-value="${project.build.directory}/generated-site/xdoc"
|
||||||
*/
|
*/
|
||||||
private String outputDirectory;
|
private File outputDirectory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Doxia Site Renderer.
|
* Doxia Site Renderer.
|
||||||
|
|
@ -128,7 +128,7 @@ public class PluginReport
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
protected String getOutputDirectory()
|
protected String getOutputDirectory()
|
||||||
{
|
{
|
||||||
return outputDirectory;
|
return outputDirectory.getPath();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue