sonar-scan 1.0.6 → 1.0.7
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
|
@@ -8,17 +8,14 @@ I have teste also on Angular, React & Vue.js projects
|
|
|
8
8
|
# Versions
|
|
9
9
|
| version | [sonar-scanner-cli](https://mvnrepository.com/artifact/org.sonarsource.scanner.cli/sonar-scanner-cli) |
|
|
10
10
|
|----------|-----------------------|
|
|
11
|
-
| latest |
|
|
11
|
+
| latest | 8.0.0.6341 |
|
|
12
|
+
| 1.0.6 | 7.3.0.5189 |
|
|
12
13
|
| 1.0.5 | 7.2.0.5079 |
|
|
13
|
-
| 1.0.4 | 7.1.0.4889 |
|
|
14
|
-
| 1.0.2 | 6.2.1.4610 |
|
|
15
|
-
| 1.0.1 | 4.8.0.2856 |
|
|
16
|
-
| 1.0.0 | 3.1.0.1141 |
|
|
17
14
|
|
|
18
15
|
|
|
19
16
|
# Installation
|
|
20
17
|
|
|
21
|
-
This plugin requires JAVA
|
|
18
|
+
This plugin requires JAVA 17 or later installed
|
|
22
19
|
|
|
23
20
|
You can install sonar-scan as a development dependency and add it as a script property in your package.json.
|
|
24
21
|
|
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-8.0.0.6341.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-8.0.0.6341.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
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sonar-scan",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Wrap sonar-scan as a node module",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node",
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
"sonar-scanner": "index.js"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
17
16
|
"postinstall": "node postinstall.js"
|
|
18
17
|
},
|
|
19
18
|
"repository": {
|