Skip to content

Commit ce28cca

Browse files
committed
Drop java tutorial from examples
1 parent b3e68df commit ce28cca

File tree

48 files changed

+7
-1919
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+7
-1919
lines changed

java-custom-rules/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=org.sonarsource.samples%3Ajava-custom-rules&metric=alert_status)](https://sonarcloud.io/dashboard?id=org.sonarsource.samples%3Ajava-custom-rules)
1+
Custom Java rules
2+
=======
23

3-
This example demonstrates how to write **Custom Rules** for SonarJava.
4+
The java custom-rules plugin template moved to a better place!
5+
6+
To learn how to write custom rules, please refer to the documentation embedded directly in the Open Source SonarSource Java Analyzer Repository, available here: [SonarSource/SonarJava](https://github.com/SonarSource/sonar-java).
7+
8+
The Java Analyzer repository also contains an embedded [tutorial](https://github.com/SonarSource/sonar-java/blob/master/docs/CUSTOM_RULES_101.md), as well as a [template maven project](https://github.com/SonarSource/sonar-java/blob/master/docs/java-custom-rules-example/) to start writing custom rules fast. This template will be up-to-date with the latest releases of the Java Analyzer.

java-custom-rules/pom.xml

Lines changed: 0 additions & 213 deletions
This file was deleted.

java-custom-rules/src/main/java/org/sonar/samples/java/MyJavaFileCheckRegistrar.java

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)