sonar-scan 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -9,11 +9,12 @@ I have teste also on Angular, React & Vue.js projects
|
|
|
9
9
|
| version | [sonar-scanner-cli](https://mvnrepository.com/artifact/org.sonarsource.scanner.cli/sonar-scanner-cli) |
|
|
10
10
|
|----------|-----------------------|
|
|
11
11
|
| 1.0.0 | 3.1.0.1141 |
|
|
12
|
-
|
|
|
12
|
+
| 1.0.1 | 4.8.0.2856 |
|
|
13
|
+
| latest | 6.2.1.4610 |
|
|
13
14
|
|
|
14
15
|
# Installation
|
|
15
16
|
|
|
16
|
-
This plugin requires JAVA
|
|
17
|
+
This plugin requires JAVA 11 installed
|
|
17
18
|
|
|
18
19
|
You can install sonar-scan as a development dependency and add it as a script property in your package.json.
|
|
19
20
|
|
|
@@ -45,4 +46,4 @@ npm run sonar-scan
|
|
|
45
46
|
|
|
46
47
|
https://github.com/bcaudan/node-sonar-scanner
|
|
47
48
|
|
|
48
|
-
This library is not updated
|
|
49
|
+
This library is not updated for a few years but we need & support it
|
package/bin/sonar-scanner
CHANGED
|
@@ -28,7 +28,7 @@ sonar_scanner_home=$(dirname "$script_path")/..
|
|
|
28
28
|
# make it fully qualified
|
|
29
29
|
sonar_scanner_home=$(cd "$sonar_scanner_home" && pwd -P)
|
|
30
30
|
|
|
31
|
-
jar_file=$sonar_scanner_home/lib/sonar-scanner-cli-
|
|
31
|
+
jar_file=$sonar_scanner_home/lib/sonar-scanner-cli-6.2.1.4610.jar
|
|
32
32
|
|
|
33
33
|
# check that sonar_scanner_home has been correctly set
|
|
34
34
|
if [ ! -f "$jar_file" ] ; then
|
package/bin/sonar-scanner.bat
CHANGED
|
@@ -68,7 +68,7 @@ set PROJECT_HOME=%CD%
|
|
|
68
68
|
@REM remove trailing backslash, see https://groups.google.com/d/msg/sonarqube/wi7u-CyV_tc/3u9UKRmABQAJ
|
|
69
69
|
IF %PROJECT_HOME:~-1% == \ SET PROJECT_HOME=%PROJECT_HOME:~0,-1%
|
|
70
70
|
|
|
71
|
-
%JAVA_EXEC% -Djava.awt.headless=true %SONAR_SCANNER_DEBUG_OPTS% %SONAR_SCANNER_OPTS% -cp "%SONAR_SCANNER_HOME%\lib\sonar-scanner-cli-
|
|
71
|
+
%JAVA_EXEC% -Djava.awt.headless=true %SONAR_SCANNER_DEBUG_OPTS% %SONAR_SCANNER_OPTS% -cp "%SONAR_SCANNER_HOME%\lib\sonar-scanner-cli-6.2.1.4610.jar" "-Dscanner.home=%SONAR_SCANNER_HOME%" "-Dproject.home=%PROJECT_HOME%" org.sonarsource.scanner.cli.Main %*
|
|
72
72
|
if ERRORLEVEL 1 goto error
|
|
73
73
|
goto end
|
|
74
74
|
|
package/index.js
CHANGED
|
File without changes
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|