diff --git a/build.sh b/build.sh
index 1bdfb6f..fbd3c6f 100755
--- a/build.sh
+++ b/build.sh
@@ -13,22 +13,9 @@ RunMaven() {
fi
}
-cd rpg-custom-rules
-wget https://binaries.sonarsource.com/CommercialDistribution/sonar-rpg-plugin/sonar-rpg-plugin-3.9.0.5001.jar
-mv sonar-rpg-plugin-3.9.0.5001.jar ./lib/sonar-rpg-plugin-3.9.0.5001.jar
-# We explicitly call validate here, to install the sonar-rpg-plugin jar ahead of packaging
-mvn validate
-RunMaven
-cd ..
-
cd cobol-custom-rules
-wget https://binaries.sonarsource.com/CommercialDistribution/sonar-cobol-plugin/sonar-cobol-plugin-4.3.0.3019.jar
-mv sonar-cobol-plugin-4.3.0.3019.jar ./lib/sonar-cobol-plugin-4.3.0.3019.jar
+wget https://binaries.sonarsource.com/CommercialDistribution/sonar-cobol-plugin/sonar-cobol-plugin-5.7.0.8061.jar
+mv sonar-cobol-plugin-5.7.0.8061.jar ./lib/sonar-cobol-plugin-5.7.0.8061.jar
RunMaven
cd ..
-cd jcl-custom-rules
-wget https://binaries.sonarsource.com/CommercialDistribution/sonar-jcl-plugin/sonar-jcl-plugin-1.2.0.1148.jar
-mv sonar-jcl-plugin-1.2.0.1148.jar ./lib/sonar-jcl-plugin-1.2.0.1148.jar
-RunMaven
-cd ..
diff --git a/cobol-custom-rules/pom.xml b/cobol-custom-rules/pom.xml
index 3e5b8fb..9f8aee7 100644
--- a/cobol-custom-rules/pom.xml
+++ b/cobol-custom-rules/pom.xml
@@ -19,7 +19,7 @@
1.2.0
6.7.4
- 4.3.0.3019
+ 5.7.0.8061
@@ -67,7 +67,7 @@
1.21.0.505
true
- cobol-custom
+ cobolcustom
COBOL Custom Rules
com.mycompany.cobol.sample.CobolCustomRulesPlugin
true
diff --git a/cobol-custom-rules/src/main/java/com/mycompany/cobol/sample/CobolCustomCheckRepository.java b/cobol-custom-rules/src/main/java/com/mycompany/cobol/sample/CobolCustomCheckRepository.java
index a1317bd..f5b2470 100644
--- a/cobol-custom-rules/src/main/java/com/mycompany/cobol/sample/CobolCustomCheckRepository.java
+++ b/cobol-custom-rules/src/main/java/com/mycompany/cobol/sample/CobolCustomCheckRepository.java
@@ -19,6 +19,7 @@
*/
package com.mycompany.cobol.sample;
+import com.mycompany.cobol.sample.checks.ForbiddenCopyRule;
import com.mycompany.cobol.sample.checks.ForbiddenCallRule;
import com.mycompany.cobol.sample.checks.IssueOnEachFileRule;
import com.mycompany.cobol.sample.checks.TrivialEvaluateRule;
@@ -42,7 +43,7 @@ public class CobolCustomCheckRepository implements CobolCheckRepository, RulesDe
// Change key and name to reflect your company rule repository.
// Don't use "cobol" key, it's the core repository.
- private static final String REPOSITORY_KEY = "my-custom-cobol";
+ private static final String REPOSITORY_KEY = "customcobol";
private static final String REPOSITORY_NAME = "My Custom Cobol Analyzer";
// Must be "cobol"
@@ -56,6 +57,7 @@ public String getRepositoryKey() {
@Override
public Collection