Setting the JavaFX Home

In order for this plugin to work, it needs to know the path to the JavaFX SDK installation on your system.

Using an environment variable

This is the easiest way to specify the location of the JavaFX SDK. The plugin will automatically read this value from JAVAFX_HOME and no further configuration is necessary.

Specifying the "javafxdocExecutable" plugin parameter

Either the JavaFX SDK path or the javafxdoc executable can be specified with this parameter.

<project>
  ...
  <reporting>
    <plugins>
      <plugin>
        <groupId>net.sf.jfxdplugin</groupId>
        <artifactId>maven-javafxdoc-plugin</artifactId>
        <version>1.0</version>
        <configuration>
          <javafxdocExecutable>C:\JavaFX\javafx-sdk1.2</javafxdocExecutable>
        </configuration>
      </plugin>
    </plugins>
    ...
  </reporting>
  ...
</project>
<project>
  ...
  <reporting>
    <plugins>
      <plugin>
        <groupId>net.sf.jfxdplugin</groupId>
        <artifactId>maven-javafxdoc-plugin</artifactId>
        <version>1.0</version>
        <configuration>
          <javafxdocExecutable>C:\JavaFX\javafx-sdk1.2\bin\javafxdoc.exe</javafxdocExecutable>
        </configuration>
      </plugin>
    </plugins>
    ...
  </reporting>
  ...
</project>