To include or exclude files from the generated JXR files, you need to configure the JXR Plugin in your pom.xml. This is done using patterns similar to those used in Ant.
The default is to include all java files. The pattern **/*.java is used to achieve this. If you want to use a different pattern you just configure it in your pom.xml like this:
<project> ... <reporting> <plugins> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>2.5</version> <configuration> ... <includes> <include>**/include/*.java</include> <includes> ... </configuration> </plugin> </plugins> ... </reporting> ... </project>
By default no files are excluded. You can exclude files by configuring your pom.xml. If you want to exclude all your abstract classes a configuration like this might be useful:
<project> ... <reporting> <plugins> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>2.5</version> <configuration> ... <excludes> <exclude>**/Abstract*.java</exclude> </excludes> ... </configuration> </plugin> </plugins> ... </reporting> ... </project>