Reputation: 1
Can I write custom rule in a simple java project for sonar Qube and add it to sonarqube instance or do I have to write my custom rule in a maven project only.
Upvotes: 0
Views: 960
Reputation: 124646
This article explains how to write custom Java rules using Maven. You could follow the steps and instead of using Maven, perform manually what the Maven steps would do. Among other things: download the dependencies, with correct versions, and create a plugin package correctly. All the source code is available, so doing this is entirely possible. It's likely to be a tedious, boring procedure, that's why we provide Maven tools to make this easier and painless. As @Ann said, we don't provide support if you go without Maven, and we don't recommend it.
Upvotes: 0