[
https://jira.codehaus.org/browse/MJAVADOC-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=281150#comment-281150
]
Dennis Lundberg commented on MJAVADOC-332:
------------------------------------------
I'm not sure what it is that you want.
The alias="destDir" indicates that this parameter has been renamed from
"destDir" to "outputDirectory". The alias makes it possible to keep the old
name of the parameter for backwards compatibility.
The expression="${destDir}" part means that if you want to specify this
parameter on the command line you should use the syntax:
-DdestDir=my/chosen/path
> outputDirectory is not honored as it should, but valuated to destDir.
> ---------------------------------------------------------------------
>
> Key: MJAVADOC-332
> URL: https://jira.codehaus.org/browse/MJAVADOC-332
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.8
> Environment: WXP SP3 JDK 1.6.0_26 Maven 3.0
> Reporter: zosrothko
>
> Hi
> The outputDirectory is referencing ${destDir} instead of ${outputDirectory}
> as per following snippet extracted from AbstractJavadocMojo.java
> /**
> * Specifies the destination directory where javadoc saves the generated
> HTML files.
> * <br/>
> * See <a
> href="http://download.oracle.com/javase/1.4.2/docs/tooldocs/windows/javadoc.html#d">d</a>.
> * <br/>
> *
> * @parameter expression="${destDir}" alias="destDir"
> default-alue="${project.build.directory}/apidocs"
> * @required
> */
> protected File outputDirectory;
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira