]> source.dussan.org Git - sonar-scanner-cli.git/log
sonar-scanner-cli.git
11 years agoSONARPLUGINS-2798 Replace "-e" by "-f" in sonar-runner bash script
SimonBrandhof [Thu, 4 Apr 2013 13:05:10 +0000 (15:05 +0200)]
SONARPLUGINS-2798 Replace "-e" by "-f" in sonar-runner bash script

11 years agoSONAR-2574 new API + ability to fork
SimonBrandhof [Thu, 4 Apr 2013 12:22:09 +0000 (14:22 +0200)]
SONAR-2574 new API + ability to fork

11 years agoFix pom and .gitignore
Simon Brandhof [Thu, 7 Mar 2013 10:33:12 +0000 (11:33 +0100)]
Fix pom and .gitignore

11 years ago[maven-release-plugin] prepare for next development iteration
Eric Hartmann [Tue, 26 Feb 2013 10:04:38 +0000 (11:04 +0100)]
[maven-release-plugin] prepare for next development iteration

11 years ago[maven-release-plugin] prepare release 2.1-RC1
Eric Hartmann [Tue, 26 Feb 2013 10:04:31 +0000 (11:04 +0100)]
[maven-release-plugin] prepare release 2.1-RC1

11 years agoUpdate SCM information
Eric Hartmann [Tue, 26 Feb 2013 10:00:55 +0000 (11:00 +0100)]
Update SCM information

11 years agoUpdate to Sonar 3.5-RC1
Julien HENRY [Tue, 26 Feb 2013 09:32:17 +0000 (10:32 +0100)]
Update to Sonar 3.5-RC1

11 years agoSONARPLUGINS-2711 Add SQL Server default configuration to conf/sonar-runner.properties
Simon Brandhof [Fri, 22 Feb 2013 17:19:09 +0000 (18:19 +0100)]
SONARPLUGINS-2711 Add SQL Server default configuration to conf/sonar-runner.properties

11 years agoSONARPLUGINS-2285 Fixed validation of folders for a simple project
Julien HENRY [Mon, 18 Feb 2013 17:15:09 +0000 (18:15 +0100)]
SONARPLUGINS-2285 Fixed validation of folders for a simple project
with no modules

11 years agoRename maven groupId and artifactId
Simon Brandhof [Tue, 5 Feb 2013 12:03:16 +0000 (13:03 +0100)]
Rename maven groupId and artifactId

11 years agoRename module directories to follow naming conventions
Simon Brandhof [Mon, 4 Feb 2013 14:40:17 +0000 (15:40 +0100)]
Rename module directories to follow naming conventions

11 years agoRevert "Rename module directories to follow naming conventions"
Simon Brandhof [Mon, 4 Feb 2013 14:37:14 +0000 (15:37 +0100)]
Revert "Rename module directories to follow naming conventions"

This reverts commit 0bf3c7e2b41fee06045f068c069293ba1d1aaffa.

11 years agoRename module directories to follow naming conventions
Simon Brandhof [Mon, 4 Feb 2013 14:35:15 +0000 (15:35 +0100)]
Rename module directories to follow naming conventions

11 years agoFix name of generated zip file
Simon Brandhof [Mon, 4 Feb 2013 14:31:07 +0000 (15:31 +0100)]
Fix name of generated zip file

11 years agoSONAR-2291 Allow to configure Sonar user home directory
Julien HENRY [Fri, 1 Feb 2013 16:20:24 +0000 (17:20 +0100)]
SONAR-2291 Allow to configure Sonar user home directory

11 years agoSONAR-2291 Display cache location
Julien HENRY [Thu, 31 Jan 2013 15:23:03 +0000 (16:23 +0100)]
SONAR-2291 Display cache location

11 years agoSONAR-2291 Minor changes on cache
Julien HENRY [Thu, 31 Jan 2013 14:56:15 +0000 (15:56 +0100)]
SONAR-2291 Minor changes on cache
* default cache folder is ~/.sonar/cache
* fail execution when there is a checksum mismatch
* improve logging

11 years agoAdd two missing files after refactoring.
Julien HENRY [Thu, 31 Jan 2013 14:15:11 +0000 (15:15 +0100)]
Add two missing files after refactoring.

11 years agoTry to fix JUnit test on MacOSX.
Julien HENRY [Thu, 31 Jan 2013 13:42:36 +0000 (14:42 +0100)]
Try to fix JUnit test on MacOSX.

11 years agoFix some quality flaws.
Julien HENRY [Wed, 30 Jan 2013 11:16:53 +0000 (12:16 +0100)]
Fix some quality flaws.

11 years agoUse older version of m-shade-p to be compatible with Maven 2.2.1
Julien HENRY [Wed, 30 Jan 2013 09:49:35 +0000 (10:49 +0100)]
Use older version of m-shade-p to be compatible with Maven 2.2.1

11 years agoSONAR-2291 Implemented cache on Sonar Runner side (for bootstrap JARs).
Julien HENRY [Wed, 30 Jan 2013 09:19:34 +0000 (10:19 +0100)]
SONAR-2291 Implemented cache on Sonar Runner side (for bootstrap JARs).

11 years agoImprove UT coverage.
Julien HENRY [Tue, 22 Jan 2013 09:06:26 +0000 (10:06 +0100)]
Improve UT coverage.

11 years agoFix some quality flaws.
Julien HENRY [Tue, 22 Jan 2013 08:53:57 +0000 (09:53 +0100)]
Fix some quality flaws.

11 years agoSONARPLUGINS-2622 Remove project specific settings in sonar-runner.properties file
Julien HENRY [Mon, 21 Jan 2013 15:48:17 +0000 (16:48 +0100)]
SONARPLUGINS-2622 Remove project specific settings in sonar-runner.properties file

11 years agoSONARPLUGINS-2468 Improve display of errors.
Julien HENRY [Thu, 17 Jan 2013 18:16:20 +0000 (19:16 +0100)]
SONARPLUGINS-2468 Improve display of errors.

11 years agoSONARPLUGINS-2540 Allow to provide task command by a property for testing purpose.
Julien HENRY [Thu, 17 Jan 2013 15:07:29 +0000 (16:07 +0100)]
SONARPLUGINS-2540 Allow to provide task command by a property for testing purpose.

11 years agoSONARPLUGINS-2540 Restore compatibility with older Sonar versions.
Julien HENRY [Wed, 16 Jan 2013 13:29:56 +0000 (14:29 +0100)]
SONARPLUGINS-2540 Restore compatibility with older Sonar versions.

11 years agoSONARPLUGINS-2604 -X implies -e
Julien HENRY [Wed, 16 Jan 2013 09:46:30 +0000 (10:46 +0100)]
SONARPLUGINS-2604 -X implies -e
  * Enabling debug mode with -X should also display stack traces

11 years agoSONARPLUGINS-2540 Fix JUnit test after updating version check
Julien HENRY [Tue, 15 Jan 2013 15:37:28 +0000 (16:37 +0100)]
SONARPLUGINS-2540 Fix JUnit test after updating version check

11 years agoSONARPLUGINS-2540 Sonar Runner 2.1 will require Sonar 3.5+
Julien HENRY [Tue, 15 Jan 2013 15:24:26 +0000 (16:24 +0100)]
SONARPLUGINS-2540 Sonar Runner 2.1 will require Sonar 3.5+
  * Fix the version check

11 years agoSONARPLUGINS-2604 Improve error reporting and introduce -e flag
Julien HENRY [Tue, 15 Jan 2013 15:18:33 +0000 (16:18 +0100)]
SONARPLUGINS-2604 Improve error reporting and introduce -e flag
 * Try to make errors more readable for non java expert
 * Mimic what is done in Maven CLI

11 years agoSONARPLUGINS-2313 readlink -f is not supported on macosx
Julien HENRY [Tue, 15 Jan 2013 14:21:26 +0000 (15:21 +0100)]
SONARPLUGINS-2313 readlink -f is not supported on macosx
  * As a workaround we are now using a custom function to emulate the same behavior

