Can I write custom rule in a simple java project for sonar Qube

Sonarqube 5.4
Scanner - 2.4

Can I write custom rule in a java project for sonar Qube and add it to sonarqube instance without maven? or do I have to write my custom rule in a maven project only always.

if yes , please share the links/steps if any for creating a custom rules for simple java project not maven

Hi,

Welcome to the community!

Yes, you’ll have to use a Maven project.

 
Ann

P.S. You should upgrade your SonarQube server at your earliest convenience. You’re more than 3 LTSs behind.

Thanks Ann for the confirmation…