Skip to content

Commit

Permalink
add global sonar exclusion for rule S2629
Browse files Browse the repository at this point in the history
  • Loading branch information
cfkoehler committed Sep 25, 2024
1 parent 015c6c2 commit d9f2b27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,11 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- The following properties are used to ignore certain SonarQube rules. -->
<sonar.issue.ignore.multicriteria>e1</sonar.issue.ignore.multicriteria>
<sonar.issue.ignore.multicriteria>e1,e2</sonar.issue.ignore.multicriteria>
<sonar.issue.ignore.multicriteria.e1.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e1.resourceKey>
<sonar.issue.ignore.multicriteria.e1.ruleKey>java:S6212</sonar.issue.ignore.multicriteria.e1.ruleKey>
<sonar.issue.ignore.multicriteria.e2.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e2.resourceKey>
<sonar.issue.ignore.multicriteria.e2.ruleKey>java:S2629</sonar.issue.ignore.multicriteria.e2.ruleKey>
<!-- With Java 8 and the latest version of surefire, user.timezone is not read correctly. Reevaluate one day.
See https://issues.apache.org/jira/browse/SUREFIRE-1176 or
http://stackoverflow.com/questions/19121928/java-system-getproperty-user-timezone-does-not-work
Expand Down

0 comments on commit d9f2b27

Please sign in to comment.