You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.3KB

13 years ago
13 years ago
10 years ago
10 years ago
13 years ago
1234567891011121314151617181920212223242526272829303132333435363738
  1. # SonarQube
  2. Put your technical debt under control. For more information please see:
  3. * Website [sonarqube.org][1]
  4. * [Issue tracker][2]
  5. * [Wiki][3]
  6. * [Developer Toolset](https://github.com/SonarSource/sonar-developer-toolset) for the configuration of Git and IDE
  7. ### Build
  8. * Install JDK 6 or greater
  9. * Install Maven 3.0.5 or greater
  10. * Execute `build.sh`. ZIP file of application is generated into sonar-application/target/
  11. ### Debug Maven Analysis
  12. Debug Maven analysis by executing `mvnDebug sonar:sonar`. Then attach your IDE to the remote process (the listening port is 8000).
  13. Example in Intellij Idea : Run -> Edit configurations -> Add new configuration -> Remote -> port 8000.
  14. ### Profile Maven Analysis with JProfiler
  15. Duplicate $MAVEN_HOME/bin/mvnDebug to mvnJProfiler and replace the property MAVEN_DEBUG_OPTS by:
  16. MAVEN_DEBUG_OPTS="-Xint -agentlib:jprofilerti=port=8849 -Xbootclasspath/a:/path/to/jprofiler/bin/agent.jar"
  17. Then start JProfiler -> Connect to an application on a remote computer
  18. ## License
  19. Copyright 2008-2014 SonarSource.
  20. Licensed under the GNU Lesser General Public License, Version 3.0: http://www.gnu.org/licenses/lgpl.txt
  21. [1]: http://www.sonarqube.org/
  22. [2]: http://jira.codehaus.org/browse/SONAR
  23. [3]: http://docs.codehaus.org/display/SONAR