File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 4343 path : /home/runner/.m2/repository
4444 key : ${{ runner.os }}-maven-0-${{ hashFiles('**/pom.xml') }}
4545 - name : Build with Maven within a virtual X Server Environment
46- run : xvfb-run mvn clean verify checkstyle:check pmd:pmd pmd:check pmd:cpd-check spotbugs:check -f ./ddk-parent/pom.xml --batch-mode --fail-at-end
46+ # Run pmd:pmd and pmd:cpd first to generate reports for all modules, then run pmd:check and pmd:cpd-check
47+ # This ensures all violations are collected and reported before the build fails
48+ run : xvfb-run mvn clean verify checkstyle:check pmd:pmd pmd:cpd pmd:check pmd:cpd-check spotbugs:check -f ./ddk-parent/pom.xml --batch-mode --fail-at-end
4749 - name : Archive Tycho Surefire Plugin
4850 if : ${{ failure() }}
4951 uses : actions/upload-artifact@v5
You can’t perform that action at this time.
0 commit comments