How to scan Java files only in HP Fortify Audit Workbench 16.10

Recently I needed to run a Fortify scan on a project with several modules. I was told to scan only Java files (*.java) but with the constraint that this files should not be the ones inside test directories (*test*) After doing some research and reading the documentation I came up with the following command: “-b” “SiryProject” “-machine-output” “-source” “1.8” “C:MyProjectsSiryProject**srcmainjava***.java” …