score:1
the structure of the code seems right for me (more or less). in the securityplugin class, you return many classes (javaclasspath.class, javatestclasspath.class and so on)... what are they for? what do they implement/extend? in my expirience you need to return there: - a "rulesdefinition" (to see the rule in sonarqube) and - a checkregistrar (to let the checks being used). maybe my small rules project will give you some ideas (https://github.com/arxes-tolina/sonar-plugins ; one rule with two checks). if you are still struggling with the rules try to set the sonar.log.level-property (./conf/sonar.properties) to debug and watch the start-up of sonarqube.
Source: stackoverflow.com
Related Query
- SonarQube: Custom Java Rules Not Visible in UI
- SonarQube Integration with Eclipse: Associate with SonarQube option not working for simple java project
- Java importing custom classes which are not public
- Java error - The type List<E> is not visible - The type Map<K,V> is not visible
- Java 8/Eclipse Image not visible
- Adding Java code formatting rules to Sonarqube
- eclipse indigo java perspective not visible
- Question about components of dynamic web project in this eclipse: Web Content and java resources are not visible
- Sonarlint not showing SonarQube java squid issues (records)
- Why is my JFrame not visible when running my Java application in eclipse?
- Eclipse custom breakpoint (execute a java method, do not halt)
- Eclipse Project Facet: Java 1.8 not visible on imported Git project (Eclipse Neon 3, 4.6.3)
- Java 9 The type URL is not visible
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- Java compiler level does not match the version of the installed Java project facet
- Eclipse java debugging: source not found
- How to downgrade Java from 9 to 8 on a MACOS. Eclipse is not running with Java 9
- How to solve could not create the virtual machine error of Java Virtual Machine Launcher?
- Eclipse: The resource is not on the build path of a Java project
- Eclipse "this compilation unit is not on the build path of a java project"
- Maven dependencies not visible in WEB-INF/lib
- Java "constant string too long" compile error. Only happens using Ant, not when using Eclipse
- Eclipse+Maven src/main/java not visible in src folder in Package Explorer
- Java Casting: Java 11 throws LambdaConversionException while 1.8 does not
- Java parsing XML document gives "Content not allowed in prolog." error
- This compilation unit is not on the build path of a Java project
- Version 1.8 of project facet java does not exist
- "Source folder is not a Java project" error in eclipse
- Project facet Java version 1.7 is not supported
- I get "Source not found" when debugging my Java code in Eclipse
More Query from same tag
- ANTLR test case in eclipse
- Why does Eclipse showing errors when I load my workspace on a different computer?
- Android ADT version update throws error status
- How to prevent Eclipse from creating fragment_main.xml
- Why does Cobertura report 0% coverage when run through the Eclipse plugin?
- Can't seem to run JavaFX project in Eclipse
- Android Google Location/Maps -- Getting Current Location, I keep getting an error (RunTime Error) and don't know why?
- How to force Hibernate-Envers to use quotes around fields name?
- Value tracking in Eclipse
- Java Importing Packages/.JAR
- How to organize my workspace and working copy
- Google Cloud Tools for Eclipse ClassNotFoundException for GcsFilename
- Nesting projects with shared resources in Eclipse
- Tail recursion in scala ,here I am running scala code in eclipse IDE ,but getting no output
- How does traceview work in Eclipse?
- Listview in Java
- Eclipse, many projects and recreating development environment
- Eclipse : Errors occurred during the build Groovy/Grail Project
- Extract eclipse project .classpath dependencies into ant script
- How to configure Eclipse (or any IDE) to compile C++ using Intel compiler in a remote SSH host?
- New to windows mobile development
- what is the name of the very bottom of the eclipse window? I want to turn it off but can't until I know what its called
- Executable JAR execution different from eclipse execution
- How to close a part when error occurs during initialization in eclipse e4 rcp?
- Importing existing project in other computer gives me errors
- project yyyx is associated to an unknown sonarqube server(). please fix project association or add server in sonarqube plugin perfrences
- IBM Eclipse WSDL Editor: How do I include an external wsdl/schema?
- Spring - wire component from another project or jar
- Meaning of "S" next to a project folder in Eclipse
- How to instruct ant build tool to include another project's files in build.xml