Skip to content

Commit c93fcef

Browse files
committed
excluding examples from spotbugs check for java 8 build
1 parent dd66e94 commit c93fcef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/spotbugs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
# path: '**/spotbugsXml.xml'
4040
# # Can be simplified post this issue is fixed https://github.com/jwgmeligmeyling/spotbugs-github-action/issues/9
4141
- name: Build with Maven for spotbugs check to mark build as fail if voilations found
42-
run: mvn -Pbuild-with-spotbugs -B install --file pom.xml -DskipTests -Dmaven.javadoc.skip=true -Dspotbugs.failOnError=true
42+
run: mvn -Pbuild-with-spotbugs -B install --file pom.xml -DskipTests -Dmaven.javadoc.skip=true -Dspotbugs.failOnError=true -pl '!examples'

0 commit comments

Comments
 (0)