Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added section about working on Eclipse Plugins in Eclipse

...

Then, copy the JAR to the '$SONAR_HOME/extensions/plugin' directory and restart your SonarQubeserver.

Working on Eclipse Plugins in Eclipse

  • import everything as a Maven project (the Tycho connector should be installed automatically)
  • in Eclipse preferences, configure a new variable in Run/Debug -> String substitution: M2_REPO = /path/to/your/local/m2/repo
  • open and activate one of the following target platforms:
    • If you want to work with Kepler: target-platform-e43/target-platform-e43-dev.target
    • If you want to work with Juno: target-platform-e42/target-platform-e42-dev.target
At this point everything should be green in Eclipse, and you should be able to run/debug Sonar Eclipse plugin. 

If you're working in Linux, consider using Kepler. We find it to be more stable than Juno on Linux.

Next step is: coding a plugin.