11 years agoSONARPLUGINS-2571 Don't display stats when using --version
Julien HENRY [Tue, 15 Jan 2013 13:15:58 +0000 (14:15 +0100)]
SONARPLUGINS-2571 Don't display stats when using --version

11 years agoSONARPLUGINS-2571 Do not parse configuration files when using --version
Julien HENRY [Tue, 15 Jan 2013 13:09:02 +0000 (14:09 +0100)]
SONARPLUGINS-2571 Do not parse configuration files when using --version

11 years agoSONARPLUGINS-2540 Update Sonar Runner CLI to be able to run tasks.
Julien HENRY [Tue, 15 Jan 2013 09:52:10 +0000 (10:52 +0100)]
SONARPLUGINS-2540 Update Sonar Runner CLI to be able to run tasks.

11 years agoSONARPLUGINS-2285 Improve validation of (tests/binaries/libraries) folders
Julien HENRY [Mon, 7 Jan 2013 17:27:30 +0000 (18:27 +0100)]
SONARPLUGINS-2285 Improve validation of (tests/binaries/libraries) folders

11 years agoSONARPLUGINS-2295 If an aggregator module defines "sonar.sources" and has such a...
Julien HENRY [Mon, 7 Jan 2013 16:26:36 +0000 (17:26 +0100)]
SONARPLUGINS-2295 If an aggregator module defines "sonar.sources" and has such a folder, a warning should be raised

11 years agoSONARPLUGINS-2421 Make it possible to define a multi-modules project whose modules...
Julien HENRY [Mon, 7 Jan 2013 16:24:58 +0000 (17:24 +0100)]
SONARPLUGINS-2421 Make it possible to define a multi-modules project whose modules share the same project base directory

11 years agoSONARPLUGINS-2297 The property sonar.sources should not be mandatory
Julien HENRY [Mon, 7 Jan 2013 11:03:52 +0000 (12:03 +0100)]
SONARPLUGINS-2297 The property sonar.sources should not be mandatory

11 years agoSONARPLUGINS-2468 Improve the error message when the bootstrapper fails to connect...
Julien HENRY [Mon, 7 Jan 2013 09:45:31 +0000 (10:45 +0100)]
SONARPLUGINS-2468 Improve the error message when the bootstrapper fails to connect to server

11 years agoTry to fix ITs on Windows.
Julien HENRY [Mon, 7 Jan 2013 08:38:19 +0000 (09:38 +0100)]
Try to fix ITs on Windows.

11 years agoFix some quality flaws.
Julien HENRY [Mon, 7 Jan 2013 08:17:20 +0000 (09:17 +0100)]
Fix some quality flaws.

11 years agoSONARPLUGINS-2399 Comma is badly supported in sonar.projectName property
Julien HENRY [Fri, 4 Jan 2013 16:55:37 +0000 (17:55 +0100)]
SONARPLUGINS-2399 Comma is badly supported in sonar.projectName property
Removed use of commons-configuration.

11 years agoSONARPLUGINS-2571 Make the Sonar Runner support a new "--version" option
Julien HENRY [Fri, 4 Jan 2013 15:42:25 +0000 (16:42 +0100)]
SONARPLUGINS-2571 Make the Sonar Runner support a new "--version" option

11 years agoSONARPLUGINS-2560 Add JUnit test for getCharsetFromContentType
Julien HENRY [Fri, 4 Jan 2013 15:20:00 +0000 (16:20 +0100)]
SONARPLUGINS-2560 Add JUnit test for getCharsetFromContentType

11 years agoSONARPLUGINS-1233 Refactoring to reuse IOUtils
Julien HENRY [Fri, 4 Jan 2013 15:20:00 +0000 (16:20 +0100)]
SONARPLUGINS-1233 Refactoring to reuse IOUtils

11 years agoSONARPLUGINS-2560 Set encoding properly when reading content from Sonar server
Julien HENRY [Fri, 4 Jan 2013 15:15:54 +0000 (16:15 +0100)]
SONARPLUGINS-2560 Set encoding properly when reading content from Sonar server

