Now that Java plugins are packaged in an independent Ecosystem, it should be possible to have a Sonar instance without the Java language plugins installed. However, when doing so, some bugs affect (at least) the QP ("Quality Profiles") page:
- Install a fresh Sonar without the Java plugins (remove them from "downloads" before starting) and go on the QP page
- => the "Java Profiles" section should not appear
- => the "Java Profiles" section is still there and the Java profiles are displayed where they shouldn't
- => if you want to create a new JS profile (click on "Create"), you can't: you get a server error ("unsatisfied dependency" because there's no ProfileImporter class: the ProfilesConsole class should take this possibility into account and offer a constructor without this class)
All those points should be fixed.