The JXR Plugin generates a cross-reference of the project's sources. Below are the different goals and configurations for the plugin.

Generate JXR as Part of Project Reports

To include the JXR report in the site generation process, insert the following in the <reporting> section of your pom.xml:


The report will be generated when you execute:

mvn site

Explicitly Generate JXR Files

The JXR files for the project's main sources will be generated using this command:

mvn jxr:jxr

To generate JXR files for the project's test sources, execute this command:

mvn jxr:test-jxr