[ 
https://jira.codehaus.org/browse/MJAVADOC-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=281202#comment-281202
 ] 

zosrothko commented on MJAVADOC-332:
------------------------------------

With this configuration
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.7</version>
        <!-- 
        <executions>
          <execution>
            <id>aggregate</id>
            <goals>
              <goal>aggregate</goal>
            </goals>
            <phase>site</phase>
           </execution>
         </executions>
         -->
         <configuration>
                <outputDirectory>${basedir}</outputDirectory>
                <destDir>api</destDir>
        </configuration>
      </plugin>

then outputDir is totally ignored while destDir redirects to 
target/site/apidocs/api

as view in the log
Constructing Javadoc information...
Standard Doclet version 1.6.0_24
Building tree for all the packages and classes...
Generating C:/Documents and Settings/C59FAND/Mes 
documents/g37idn/asm/target/site/apidocs/api\test/\Edition.html...


With such configuration, i am expecting that the javadoc be produced in
Generating C:/Documents and Settings/C59FAND/Mes documents/g37idn/asm/api


> 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

        

Reply via email to