Skip to content

bradleylarrick/maven-jxr-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maven-jxr-plugin Example Project

This project demonstrates the issue with maven-jxr-plugin and classes with multiple @SuppressWarnings annotations.

My Environment

  • Windows 10 Pro
  • JDK 11 (or 17 or 20)
  • Maven v3.9.5
  • maven-jxr-plugin v3.3.1

Building the project

mvn clean verify site

Results

The resulting Source Xref page lists the classes Name and NameLoader, but does not include NameFormatter. Name has no @SuppressWarnings annotation, and NameLoader has a single @SuppressWarnings annotation. NameFormatter has multiple warning suppressions in the form:

@SuppressWarnings({"PMD.AvoidLiteralsInIfCondition", "PMD.OnlyOneReturn", "PMD.LiteralsFirstInComparisons"})

About

Example of Issue with maven-jxr-plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages