Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Eric Hartmann a1dabe9e13 [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
plugins [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-application [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-batch [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-batch-maven-compat [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-check-api [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-colorizer [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-core [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-deprecated [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-duplications [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-graph [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-home [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-java-api [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-markdown [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-maven-plugin [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-maven3-plugin [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-plugin-api [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-server [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-testing-harness [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
sonar-ws-client [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
.gitattributes Tests should be independent from EOL in resources 13 роки тому
.gitignore Ignore Eclipse builder configuration directory 10 роки тому
.mailmap .mailmap file to resolve wrong author names 12 роки тому
COPYING Fix crlf 13 роки тому
KEYS Add Eric Hartmann's key 12 роки тому
README.md Update README.md 10 роки тому
build.sh Revert -> goal "clean" is back in build/quick-build scripts 10 роки тому
copyright.txt Update copyright headers (replace 2013 by 2014) 10 роки тому
format-headers.sh Add format-headers.sh, just to remind "mvn license:format" 10 роки тому
pom.xml [maven-release-plugin] prepare release 4.4-RC3 10 роки тому
push.sh Little Goody for OS X users ;) 10 роки тому
quick-build.sh SONAR-5216 Rename new metric profiles -> quality_profiles 10 роки тому
run.sh Added test with JSON assertion in RuleWS 10 роки тому
start.sh start-mac.sh and stop-mac.sh are renamed start/stop.sh as they support linux 10 роки тому
stop.sh start-mac.sh and stop-mac.sh are renamed start/stop.sh as they support linux 10 роки тому
third-party-licenses.sh Add third-party-licenses.sh 10 роки тому

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/

Edit Ruby Code

The development mode is used to edit Ruby on Rails code. The application is automatically reloaded when Ruby files are saved. It avoids restarting the server. Changes are reloaded on the fly. Execute one of the following commands from the sonar-server/ directory to start server:

# for embedded database
sonar-server/h2-start.sh

# or for other dbs
sonar-server/mysql-start.sh
sonar-server/postgresql-start.sh

Then Ruby code can be directly edited from sonar-server/src/main/webapp/WEB-INF/app.

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