11 years agoSONARPLUGINS-2313 Improve Linux script
Julien HENRY [Fri, 4 Jan 2013 14:48:23 +0000 (15:48 +0100)]
SONARPLUGINS-2313 Improve Linux script
* SONAR_RUNNER_HOME: autodetection over symbolic links
* validation when automaticly resolved
* return non zero exit code when SONAR_RUNNER_HOME is wrong

11 years agoSONARPLUGINS-2296 BAT script does not always return the exit code
Julien HENRY [Fri, 4 Jan 2013 13:29:16 +0000 (14:29 +0100)]
SONARPLUGINS-2296 BAT script does not always return the exit code

11 years agoSONARPLUGINS-2550 Add 'sonar.login' and 'sonar.password' to the general config file
Julien HENRY [Fri, 4 Jan 2013 13:16:15 +0000 (14:16 +0100)]
SONARPLUGINS-2550 Add 'sonar.login' and 'sonar.password' to the general config file

11 years agoPreserve version in library filename.
Julien HENRY [Fri, 4 Jan 2013 08:27:33 +0000 (09:27 +0100)]
Preserve version in library filename.

11 years agoSONARPLUGINS-1233 Delete the Sonar working/temporary directory before starting analysis
Julien HENRY [Fri, 4 Jan 2013 08:22:26 +0000 (09:22 +0100)]
SONARPLUGINS-1233 Delete the Sonar working/temporary directory before starting analysis
Duplicate code from commons-io as we don't want dependency in Sonar Runner.

11 years agoSONARPLUGINS-1233 Delete the Sonar working/temporary directory before starting analysis
Julien HENRY [Thu, 3 Jan 2013 10:19:07 +0000 (11:19 +0100)]
SONARPLUGINS-1233 Delete the Sonar working/temporary directory before starting analysis

11 years agoRemove deprecations.
Julien HENRY [Thu, 3 Jan 2013 10:09:55 +0000 (11:09 +0100)]
Remove deprecations.

11 years agoUpdate to parent 15.
Julien HENRY [Thu, 3 Jan 2013 09:56:04 +0000 (10:56 +0100)]
Update to parent 15.

12 years agoFix method name
Simon Brandhof [Wed, 24 Oct 2012 13:38:00 +0000 (15:38 +0200)]
Fix method name

12 years agoUpdate README.md
David RACODON [Thu, 20 Sep 2012 09:48:23 +0000 (12:48 +0300)]
Update README.md

12 years ago[maven-release-plugin] prepare for next development iteration
Eric Hartmann [Thu, 20 Sep 2012 06:55:18 +0000 (08:55 +0200)]
[maven-release-plugin] prepare for next development iteration

12 years ago[maven-release-plugin] prepare release 2.0
Eric Hartmann [Thu, 20 Sep 2012 06:55:07 +0000 (08:55 +0200)]
[maven-release-plugin] prepare release 2.0

12 years agoReplace deprecated properties by new standard ones
Fabrice Bellingard [Fri, 14 Sep 2012 15:24:44 +0000 (17:24 +0200)]
Replace deprecated properties by new standard ones

12 years agoSONARPLUGINS-2256 Add log to warn when analysis is platform dependent
Fabrice Bellingard [Fri, 14 Sep 2012 08:13:15 +0000 (10:13 +0200)]
SONARPLUGINS-2256 Add log to warn when analysis is platform dependent

12 years agoFix violations.
Fabrice Bellingard [Fri, 14 Sep 2012 07:56:19 +0000 (09:56 +0200)]
Fix violations.

12 years agoSONARPLUGINS-2256 Do not force UTF-8 as the default charset
Fabrice Bellingard [Fri, 14 Sep 2012 07:46:00 +0000 (09:46 +0200)]
SONARPLUGINS-2256 Do not force UTF-8 as the default charset

=> By default sonar-runner should not use UTF-8 to read source code
   files but the default encoding of the JVM.

