Thanks for your time. Please find below the output of the command mvn clean install, which is the one indicated in the tutorial (if you want me to send you another log please let me know):
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Java Custom Rules - Template 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ java-custom-rules-template ---
[INFO] Deleting /home/joaquin/Project/workspace/java-custom-rules-template/target
[INFO]
[INFO] --- sonar-packaging-maven-plugin:1.17:check (default-check) @ java-custom-rules-template ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ java-custom-rules-template ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/joaquin/Project/workspace/java-custom-rules-template/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ java-custom-rules-template ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 6 source files to /home/joaquin/Project/workspace/java-custom-rules-template/target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ java-custom-rules-template ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/joaquin/Project/workspace/java-custom-rules-template/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ java-custom-rules-template ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files to /home/joaquin/Project/workspace/java-custom-rules-template/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ java-custom-rules-template ---
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.sonar.template.java.JavaCustomRulesDefinitionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.39 sec - in org.sonar.template.java.JavaCustomRulesDefinitionTest
Running org.sonar.template.java.checks.MyFirstCustomCheckTest
10:27:36.312 [main] INFO org.sonar.squidbridge.ProgressReport - 1 source files to be analyzed
10:27:36.475 [main] DEBUG o.s.java.bytecode.ClassLoaderBuilder - ----- Classpath analyzed by Squid:
10:27:36.475 [main] DEBUG o.s.java.bytecode.ClassLoaderBuilder - /home/joaquin/Project/workspace/java-custom-rules-template/target/test-classes
10:27:36.475 [main] DEBUG o.s.java.bytecode.ClassLoaderBuilder - -----
10:27:36.840 [Report about progress of Java AST analyzer] INFO org.sonar.squidbridge.ProgressReport - 1/1 source files have been analyzed
10:27:36.855 [main] WARN o.s.j.checks.verifier.CheckVerifier - Exception parsing JSON for rule MyFirstCustomCheck
java.io.IOException: /org/sonar/l10n/java/rules/squid/MyFirstCustomCheck_java.json not found
at org.sonar.java.checks.verifier.CheckVerifier.getRuleJSON(CheckVerifier.java:228) [java-checks-testkit-4.6.0.8784.jar:na]
at org.sonar.java.checks.verifier.CheckVerifier.remediationFunction(CheckVerifier.java:205) [java-checks-testkit-4.6.0.8784.jar:na]
at org.sonar.java.checks.verifier.CheckVerifier.assertMultipleIssue(CheckVerifier.java:178) [java-checks-testkit-4.6.0.8784.jar:na]
at org.sonar.java.checks.verifier.CheckVerifier.checkIssues(CheckVerifier.java:171) [java-checks-testkit-4.6.0.8784.jar:na]
at org.sonar.java.checks.verifier.JavaCheckVerifier.scanFile(JavaCheckVerifier.java:274) [java-checks-testkit-4.6.0.8784.jar:na]
at org.sonar.java.checks.verifier.JavaCheckVerifier.scanFile(JavaCheckVerifier.java:256) [java-checks-testkit-4.6.0.8784.jar:na]
at org.sonar.java.checks.verifier.JavaCheckVerifier.scanFile(JavaCheckVerifier.java:222) [java-checks-testkit-4.6.0.8784.jar:na]
at org.sonar.java.checks.verifier.JavaCheckVerifier.verify(JavaCheckVerifier.java:105) [java-checks-testkit-4.6.0.8784.jar:na]
at org.sonar.template.java.checks.MyFirstCustomCheckTest.test(MyFirstCustomCheckTest.java:10) [test-classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121]
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) [junit-4.11.jar:na]
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na]
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) [junit-4.11.jar:na]
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.11.jar:na]
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) [junit-4.11.jar:na]
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) [junit-4.11.jar:na]
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) [junit-4.11.jar:na]
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) [junit-4.11.jar:na]
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) [junit-4.11.jar:na]
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) [junit-4.11.jar:na]
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) [junit-4.11.jar:na]
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) [junit-4.11.jar:na]
at org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit-4.11.jar:na]
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367) [surefire-junit4-2.19.1.jar:2.19.1]
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274) [surefire-junit4-2.19.1.jar:2.19.1]
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) [surefire-junit4-2.19.1.jar:2.19.1]
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161) [surefire-junit4-2.19.1.jar:2.19.1]
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290) [surefire-booter-2.19.1.jar:2.19.1]
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242) [surefire-booter-2.19.1.jar:2.19.1]
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121) [surefire-booter-2.19.1.jar:2.19.1]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.024 sec - in org.sonar.template.java.checks.MyFirstCustomCheckTest
Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- sonar-packaging-maven-plugin:1.17:sonar-plugin (default-sonar-plugin) @ java-custom-rules-template ---
[INFO] -------------------------------------------------------
[INFO] Plugin definition in update center
[INFO] Key: javatemplatecustom
[INFO] Name: Java Template Custom Rules
[INFO] Description: Empty Template for Custom Rules
[INFO] Version: 1.0-SNAPSHOT
[INFO] Entry-point Class: org.sonar.template.java.JavaCustomRulesPlugin
[INFO] Required Plugins:
[INFO] Does the plugin support SonarLint?: true
[INFO] Use Child-first ClassLoader: false
[INFO] Base Plugin:
[INFO] Homepage URL:
[INFO] Minimal SonarQube Version: 5.6
[INFO] Licensing:
[INFO] Organization:
[INFO] Organization URL:
[INFO] Terms and Conditions:
[INFO] Issue Tracker URL:
[INFO] Build date: 2017-03-20T10:27:37-0700
[INFO] Sources URL:
[INFO] Developers:
[INFO] Dependencies: META-INF/lib/maven-artifact-manager-2.0.7.jar META-INF/lib/cglib-nodep-3.1.jar META-INF/lib/jsr305-1.3.9.jar META-INF/lib/guava-19.0.jar META-INF/lib/sslr-squid-bridge-2.6.1.jar META-INF/lib/maven-project-2.0.7.jar META-INF/lib/maven-model-2.0.7.jar META-INF/lib/maven-repository-metadata-2.0.7.jar META-INF/lib/java-maven-model-4.6.0.8784.jar META-INF/lib/maven-plugin-registry-2.0.7.jar META-INF/lib/classworlds-1.1-alpha-2.jar META-INF/lib/commons-lang-2.6.jar META-INF/lib/maven-artifact-2.0.7.jar META-INF/lib/java-frontend-4.6.0.8784.jar META-INF/lib/maven-settings-2.0.7.jar META-INF/lib/wagon-provider-api-1.0-beta-2.jar META-INF/lib/sslr-core-1.21.jar META-INF/lib/asm-debug-all-5.0.3.jar META-INF/lib/slf4j-api-1.6.2.jar META-INF/lib/maven-profile-2.0.7.jar META-INF/lib/plexus-container-default-1.0-alpha-9-stable-1.jar META-INF/lib/plexus-utils-1.4.1.jar META-INF/lib/picocontainer-2.14.1.jar
[INFO] -------------------------------------------------------
[INFO] Building jar: /home/joaquin/Project/workspace/java-custom-rules-template/target/java-custom-rules-template-1.0-SNAPSHOT.jar
[INFO] already added, skipping
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ java-custom-rules-template ---
[INFO] Installing /home/joaquin/Project/workspace/java-custom-rules-template/target/java-custom-rules-template-1.0-SNAPSHOT.jar to /home/joaquin/.m2/repository/org/sonar/samples/java-custom-rules-template/1.0-SNAPSHOT/java-custom-rules-template-1.0-SNAPSHOT.jar
[INFO] Installing /home/joaquin/Project/workspace/java-custom-rules-template/pom.xml to /home/joaquin/.m2/repository/org/sonar/samples/java-custom-rules-template/1.0-SNAPSHOT/java-custom-rules-template-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.686 s
[INFO] Finished at: 2017-03-20T10:27:38-07:00
[INFO] Final Memory: 24M/218M
[INFO] ------------------------------------------------------------------------
Maybe it's a Maven problem, but it throws this error all the time, I've tried updating the project, cleaning and installing again, but it doesn't seem to work. I will keep trying.