Steps to reproduce:
- Have a project setup that depends on a lot of libraries (common for OSGi projects that use a target platform of ~ 500 bundles)
- Configure that project to have a Mode of "Local"
- Run the Local Analysis
The analysis correctly runs
An IOException occurs due to the command line parameter "sonar.libraries" being too long
The "sonar.libraries" command line parameter is not necessarily the only parameter that can cause this issue - other ones such as "sonar.sources" or "sonar.binaries" could potentially also cause this issue, given that there is no guarantee on maximum size for these.
The value being passed for the "sonar.libraries" for our use case is attached in sources.txt