You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem - no dependencies and licenses generated or collected on successful run, I have 1 failed dependency retrieving, is it possible that it cancels everything else?
I see that exit code is influenced by this warning in the script even if is warning.
Jenkins sonar scanner plugin maven run on multibranch like this:
[main] INFO org.sonarsource.scanner.maven.SonarQubeMojo - 09:44:14.469 Sensor License Check [licensecheck]
[main] INFO org.sonarsource.scanner.maven.SonarQubeMojo - 09:44:14.471 Scanning for Maven dependencies (POM: file:///home/jenkins/agent/workspace/unting-example-service_develop/pom.xml)
[main] WARNING org.sonarsource.scanner.maven.SonarQubeMojo - 09:44:19.512 Could not get dependency list via maven
[main] WARNING org.sonarsource.scanner.maven.SonarQubeMojo - 09:44:19.512 Failed to execute goal on project example-service: Could not resolve dependencies for project com.singularity:example-service:jar:3.3.0-SNAPSHOT: The following artifacts could not be resolved: com.aspose:aspose-words:jar:jdk17:19.4, com.aspose:aspose-cells:jar:19.3, com.aspose:aspose-slides:jar:jdk16:19.3: Could not find artifact com.aspose:aspose-words:jar:jdk17:19.4 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[main] INFO org.sonarsource.scanner.maven.SonarQubeMojo - 09:44:19.517 No license-details.json file found in /home/jenkins/agent/workspace/unting-example-service_develop/build/reports/dependency-license/license-details.json - skipping Gradle dependency scan
[main] DEBUG org.sonarsource.scanner.maven.SonarQubeMojo - 09:44:19.538 Saving dependencies for module [key=singRoadmap_example-service]: []
[main] DEBUG org.sonarsource.scanner.maven.SonarQubeMojo - 09:44:19.538 Saving licenses for project [key=singRoadmap_example-service]: []
[main] INFO org.sonarsource.scanner.maven.SonarQubeMojo - 09:44:19.540 Sensor License Check [licensecheck] (done) | time=5071ms
The text was updated successfully, but these errors were encountered:
Problem - no dependencies and licenses generated or collected on successful run, I have 1 failed dependency retrieving, is it possible that it cancels everything else? I see that exit code is influenced by this warning in the script even if is warning. Jenkins sonar scanner plugin maven run on multibranch like this:
As fare a I understand the code, yes, if there is an exception during capturing the list from maven, you get an empty list back.
Problem - no dependencies and licenses generated or collected on successful run, I have 1 failed dependency retrieving, is it possible that it cancels everything else?
I see that exit code is influenced by this warning in the script even if is warning.
Jenkins sonar scanner plugin maven run on multibranch like this:
Version:
SonarQube - 9.2.4 with LTS License Check plugin 5.0
Debug:
The text was updated successfully, but these errors were encountered: