The following document contains the results of PMD 7.21.0.

Violations By Priority

Priority 3

io/wcm/caravan/maven/plugins/haldocs/GenerateHalDocsJsonMojo.java

Rule Violation Line
AvoidCatchingGenericException Avoid catching Throwable in try-catch block 126

io/wcm/caravan/maven/plugins/haldocs/GenerateJsonSchemaMojo.java

Rule Violation Line
AvoidCatchingGenericException Avoid catching Throwable in try-catch block 96
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 107
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 122

Files

io/wcm/caravan/maven/plugins/haldocs/GenerateHalDocsJsonMojo.java

Rule Violation Priority Line
AvoidCatchingGenericException Avoid catching Throwable in try-catch block 3 126

io/wcm/caravan/maven/plugins/haldocs/GenerateJsonSchemaMojo.java

Rule Violation Priority Line
AvoidCatchingGenericException Avoid catching Throwable in try-catch block 3 96
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 107
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 122

Back to top

Version: 0.6.0-SNAPSHOT. Last Published: 2026-03-10.