Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve output for missing requirements on dependencies #3759

Open
thahnen opened this issue Apr 17, 2024 · 0 comments
Open

Improve output for missing requirements on dependencies #3759

thahnen opened this issue Apr 17, 2024 · 0 comments

Comments

@thahnen
Copy link
Contributor

thahnen commented Apr 17, 2024

TL;DR

Trying to build an Eclipse plug-in with a required bundle that is coming as a Maven dependency. The build fails because the requirement isn't met (the dependency is not downloaded because it is not available), but there is no output on the log indicating that. The only logs regarding the dependency show that it was "downloaded" (even though it was only an attempt and not successful).

Expected behavior

When the dependency cannot be acquired initially, there should be a log output after trying to download from every possible source there is. Or, for the Cannot resolve project dependencies output, there should be more information saying not only the requirement couldn't be met but also providing more info for debugging:

  • dependency not available, not accessible locally for example
  • there are dependencies found, but the version doesn't match the requirement
  • for other cases, other informational messages
    The link to the Tycho wiki ain't bad, but the content of the wiki doesn't really capture this case (I'm having) clearly enough, also because the paragraph most interesting Why can dependency XYZ not be resolved? is lacking information (and featuring a TODO, nice).

Actual behavior

The dependency in question here is sonarlint-rpc-protocol which is configured in a target platform and consumed by our Maven / Tycho build.
When releasing the dependency itself, we publish that artifact to Maven Central; otherwise (like in this case), we have it on our own private Artifactory. By default, we also cache the artifacts for the build pipeline as it is done locally.

The logs (see below) feature the information that Maven (or Tycho, I'm not sure in this case as it is resolved from the target platform) indicates it tried to download it from both sources and as there is no error, this looked fine to me.

Later, I found out that I was wrong and that the artifact was neither on Maven Central nor our own private Artifactory - but honestly, it took way too long. This was because running it locally worked fine because it was cached, and in some instances also, the build pipeline was fine because another machine that had the dependency in question was still cached.

======= Build and analyze pull request
Replacing version 10.1.0-SNAPSHOT with 10.1.0.81771
Apache Maven 3.9.3 (21122926829f1ead511c958d89bd2f672198ae9f)
Maven home: /usr/local/share/maven
Java version: 17.0.10, vendor: Eclipse Adoptium, runtime: /opt/java/openjdk
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.10.205-195.807.amzn2.x86_64", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Tycho Version:  4.0.6 (9942454590ad8a6e1c9aa907852cf017dc2ccb98)
[INFO] Tycho Mode:     maven
[INFO] Tycho Builder:  maven
[INFO] Build Threads:  1
[WARNING] ######## IMPORTANT #######
[WARNING] Usage of tycho.mode=maven is deprecated and will be removed in later Tycho versions, see https://github.com/eclipse-tycho/tycho/issues/676
[WARNING] ######## IMPORTANT #######
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] SonarLint for Eclipse                                              [pom]
[INFO] SonarLint for Eclipse Core                              [eclipse-plugin]
[INFO] SonarLint for Eclipse UI                                [eclipse-plugin]
[INFO] SonarLint for Eclipse (feature)                        [eclipse-feature]
[INFO] SonarLint for Eclipse m2e integration                   [eclipse-plugin]
[INFO] SonarLint for Eclipse JDT                               [eclipse-plugin]
[INFO] SonarLint for Eclipse CDT                               [eclipse-plugin]
[INFO] SonarLint for Eclipse PyDev                             [eclipse-plugin]
[INFO] SonarLint Sloop Linux aarch64                           [eclipse-plugin]
[INFO] SonarLint Sloop Linux x64                               [eclipse-plugin]
[INFO] SonarLint Sloop MacOSX aarch64                          [eclipse-plugin]
[INFO] SonarLint Sloop MacOSX x64                              [eclipse-plugin]
[INFO] SonarLint Sloop Windows x64                             [eclipse-plugin]
[INFO] SonarLint Sloop no architecture                         [eclipse-plugin]
[INFO] SonarLint for Eclipse (update-site)                 [eclipse-repository]
[INFO] SonarLint for Eclipse Core Tests                   [eclipse-test-plugin]
[INFO] 
[INFO] -----< org.sonarsource.sonarlint.eclipse:sonarlint-eclipse-parent >-----
[INFO] Building SonarLint for Eclipse 10.1.0-SNAPSHOT                    [1/16]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- tycho-versions:3.0.5:set-version (default-cli) @ sonarlint-eclipse-parent ---
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/bouncycastle/bcpg-jdk18on/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/bouncycastle/bcpg-jdk18on/maven-metadata.xml (638 B at 877 B/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/bouncycastle/bcpg-jdk18on/1.78/bcpg-jdk18on-1.78.pom
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/bouncycastle/bcpg-jdk18on/1.78/bcpg-jdk18on-1.78.pom (1.6 kB at 75 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/bouncycastle/bcprov-jdk18on/1.78/bcprov-jdk18on-1.78.pom
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/bouncycastle/bcprov-jdk18on/1.78/bcprov-jdk18on-1.78.pom (1.1 kB at 60 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.common/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.common/maven-metadata.xml (1.1 kB at 5.7 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.registry/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.registry/maven-metadata.xml (1.0 kB at 5.2 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.core.runtime/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.core.runtime/maven-metadata.xml (1.1 kB at 5.5 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.core.jobs/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.core.jobs/maven-metadata.xml (1.2 kB at 2.8 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.preferences/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.preferences/maven-metadata.xml (1.0 kB at 2.2 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/osgi/org.osgi.service.prefs/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/osgi/org.osgi.service.prefs/maven-metadata.xml (389 B at 1.6 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.core.contenttype/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.core.contenttype/maven-metadata.xml (981 B at 5.1 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.app/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.app/maven-metadata.xml (872 B at 4.3 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.p2.artifact.repository/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.p2.artifact.repository/maven-metadata.xml (1.1 kB at 3.0 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.p2.metadata/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.p2.metadata/maven-metadata.xml (975 B at 4.9 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.p2.core/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.p2.core/maven-metadata.xml (909 B at 4.2 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/tukaani/xz/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/tukaani/xz/maven-metadata.xml (575 B at 2.3 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.p2.metadata.repository/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.p2.metadata.repository/maven-metadata.xml (831 B at 3.1 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.p2.repository/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.p2.repository/maven-metadata.xml (1.1 kB at 5.7 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/bouncycastle/bcprov-jdk18on/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/bouncycastle/bcprov-jdk18on/maven-metadata.xml (576 B at 1.2 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.security/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.security/maven-metadata.xml (919 B at 2.3 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/ecf/org.eclipse.ecf/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/ecf/org.eclipse.ecf/maven-metadata.xml (657 B at 1.7 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/ecf/org.eclipse.ecf.filetransfer/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/ecf/org.eclipse.ecf.filetransfer/maven-metadata.xml (455 B at 2.3 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/ecf/org.eclipse.ecf.provider.filetransfer/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/ecf/org.eclipse.ecf.provider.filetransfer/maven-metadata.xml (491 B at 2.2 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/ow2/sat4j/org.ow2.sat4j.core/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/ow2/sat4j/org.ow2.sat4j.core/maven-metadata.xml (431 B at 1.1 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/ow2/sat4j/org.ow2.sat4j.pb/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/ow2/sat4j/org.ow2.sat4j.pb/maven-metadata.xml (429 B at 2.2 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.simpleconfigurator/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.simpleconfigurator/maven-metadata.xml (856 B at 2.3 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.p2.engine/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/eclipse/platform/org.eclipse.equinox.p2.engine/maven-metadata.xml (976 B at 2.6 kB/s)
[INFO] Making changes in /tmp/cirrus-ci-build
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.core
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Bundle-Version: 10.1.0.qualifier => 10.1.0.81771
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.ui
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Bundle-Version: 10.1.0.qualifier => 10.1.0.81771
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.feature
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   feature.xml//feature/@version: 10.1.0.qualifier => 10.1.0.81771
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.m2e
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Bundle-Version: 10.1.0.qualifier => 10.1.0.81771
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.jdt
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Bundle-Version: 10.1.0.qualifier => 10.1.0.81771
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.cdt
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Bundle-Version: 10.1.0.qualifier => 10.1.0.81771
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.pydev
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Bundle-Version: 10.1.0.qualifier => 10.1.0.81771
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.sloop.linux.aarch64
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Bundle-Version: 10.1.0.qualifier => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Fragment-Host//org.sonarlint.eclipse.core;bundle-version: null => null
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.sloop.linux.x64
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Bundle-Version: 10.1.0.qualifier => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Fragment-Host//org.sonarlint.eclipse.core;bundle-version: null => null
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.sloop.macosx.aarch64
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Bundle-Version: 10.1.0.qualifier => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Fragment-Host//org.sonarlint.eclipse.core;bundle-version: null => null
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.sloop.macosx.x64
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Bundle-Version: 10.1.0.qualifier => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Fragment-Host//org.sonarlint.eclipse.core;bundle-version: null => null
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.sloop.windows.x64
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Bundle-Version: 10.1.0.qualifier => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Fragment-Host//org.sonarlint.eclipse.core;bundle-version: null => null
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.sloop.no-arch
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Bundle-Version: 10.1.0.qualifier => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Fragment-Host//org.sonarlint.eclipse.core;bundle-version: null => null
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.site
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO] Making changes in /tmp/cirrus-ci-build/org.sonarlint.eclipse.core.tests
[INFO]   pom.xml//project/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   pom.xml//project/parent/version: 10.1.0-SNAPSHOT => 10.1.0.81771
[INFO]   META-INF/MANIFEST.MF//Bundle-Version: 10.1.0.qualifier => 10.1.0.81771
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for SonarLint for Eclipse 10.1.0-SNAPSHOT:
[INFO] 
[INFO] SonarLint for Eclipse .............................. SUCCESS [  8.145 s]
[INFO] SonarLint for Eclipse Core ......................... SKIPPED
[INFO] SonarLint for Eclipse UI ........................... SKIPPED
[INFO] SonarLint for Eclipse (feature) .................... SKIPPED
[INFO] SonarLint for Eclipse m2e integration .............. SKIPPED
[INFO] SonarLint for Eclipse JDT .......................... SKIPPED
[INFO] SonarLint for Eclipse CDT .......................... SKIPPED
[INFO] SonarLint for Eclipse PyDev ........................ SKIPPED
[INFO] SonarLint Sloop Linux aarch64 ...................... SKIPPED
[INFO] SonarLint Sloop Linux x64 .......................... SKIPPED
[INFO] SonarLint Sloop MacOSX aarch64 ..................... SKIPPED
[INFO] SonarLint Sloop MacOSX x64 ......................... SKIPPED
[INFO] SonarLint Sloop Windows x64 ........................ SKIPPED
[INFO] SonarLint Sloop no architecture .................... SKIPPED
[INFO] SonarLint for Eclipse (update-site) ................ SKIPPED
[INFO] SonarLint for Eclipse Core Tests ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  16.040 s
[INFO] Finished at: 2024-04-17T08:30:25Z
[INFO] ------------------------------------------------------------------------
======= with deploy
Apache Maven 3.9.3 (21122926829f1ead511c958d89bd2f672198ae9f)
Maven home: /usr/local/share/maven
Java version: 17.0.10, vendor: Eclipse Adoptium, runtime: /opt/java/openjdk
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.10.205-195.807.amzn2.x86_64", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Tycho Version:  4.0.6 (9942454590ad8a6e1c9aa907852cf017dc2ccb98)
[INFO] Tycho Mode:     project
[INFO] Tycho Builder:  maven
[INFO] Build Threads:  1
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/apache/maven/plugins/maven-metadata.xml
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/codehaus/mojo/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/codehaus/mojo/maven-metadata.xml (20 kB at 130 kB/s)
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/apache/maven/plugins/maven-metadata.xml (11 kB at 67 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml (1.3 kB at 89 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/scanner/maven/sonar-maven-plugin/3.11.0.3922/sonar-maven-plugin-3.11.0.3922.pom
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/scanner/maven/sonar-maven-plugin/3.11.0.3922/sonar-maven-plugin-3.11.0.3922.pom (12 kB at 754 kB/s)
[WARNING] The artifact org.codehaus.mojo:sonar-maven-plugin:jar:3.11.0.3922 has been relocated to org.sonarsource.scanner.maven:sonar-maven-plugin:jar:3.11.0.3922: SonarQube plugin was moved to SonarSource organisation
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/scanner/maven/sonar-maven-plugin/3.11.0.3922/sonar-maven-plugin-3.11.0.3922.jar
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/scanner/maven/sonar-maven-plugin/3.11.0.3922/sonar-maven-plugin-3.11.0.3922.jar (58 kB at 2.2 MB/s)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] SonarLint for Eclipse                                              [pom]
[INFO] SonarLint for Eclipse Core                              [eclipse-plugin]
[INFO] SonarLint for Eclipse UI                                [eclipse-plugin]
[INFO] SonarLint for Eclipse m2e integration                   [eclipse-plugin]
[INFO] SonarLint Sloop Windows x64                             [eclipse-plugin]
[INFO] SonarLint for Eclipse CDT                               [eclipse-plugin]
[INFO] SonarLint Sloop Linux x64                               [eclipse-plugin]
[INFO] SonarLint Sloop MacOSX aarch64                          [eclipse-plugin]
[INFO] SonarLint Sloop MacOSX x64                              [eclipse-plugin]
[INFO] SonarLint Sloop no architecture                         [eclipse-plugin]
[INFO] SonarLint for Eclipse JDT                               [eclipse-plugin]
[INFO] SonarLint for Eclipse PyDev                             [eclipse-plugin]
[INFO] SonarLint Sloop Linux aarch64                           [eclipse-plugin]
[INFO] SonarLint for Eclipse (feature)                        [eclipse-feature]
[INFO] SonarLint for Eclipse (update-site)                 [eclipse-repository]
[INFO] SonarLint for Eclipse Core Tests                   [eclipse-test-plugin]
[INFO] 
[INFO] -----< org.sonarsource.sonarlint.eclipse:sonarlint-eclipse-parent >-----
[INFO] Building SonarLint for Eclipse 10.1.0.81771                       [1/16]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[WARNING] Parameter 'licenses' is unknown for plugin 'artifactory-maven-plugin:3.5.1:publish (build-info)'
[INFO] 
[INFO] --- buildnumber:3.1.0:create (default) @ sonarlint-eclipse-parent ---
[INFO] Executing: /bin/sh -c cd '/tmp/cirrus-ci-build' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /tmp/cirrus-ci-build
[INFO] Storing buildNumber: 4f3d9c2f95bdfe368457e369c82f93da2e60d7f1 at timestamp: 1713342630413
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd '/tmp/cirrus-ci-build' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /tmp/cirrus-ci-build
[INFO] Storing scmBranch: UNKNOWN
[INFO] 
[INFO] --- enforcer:3.3.0:enforce (enforce) @ sonarlint-eclipse-parent ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.property.RequireProperty passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.property.RequireProperty passed
[INFO] Rule 2: org.apache.maven.enforcer.rules.property.RequireProperty passed
[INFO] Rule 3: org.apache.maven.enforcer.rules.property.RequireProperty passed
[INFO] Rule 4: org.apache.maven.enforcer.rules.property.RequireProperty passed
[INFO] Rule 5: org.apache.maven.enforcer.rules.property.RequireProperty passed
[INFO] Rule 6: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] Rule 7: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] Rule 8: org.apache.maven.enforcer.rules.RequirePluginVersions passed
[INFO] 
[INFO] --- enforcer:3.3.0:enforce (enforce-deploy-settings) @ sonarlint-eclipse-parent ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.property.RequireProperty passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable passed
[INFO] Rule 2: org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable passed
[INFO] Rule 3: org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable passed
[INFO] Rule 4: org.apache.maven.enforcer.rules.property.RequireEnvironmentVariable passed
[INFO] 
[INFO] --- license:4.2:check (enforce-license-headers) @ sonarlint-eclipse-parent ---
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/license-headers/license-headers/1.3/license-headers-1.3.pom
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/license-headers/license-headers/1.3/license-headers-1.3.pom (2.4 kB at 153 kB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/parent/parent/31/parent-31.pom
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/parent/parent/31/parent-31.pom (30 kB at 1.8 MB/s)
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/license-headers/license-headers/1.3/license-headers-1.3.jar
[INFO] Downloaded from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/license-headers/license-headers/1.3/license-headers-1.3.jar (4.8 kB at 320 kB/s)
[WARNING]  Parameter 'legacyConfigExcludes' (user property 'license.excludes') is deprecated: use LicenseSet.excludes
[WARNING]  Parameter 'legacyConfigHeader' (user property 'license.header') is deprecated: use LicenseSet.header
[WARNING]  Parameter 'legacyConfigIncludes' (user property 'license.includes') is deprecated: use LicenseSet.includes
[INFO] Checking licenses...
[INFO] 
[INFO] --- artifactory:3.5.1:publish (build-info) @ sonarlint-eclipse-parent ---
[INFO] Executing command: /bin/sh -c git log --pretty=format:%s -1
[INFO] 
[INFO] --- jacoco:0.8.10:prepare-agent (prepare-agent) @ sonarlint-eclipse-parent ---
[INFO] argLine set to -javaagent:/tmp/cirrus-ci-build/.m2/repository/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/tmp/cirrus-ci-build/target/jacoco.exec,includes=org/sonarlint/eclipse/**
[INFO] 
[INFO] --- bsh:1.4:run (compute-artifact-display-version) @ sonarlint-eclipse-parent ---
[INFO] Executing Script
[INFO] file class java.lang.Object
[INFO] script class java.lang.String
[INFO] evaluating script if (! "10.1.0.81771".endsWith("-SNAPSHOT")) { [+ 14 omitted line(s)]
[INFO] 
[INFO] --- tycho-source:4.0.6:plugin-source (plugin-source) @ sonarlint-eclipse-parent ---
[INFO] 
[INFO] --- tycho-source:4.0.6:feature-source (feature-source) @ sonarlint-eclipse-parent ---
[INFO] 
[INFO] --- tycho-p2:4.0.6:p2-metadata (p2-metadata) @ sonarlint-eclipse-parent ---
[INFO] 
[INFO] --- cyclonedx:2.7.9:makeAggregateBom (default) @ sonarlint-eclipse-parent ---
[INFO] CycloneDX: Resolving Aggregated Dependencies
[INFO] CycloneDX: Creating BOM version 1.4 with 15 component(s)
[INFO] CycloneDX: Writing and validating BOM (JSON): /tmp/cirrus-ci-build/target/bom.json
[WARNING] Unknown keyword additionalItems - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword
[INFO]            attaching as sonarlint-eclipse-parent-10.1.0.81771-cyclonedx.json
[INFO] 
[INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ sonarlint-eclipse-parent ---
[INFO] Skipping source per configuration.
[INFO] 
[INFO] --- jacoco:0.8.10:report (report) @ sonarlint-eclipse-parent ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO] 
[INFO] --- install:3.1.1:install (default-install) @ sonarlint-eclipse-parent ---
[INFO] Installing /tmp/cirrus-ci-build/pom.xml to /tmp/cirrus-ci-build/.m2/repository/org/sonarsource/sonarlint/eclipse/sonarlint-eclipse-parent/10.1.0.81771/sonarlint-eclipse-parent-10.1.0.81771.pom
[INFO] Installing /tmp/cirrus-ci-build/target/bom.json to /tmp/cirrus-ci-build/.m2/repository/org/sonarsource/sonarlint/eclipse/sonarlint-eclipse-parent/10.1.0.81771/sonarlint-eclipse-parent-10.1.0.81771-cyclonedx.json
[INFO] 
[INFO] --- deploy:3.1.1:deploy (default-deploy) @ sonarlint-eclipse-parent ---
[INFO] Skipping artifact deployment
[INFO] 
[INFO] ----< org.sonarsource.sonarlint.eclipse:org.sonarlint.eclipse.core >----
[INFO] Building SonarLint for Eclipse Core 10.1.0.81771                  [2/16]
[INFO]   from org.sonarlint.eclipse.core/pom.xml
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[WARNING] Parameter 'licenses' is unknown for plugin 'artifactory-maven-plugin:3.5.1:publish (build-info)'
[INFO] Resolving target definition file:/tmp/cirrus-ci-build/org.sonarlint.eclipse.core/../target-platforms/build.target for environments=[linux/gtk/x86_64, linux/gtk/aarch64, win32/win32/x86_64, win32/win32/aarch64, macosx/cocoa/aarch64, macosx/cocoa/x86_64], include source mode=honor, referenced repository mode =ignore, execution environment=StandardEEResolutionHints [executionEnvironment=OSGi profile 'JavaSE-11' { source level: 11, target level: 11}], remote p2 repository options=org.eclipse.tycho.p2maven.DefaultProvisioningAgent@397c6a7b
[INFO] ### Using TychoRepositoryTransport for remote P2 access ###
[INFO]     Cache location:         /tmp/cirrus-ci-build/.m2/repository/.cache/tycho
[INFO]     Transport mode:         online
[INFO]     Http Transport type:    Java11Client
[INFO]     Update mode:            cache first
[INFO]     Minimum cache duration: 60 minutes
[INFO]       (you can configure this with -Dtycho.p2.transport.min-cache-minutes=<desired minimum cache duration>)
[INFO] Resolving file:${project_loc:/sonarlint-eclipse-parent}/target-platforms/commons.target
[INFO] Reading target platform file:/tmp/cirrus-ci-build/target-platforms/commons.target
[INFO] Resolving MavenDependencyRoots = [GroupId = org.sonarsource.sonarlint.core, ArtifactId = sonarlint-rpc-protocol, Version = 10.1.0.77273, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.sonarsource.sonarlint.core, ArtifactId = sonarlint-rpc-java-client, Version = 10.1.0.77273, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.sonarsource.sonarlint.core, ArtifactId = sonarlint-java-client-utils, Version = 10.1.0.77273, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.sonarsource.sonarlint.core, ArtifactId = sonarlint-java-client-legacy, Version = 10.1.0.77273, ArtifactType = jar, IncludeDependencyScope = , GroupId = com.google.protobuf, ArtifactId = protobuf-java, Version = 3.25.1, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile], MissingManifestStrategy = ERROR, IncludeSource = true
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/sonarlint/core/sonarlint-rpc-protocol/10.1.0.77273/sonarlint-rpc-protocol-10.1.0.77273.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/sonarsource/sonarlint/core/sonarlint-rpc-protocol/10.1.0.77273/sonarlint-rpc-protocol-10.1.0.77273.jar
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/sonarlint/core/sonarlint-rpc-java-client/10.1.0.77273/sonarlint-rpc-java-client-10.1.0.77273.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/sonarsource/sonarlint/core/sonarlint-rpc-java-client/10.1.0.77273/sonarlint-rpc-java-client-10.1.0.77273.jar
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/sonarlint/core/sonarlint-java-client-utils/10.1.0.77273/sonarlint-java-client-utils-10.1.0.77273.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/sonarsource/sonarlint/core/sonarlint-java-client-utils/10.1.0.77273/sonarlint-java-client-utils-10.1.0.77273.jar
[INFO] Downloading from sonarsource: https://repox.jfrog.io/artifactory/sonarsource-qa/org/sonarsource/sonarlint/core/sonarlint-java-client-legacy/10.1.0.77273/sonarlint-java-client-legacy-10.1.0.77273-osgi.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/sonarsource/sonarlint/core/sonarlint-java-client-legacy/10.1.0.77273/sonarlint-java-client-legacy-10.1.0.77273-osgi.jar
[INFO] Resolving MavenDependencyRoots = [GroupId = org.assertj, ArtifactId = assertj-core, Version = 3.24.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.mockito, ArtifactId = mockito-core, Version = 5.1.1, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile, runtime], MissingManifestStrategy = ERROR, IncludeSource = true
[INFO] Performing subquery
[WARNING] Problems resolving provisioning plan.:
   Unable to satisfy dependency from com.google.guava 32.1.2.jre to java.package; com.google.common.util.concurrent.internal [1.0.0,2.0.0).
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86_64, org.eclipse.update.install.sources=true}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.sonarlint.eclipse.core 10.1.0.81771
[ERROR]   Missing requirement: org.sonarlint.eclipse.core 10.1.0.81771 requires 'osgi.bundle; org.sonarsource.sonarlint.core.sonarlint-rpc-protocol [10.1.0,10.2.0)' but it could not be found
[ERROR] 
[ERROR] See https://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping SonarLint for Eclipse
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for SonarLint for Eclipse 10.1.0.81771:
[INFO] 
[INFO] SonarLint for Eclipse .............................. SUCCESS [  1.372 s]
[INFO] SonarLint for Eclipse Core ......................... FAILURE [  7.863 s]
[INFO] SonarLint for Eclipse UI ........................... SKIPPED
[INFO] SonarLint for Eclipse m2e integration .............. SKIPPED
[INFO] SonarLint Sloop Windows x64 ........................ SKIPPED
[INFO] SonarLint for Eclipse CDT .......................... SKIPPED
[INFO] SonarLint Sloop Linux x64 .......................... SKIPPED
[INFO] SonarLint Sloop MacOSX aarch64 ..................... SKIPPED
[INFO] SonarLint Sloop MacOSX x64 ......................... SKIPPED
[INFO] SonarLint Sloop no architecture .................... SKIPPED
[INFO] SonarLint for Eclipse JDT .......................... SKIPPED
[INFO] SonarLint for Eclipse PyDev ........................ SKIPPED
[INFO] SonarLint Sloop Linux aarch64 ...................... SKIPPED
[INFO] SonarLint for Eclipse (feature) .................... SKIPPED
[INFO] SonarLint for Eclipse (update-site) ................ SKIPPED
[INFO] SonarLint for Eclipse Core Tests ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  13.428 s
[INFO] Finished at: 2024-04-17T08:30:39Z
[INFO] ------------------------------------------------------------------------
[ERROR] Cannot resolve dependencies of project org.sonarsource.sonarlint.eclipse:org.sonarlint.eclipse.core:eclipse-plugin:10.1.0.81771
[ERROR]  with context {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86_64, org.eclipse.update.install.sources=true}
[ERROR]   Software being installed: org.sonarlint.eclipse.core 10.1.0.81771
[ERROR]   Missing requirement: org.sonarlint.eclipse.core 10.1.0.81771 requires 'osgi.bundle; org.sonarsource.sonarlint.core.sonarlint-rpc-protocol [10.1.0,10.2.0)' but it could not be found: See log for details
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot resolve dependencies of project org.sonarsource.sonarlint.eclipse:org.sonarlint.eclipse.core:eclipse-plugin:10.1.0.81771
 with context {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86_64, org.eclipse.update.install.sources=true}
  Software being installed: org.sonarlint.eclipse.core 10.1.0.81771
  Missing requirement: org.sonarlint.eclipse.core 10.1.0.81771 requires 'osgi.bundle; org.sonarsource.sonarlint.core.sonarlint-rpc-protocol [10.1.0,10.2.0)' but it could not be found
    at org.eclipse.tycho.core.maven.TychoProjectExecutionListener.beforeProjectLifecycleExecution (TychoProjectExecutionListener.java:122)
    at org.apache.maven.lifecycle.internal.CompoundProjectExecutionListener.beforeProjectLifecycleExecution (CompoundProjectExecutionListener.java:42)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:103)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: org.eclipse.tycho.p2.resolver.ResolverException: See log for details
    at org.eclipse.tycho.p2resolver.ProjectorResolutionStrategy.resolve (ProjectorResolutionStrategy.java:119)
    at org.eclipse.tycho.p2resolver.AbstractResolutionStrategy.resolve (AbstractResolutionStrategy.java:55)
    at org.eclipse.tycho.p2resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:231)
    at org.eclipse.tycho.p2resolver.P2ResolverImpl.resolveTargetDependencies (P2ResolverImpl.java:124)
    at org.eclipse.tycho.p2resolver.P2DependencyResolver.doResolveDependencies (P2DependencyResolver.java:378)
    at org.eclipse.tycho.p2resolver.P2DependencyResolver.resolveDependencies (P2DependencyResolver.java:328)
    at org.eclipse.tycho.core.osgitools.AbstractTychoProject.lambda$getDependencyArtifacts$0 (AbstractTychoProject.java:92)
    at org.eclipse.tycho.core.osgitools.DefaultReactorProject$LazyValue.get (DefaultReactorProject.java:307)
    at org.eclipse.tycho.core.osgitools.DefaultReactorProject.computeContextValue (DefaultReactorProject.java:200)
    at org.eclipse.tycho.core.osgitools.AbstractTychoProject.getDependencyArtifacts (AbstractTychoProject.java:82)
    at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject (DefaultTychoResolver.java:98)
    at org.eclipse.tycho.core.maven.TychoProjectExecutionListener.beforeProjectLifecycleExecution (TychoProjectExecutionListener.java:111)
    at org.apache.maven.lifecycle.internal.CompoundProjectExecutionListener.beforeProjectLifecycleExecution (CompoundProjectExecutionListener.java:42)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:103)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ResolverException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :org.sonarlint.eclipse.core

Further note

If you decide to "enhance" the error outputs a bit, I'm happy to contribute integration tests for that. I think I stumbled upon the implementation of the error outputs but I'm not familiar enough with Tycho source code (yet) in order to propose a fix myself 😞
I'm also not sure if, at that point, the error message is created and propagated, the .tycho-consumer-pom.xml is already in place because it features the systemPath information that might be re-usable if the error is that the artifact cannot be found locally (because it couldn't be downloaded).

If you have any further questions or need more information, just let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant