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.
Simon Brandhof 8cee55e18d Remove dangerous coupling of sonar-server on sonar-search 9 lat temu
plugins Add missing @Override annotations 9 lat temu
server Remove dangerous coupling of sonar-server on sonar-search 9 lat temu
sonar-application Fix quality flaws 9 lat temu
sonar-batch Display DateTime instead of Date to understand ITs failures 9 lat temu
sonar-batch-maven-compat Upgrade version to 5.0-SNAPSHOT 9 lat temu
sonar-batch-protocol SONAR-5473 Fix fetching of remote SCM data 9 lat temu
sonar-check-api Fix quality flaws 9 lat temu
sonar-colorizer Add missing @Override annotations 9 lat temu
sonar-core Fix delete query 9 lat temu
sonar-deprecated Add missing @Override annotations 9 lat temu
sonar-duplications Add missing @Override annotations 9 lat temu
sonar-graph Add missing @Override annotations 9 lat temu
sonar-home Add missing @Override annotations 9 lat temu
sonar-java-api Merge remote-tracking branch 'remotes/origin/branch-4.5' 9 lat temu
sonar-markdown Merge remote-tracking branch 'remotes/origin/branch-4.5' 9 lat temu
sonar-maven-plugin Merge remote-tracking branch 'remotes/origin/branch-4.5' 9 lat temu
sonar-maven3-plugin Upgrade version to 5.0-SNAPSHOT 9 lat temu
sonar-plugin-api fix quality flaws (KeyValueFormat.parse can accept null data) 9 lat temu
sonar-testing-harness Add missing @Override annotations 9 lat temu
.gitattributes Tests should be independent from EOL in resources 13 lat temu
.gitignore SONAR-5665 Stop support of GWT pages 9 lat temu
.mailmap .mailmap file to resolve wrong author names 12 lat temu
COPYING Fix crlf 13 lat temu
KEYS Change Olivier Gaudin's key 10 lat temu
README.md Remove old web dev mode 10 lat temu
build.sh SONAR-4898 fix zip size in enforcer rule 10 lat temu
copyright.txt Update copyright headers (replace 2013 by 2014) 10 lat temu
debug-server.sh SONAR-5709 Add properties sonar.search.javaAdditionalOpts and sonar.web.javaAdditionalOpts 9 lat temu
format-headers.sh Add format-headers.sh, just to remind "mvn license:format" 10 lat temu
jacoco-build.sh Rename tool scripts 9 lat temu
pom.xml Execute tests on non-h2 databases with the profile named "dbTests" 9 lat temu
quick-build.sh SONAR-4898 improve default settings 10 lat temu
run.sh SONAR-4898 - Renamed sonar.es.* properties to sonar.search.* 10 lat temu
start.sh start-mac.sh and stop-mac.sh are renamed start/stop.sh as they support linux 10 lat temu
stop.sh start-mac.sh and stop-mac.sh are renamed start/stop.sh as they support linux 10 lat temu
third-party-licenses.sh Add third-party-licenses.sh 10 lat temu

README.md

SonarQube

Put your technical debt under control. For more information please see:

Build

  • Install JDK 6 or greater
  • Install Maven 3.0.5 or greater
  • Execute build.sh. ZIP file of application is generated into sonar-application/target/

Debug Maven Analysis

Debug Maven analysis by executing mvnDebug sonar:sonar. Then attach your IDE to the remote process (the listening port is 8000).

Example in Intellij Idea : Run -> Edit configurations -> Add new configuration -> Remote -> port 8000.

Profile Maven Analysis with JProfiler

Duplicate $MAVEN_HOME/bin/mvnDebug to mvnJProfiler and replace the property MAVEN_DEBUG_OPTS by:

MAVEN_DEBUG_OPTS="-Xint -agentlib:jprofilerti=port=8849 -Xbootclasspath/a:/path/to/jprofiler/bin/agent.jar"

Then start JProfiler -> Connect to an application on a remote computer

License

Copyright 2008-2014 SonarSource.

Licensed under the GNU Lesser General Public License, Version 3.0: http://www.gnu.org/licenses/lgpl.txt