[
https://jira.codehaus.org/browse/MJAVADOC-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=281184#comment-281184
]
zosrothko commented on MJAVADOC-332:
------------------------------------
What I want is to put the directory where are generated the javadocs outside
the target/site directory and none of the outpuDirectory ot destDist parameters
let me do so. It is like the kink option that always produces an ablsolute file
while it should be relative if it has beeing specified as relative.
As exemple
with
<destDir>api/als</destDir>
<detectLinks>true</detectLinks>
<links>
<link>../asn</link>
<link>../ugn</link>
</links>
the plugin generates link as below
D:/OSI/iso.itu.osi.als/target/site/apidocs/api/als\../asn/package-list
which is not what I am expecting since the asn/package-list will never located
under the target site/apidocs/als directory...
IMHO, all path should be relative to the expressed outputDirectory where anyone
can put its own link referrals.
> 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