12 years agoSONARPLUGINS-2202 Clean the working dir name
Fabrice Bellingard [Thu, 13 Sep 2012 16:25:31 +0000 (18:25 +0200)]
SONARPLUGINS-2202 Clean the working dir name

12 years agoUpdate name and file headers
Fabrice Bellingard [Thu, 13 Sep 2012 16:11:07 +0000 (18:11 +0200)]
Update name and file headers

12 years agoSONARPLUGINS-2202 Work dir of modules are located in root project
Fabrice Bellingard [Thu, 13 Sep 2012 15:57:59 +0000 (17:57 +0200)]
SONARPLUGINS-2202 Work dir of modules are located in root project

12 years agoSONARPLUGINS-2202 "sonar.projectName" default value is now module ID
Fabrice Bellingard [Thu, 13 Sep 2012 14:07:23 +0000 (16:07 +0200)]
SONARPLUGINS-2202 "sonar.projectName" default value is now module ID

12 years agoRedirect test output to file
Simon Brandhof [Thu, 13 Sep 2012 15:00:13 +0000 (17:00 +0200)]
Redirect test output to file

12 years agoRevert name change
Simon Brandhof [Thu, 13 Sep 2012 14:58:13 +0000 (16:58 +0200)]
Revert name change

12 years agoRename pom name from "Sonar Standalone Runner" to "Sonar Runner"
Simon Brandhof [Thu, 13 Sep 2012 14:54:34 +0000 (16:54 +0200)]
Rename pom name from "Sonar Standalone Runner" to "Sonar Runner"

12 years agoRefactor package names
Simon Brandhof [Thu, 13 Sep 2012 14:49:00 +0000 (16:49 +0200)]
Refactor package names

12 years agoFix classloader issue with ant 1.7.x
Simon Brandhof [Thu, 13 Sep 2012 14:39:35 +0000 (16:39 +0200)]
Fix classloader issue with ant 1.7.x

12 years agoSONARPLUGINS-2202 Improve log message
Fabrice Bellingard [Wed, 12 Sep 2012 10:47:07 +0000 (12:47 +0200)]
SONARPLUGINS-2202 Improve log message

12 years agoRefactor org.sonar.runner.Main
Simon Brandhof [Tue, 11 Sep 2012 20:39:21 +0000 (22:39 +0200)]
Refactor org.sonar.runner.Main

12 years agoMove (again) Main to org.sonar.runner
Simon Brandhof [Tue, 11 Sep 2012 16:21:18 +0000 (18:21 +0200)]
Move (again) Main to org.sonar.runner

12 years agoMerge remote-tracking branch 'origin/master'
Simon Brandhof [Tue, 11 Sep 2012 14:48:17 +0000 (16:48 +0200)]
Merge remote-tracking branch 'origin/master'

12 years agoRemove bad reference to parent pom
Simon Brandhof [Tue, 11 Sep 2012 14:48:09 +0000 (16:48 +0200)]
Remove bad reference to parent pom

12 years agoSONARPLUGINS-2202 Make it possible to pass environment information
Fabrice Bellingard [Tue, 11 Sep 2012 12:23:34 +0000 (14:23 +0200)]
SONARPLUGINS-2202 Make it possible to pass environment information

Necessary for the Ant task for instance:
- masked packages
- container extensions

=> This part of the API should be improved

12 years agoSONARPLUGINS-2202 Improve multi-module definition
Fabrice Bellingard [Tue, 11 Sep 2012 12:21:25 +0000 (14:21 +0200)]
SONARPLUGINS-2202 Improve multi-module definition

12 years agoSONARPLUGINS-2202 sonar.projectKey not mandatory on a module def.
Fabrice Bellingard [Mon, 10 Sep 2012 17:04:52 +0000 (19:04 +0200)]
SONARPLUGINS-2202 sonar.projectKey not mandatory on a module def.

=> it is automatically generated from the module Id found in
   "sonar.modules"

12 years agoSONARPLUGINS-2202 Check unicity of module's key inside its parent
Fabrice Bellingard [Mon, 10 Sep 2012 16:47:24 +0000 (18:47 +0200)]
SONARPLUGINS-2202 Check unicity of module's key inside its parent

