sonatype-nexus-community / scan-gradle-plugin

Gradle plugin that scans the dependencies of a Gradle project using Sonatype platforms: OSS Index and Nexus IQ Server.
Apache License 2.0
77 stars 22 forks source link

[BUG] Error message when connecting to IQ Server is not clear #126

Closed guillermo-varela closed 2 years ago

guillermo-varela commented 2 years ago

Describe the bug When there is an error, lets say a connectivity issue, when calling IQ Server the user might get an error like this one:

Could not scan the project: Could not validate the IQ Server version

Clearly that's not a comprehensive message.

To Reproduce Steps to reproduce the behavior:

  1. Run the plugin using the nexusIQScan task.
  2. Do not start IQ Server.
  3. See the error happening.

Expected behavior The reason underneath should be visible so users don't have to run the plugin again using the --stacktrace flag