Upgrade the server
- Stop the server
- Backup your database (if you do not use the default embedded database)
- Backup the root directory
- Unzip the new release
- If you used the default embedded database, restore the /data directory
- Restore /extensions directories
- Update configuration files : /conf/wrapper.conf and /conf/sonar.properties
- If Sonar is deployed on JEE applications, repackage the WAR file by executing the script /war/build-war
- Start the server
- browse to http://localhost:9000 and follow setup instructions.
Upgrade the maven plugin
Update the plugin version :
Maven parameters are :
Key |
Value |
Description |
Version |
|---|---|---|---|
sonar.importSources |
true|false |
Useful to hide sources, for example for security reasons. Default is true. |
from 1.5 |
sonar.skippedModules |
comma-separated modules |
Exclude modules from analysis, for example automatically generated sources or integration tests. |
from 1.5 |
sonar.projectDate |
yyyy-MM-dd |
Analyse past revisions of sources. Example : 2007-12-25 |
from 1.5 |
sonar.projectVersion |
any string |
Override project version defined in pom.xml. |
from 1.5 |
branch |
any string |
Project branch, for example "1.3.x" |
all versions |
sonar.skipInstall |
true|false |
Skip maven install phase. Deprecated. |
1.4 and before |