12 years agoSONARPLUGINS-2202 Refactor package names to have clearer API
Fabrice Bellingard [Mon, 10 Sep 2012 16:23:14 +0000 (18:23 +0200)]
SONARPLUGINS-2202 Refactor package names to have clearer API

12 years agoAdd .gitignore
Simon Brandhof [Mon, 10 Sep 2012 13:54:35 +0000 (15:54 +0200)]
Add .gitignore

12 years agoSONARPLUGINS-2202 Prefix child key by parent key
Fabrice Bellingard [Mon, 10 Sep 2012 09:53:30 +0000 (11:53 +0200)]
SONARPLUGINS-2202 Prefix child key by parent key

12 years agoSONARPLUGINS-2202 Change some property names
Fabrice Bellingard [Mon, 10 Sep 2012 09:16:32 +0000 (11:16 +0200)]
SONARPLUGINS-2202 Change some property names

The 2 following properties have been introduced for better
readability and consistency:
  - sonar.projectBaseDir
  - sonar.projectConfigFile

12 years agoFix violations / improve documentation / refactor some code
Fabrice Bellingard [Fri, 7 Sep 2012 16:39:15 +0000 (18:39 +0200)]
Fix violations / improve documentation / refactor some code

12 years agoImprove API and its documentation.
Fabrice Bellingard [Fri, 7 Sep 2012 14:29:44 +0000 (16:29 +0200)]
Improve API and its documentation.

12 years agoRefactor code and add some API documentation.
Fabrice Bellingard [Fri, 7 Sep 2012 13:20:42 +0000 (15:20 +0200)]
Refactor code and add some API documentation.

12 years agoFix test
Fabrice Bellingard [Fri, 7 Sep 2012 09:40:57 +0000 (11:40 +0200)]
Fix test

12 years agoImprove error message for unsupported version of Sonar
Fabrice Bellingard [Fri, 7 Sep 2012 09:11:26 +0000 (11:11 +0200)]
Improve error message for unsupported version of Sonar

12 years agoAllows to overwrite environment information on the Runner
Fabrice Bellingard [Fri, 7 Sep 2012 08:21:17 +0000 (10:21 +0200)]
Allows to overwrite environment information on the Runner

12 years agoSONARPLUGINS-2203 Improve tests
Fabrice Bellingard [Thu, 6 Sep 2012 09:18:18 +0000 (11:18 +0200)]
SONARPLUGINS-2203 Improve tests

12 years agoSONARPLUGINS-2203 Make sure all Sonar properties start with "sonar."
Fabrice Bellingard [Thu, 6 Sep 2012 09:13:20 +0000 (11:13 +0200)]
SONARPLUGINS-2203 Make sure all Sonar properties start with "sonar."

12 years agoSONARPLUGINS-1856 Log message if sources directory does not exist
Fabrice Bellingard [Wed, 5 Sep 2012 14:40:09 +0000 (16:40 +0200)]
SONARPLUGINS-1856 Log message if sources directory does not exist

=> When launching the Sonar Runner, a meaningful error message must
   be thrown when one source directory doesn't exist

12 years agoFix unit test
Fabrice Bellingard [Wed, 5 Sep 2012 14:17:47 +0000 (16:17 +0200)]
Fix unit test

12 years agoRefactor and fix violations (again)
Fabrice Bellingard [Wed, 5 Sep 2012 14:13:54 +0000 (16:13 +0200)]
Refactor and fix violations (again)

12 years agoRefactor and fix violations
Fabrice Bellingard [Wed, 5 Sep 2012 14:05:35 +0000 (16:05 +0200)]
Refactor and fix violations

12 years agoAdd readme
Fabrice Bellingard [Wed, 5 Sep 2012 12:42:59 +0000 (14:42 +0200)]
Add readme

12 years agoUpdate SCM information
Eric Hartmann [Wed, 5 Sep 2012 11:34:02 +0000 (13:34 +0200)]
Update SCM information