diff --git a/doc/starter-pack.md b/doc/starter-pack.md
index 2bcee55..24d01f8 100644
--- a/doc/starter-pack.md
+++ b/doc/starter-pack.md
@@ -76,6 +76,14 @@ This section is to help you to install and configure your first environment to d
### Requirements
+These tools are necessary :
+- `Docker` :
+- `Docker-compose` :
+- `Java` JDK (and not only JRE) for Sonarqube plugin Development :
+- `Maven` for Sonarqube plugin Development :
+- `Git` :
+- `jq` : . If you need to install `jq`, you can launch `tools/check_requirements/install_jq.bat`
+
#### Method 1 - Automatic check (default method)
In the current repository, go to `tools/check_requirements` directory.
@@ -92,12 +100,6 @@ PS : if you have some problems with this script, please feel free to create a ne
#### Method 2 - Manual check (if above "method 1" doesn't work)
-- `Docker` :
-- `Docker-compose` :
-- `Java` JDK (and not only JRE) for Sonarqube plugin Development :
-- `Maven` for Sonarqube plugin Development :
-- `Git` :
-
If you want, you can check following file to know what are min and max versions for each tool :
Then launch check commands as follows (and check versions displayed) :
@@ -108,6 +110,7 @@ docker-compose --version
javap -version
mvn --version
git --version
+jq --version
```
### Get source code
diff --git a/tools/check_requirements/README.md b/tools/check_requirements/README.md
index a7a33d6..0b15c2e 100644
--- a/tools/check_requirements/README.md
+++ b/tools/check_requirements/README.md
@@ -32,6 +32,7 @@ For Mac OSX and Linux :
For Windows :
- `check_requirements.bat` : tool checker for Windows
+- `install_jq.bat` : script to install easily `jq` for Windows with `winget`
Common files:
@@ -40,6 +41,7 @@ Common files:
## How does it work?
- [OPTIONAL] change the configuration in `config.txt` file
+- [OPTIONAL] launch `install_jq.bat` if you need to install `jq` for Windows
For Mac OSX and Linux :
diff --git a/tools/check_requirements/check_requirements.bat b/tools/check_requirements/check_requirements.bat
index 62ae5e5..217e5ef 100644
--- a/tools/check_requirements/check_requirements.bat
+++ b/tools/check_requirements/check_requirements.bat
@@ -97,4 +97,12 @@ if errorlevel 1 (
echo [OK] Git is installed.
)
+:: Check jq
+call jq --version >nul 2>&1
+if errorlevel 1 (
+ echo [FAIL] jq is not installed.
+) else (
+ echo [OK] jq is installed.
+)
+
endlocal
\ No newline at end of file
diff --git a/tools/check_requirements/check_requirements.sh b/tools/check_requirements/check_requirements.sh
index cc084f5..dc7e1eb 100755
--- a/tools/check_requirements/check_requirements.sh
+++ b/tools/check_requirements/check_requirements.sh
@@ -31,3 +31,6 @@ check_version_max_maven "$mvn_version" "$MAVEN_VERSION_MAX"
echo -e "***** Git 🚀"
check_installation "git --version"
+
+echo -e "***** jq 🚀"
+check_installation "jq --version"
diff --git a/tools/check_requirements/install_jq.bat b/tools/check_requirements/install_jq.bat
new file mode 100644
index 0000000..f0583b1
--- /dev/null
+++ b/tools/check_requirements/install_jq.bat
@@ -0,0 +1,4 @@
+@echo off
+
+:: install jq
+call winget install jqlang.jq