Jar Example

The jar goal allows you to create a jar file that contains the generated documentation. This goal can be used in the build section of the pom, or as a standalone call.

<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>net.sf.jfxdplugin</groupId>
        <artifactId>maven-javafxdoc-plugin</artifactId>
        <version>1.0</version>
        <configuration>
          ...
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>jar</goal>
            </goals>
            <phase>compile</phase>
          </execution>
        </executions>
      </plugin>
    </plugins>
    ...
  </build>
  ...
</project>