]> git.pld-linux.org Git - packages/sonar.git/commitdiff
- initial
authorpawelz <pawelz@pld-linux.org>
Wed, 17 Jun 2009 07:24:53 +0000 (07:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sonar.properties -> 1.1

sonar.properties [new file with mode: 0644]

diff --git a/sonar.properties b/sonar.properties
new file mode 100644 (file)
index 0000000..a5b692d
--- /dev/null
@@ -0,0 +1,67 @@
+#--------------------------------------------------------
+# To use an environment variable, use the following syntax :  ${env:NAME_OF_ENV_VARIABLE}
+# For example :
+#   sonar.jdbc.url: ${env:SONAR_JDBC_URL}
+#---------------------------------------------------------
+
+#---------------------------------------------------------
+# DATABASE
+#---------------------------------------------------------
+
+# Comment the 4 following lines to deactivate the default embedded database (used only for tests and demos)
+# sonar.jdbc.url:                            jdbc:derby://localhost:1527/sonar;create=true
+# sonar.jdbc.driverClassName:                org.apache.derby.jdbc.ClientDriver
+# sonar.jdbc.validationQuery:                values(1)
+# data directory, autodetected : /data if standalone application, /WEB-INF/classes/data if WAR deployement (exploded mode)
+#sonar.embeddedDatabase.dataDir:
+
+# MySql
+# uncomment the 3 following lines to use MySQL
+#sonar.jdbc.url:                            jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8
+#sonar.jdbc.driverClassName:                com.mysql.jdbc.Driver
+#sonar.jdbc.validationQuery:                select 1
+
+# Oracle
+# uncomment the 3 following lines to use Oracle
+#sonar.jdbc.url:                            jdbc:oracle:thin:@localhost/XE
+#sonar.jdbc.driverClassName:                oracle.jdbc.driver.OracleDriver
+#sonar.jdbc.validationQuery:                select 1 from dual
+
+# PostgreSQL
+# uncomment the 3 following lines to use PostgreSQL
+#sonar.jdbc.url:                            jdbc:postgresql://localhost/sonar
+#sonar.jdbc.driverClassName:                org.postgresql.Driver
+#sonar.jdbc.validationQuery:                select 1
+
+# generic settings
+sonar.jdbc.username:                       sonar
+sonar.jdbc.password:                       sonar
+sonar.jdbc.maxActive:                      10
+sonar.jdbc.maxIdle:                        5
+sonar.jdbc.minIdle:                        2
+sonar.jdbc.maxWait:                        5000
+sonar.jdbc.minEvictableIdleTimeMillis:     600000
+sonar.jdbc.timeBetweenEvictionRunsMillis:  30000
+
+# Transaction isolation level. Default driver setting is used by default.
+# Values : 1 (TRANSACTION_READ_UNCOMMITED), 2 (TRANSACTION_READ_COMMITTED), 4 (TRANSACTION_REPEATABLE_READ), 8 (TRANSACTION_SERIALIZABLE)
+#sonar.jdbc.defaultTransactionIsolation: 2
+
+
+# When packaged in a WAR, JDBC datasource can be configured into the application server then registered to JNDI.
+# In such a case Sonar uses this datasource to connect to database, else if binds itself its own datasource.
+# Note : Jonas does not accept to bind subcontexts, so name should be something like 'jdbc-sonar', without slashes.
+#sonar.jdbc.jndiName:                       jdbc/sonar
+
+
+#---------------------------------------------------------
+# EXTENSIONS
+#---------------------------------------------------------
+# Absolute path of coding rules extensions (custom rules that are not provided with tools like Checkstyle or PMD).
+# This parameter is useful when Sonar is deployed as a WAR. It avoids from packaging the WAR file each time extensions JARs are updated.
+# The directory contains subdirectories like checkstyle/ and pmd/
+# Example :
+# sonar.rules.extensionsPath:  /user/home/jdoe/sonar/extensions 
+
+sonar.web.warDeploy: true
+    
This page took 0.06511 seconds and 5 git commands to generate.