mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-07-29 20:17:57 +02:00
Continuous Inspection
plugins | ||
server | ||
sonar-application | ||
sonar-batch | ||
sonar-batch-maven-compat | ||
sonar-batch-protocol | ||
sonar-check-api | ||
sonar-colorizer | ||
sonar-core | ||
sonar-deprecated | ||
sonar-duplications | ||
sonar-graph | ||
sonar-home | ||
sonar-java-api | ||
sonar-markdown | ||
sonar-plugin-api | ||
sonar-testing-harness | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
build.sh | ||
COPYING | ||
copyright.txt | ||
debug-server.sh | ||
format-headers.sh | ||
jacoco-build.sh | ||
KEYS | ||
pom.xml | ||
quick-build.sh | ||
README.md | ||
run.sh | ||
start.sh | ||
stop.sh | ||
third-party-licenses.sh |
SonarQube
Put your technical debt under control. For more information please see:
- Website sonarqube.org
- Issue tracker
- Wiki
- Developer Toolset for the configuration of Git and IDE
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