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

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