Skip to content

Commit

Permalink
[MCHECKSTYLE-403] Goal checkstyle:checkstyle ignores testResources
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Oct 21, 2023
1 parent d12ab8f commit 47b8ec6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ protected CheckstyleExecutorRequest createRequest() throws MavenReportException
.setExcludes(excludes)
.setFailsOnError(failsOnError)
.setIncludes(includes)
.setIncludeResources(includeResources)
.setIncludeTestResources(includeTestResources)
.setResourceIncludes(resourceIncludes)
.setResourceExcludes(resourceExcludes)
.setIncludeResources(includeResources)
.setIncludeTestResources(includeTestResources)
.setIncludeTestSourceDirectory(includeTestSourceDirectory)
.setListener(getListener())
.setProject(project)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ protected CheckstyleExecutorRequest createRequest() throws MavenReportException
.setProject(project)
.setSourceDirectories(getSourceDirectories())
.setResources(resources)
.setTestResources(testResources)
.setStringOutputStream(stringOutputStream)
.setSuppressionsLocation(suppressionsLocation)
.setTestSourceDirectories(getTestSourceDirectories())
Expand Down

0 comments on commit 47b8ec6

Please sign in to comment.