Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Upgrade guide

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

For 1.5 upgrade

Icon

The maven 'install' phase is not executed anymore. The project must be previously built and installed in the local repository.

The sonar goal must not be executed in a separated process :


  • No labels