[INFO] --------------------< org.acme.eide:org.acme.eide >---------------------
[INFO] Building org.acme.eide 1.0.0-SNAPSHOT
[INFO] -------------------------[ eclipse-repository ]-------------------------
Downloading from central: https://repo.maven.apache.org/maven2/com/google/code/gson/gson/maven-metadata.xml
Downloaded from central: https://repo.maven.apache.org/maven2/com/google/code/gson/gson/maven-metadata.xml (1.4 kB at 69 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/sonarsource/sonarlint/core/sonarlint-java-client-osgi/10.7.1.79146/sonarlint-java-client-osgi-10.7.1.79146.pom
[WARNING] The POM for org.sonarsource.sonarlint.core:sonarlint-java-client-osgi:jar:10.7.1.79146 is missing, no dependency information available
Downloading from central: https://repo.maven.apache.org/maven2/org/sonarsource/sonarlint/core/sonarlint-java-client-osgi/10.7.1.79146/sonarlint-java-client-osgi-10.7.1.79146.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.210 s
[INFO] Finished at: 2024-10-10T15:18:01+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project org.acme.eide: Could not resolve dependencies for project org.acme.eide:org.acme.eide:eclipse-repository:1.0.0-SNAPSHOT: Could not find artifact org.sonarsource.sonarlint.core:sonarlint-java-client-osgi:jar:10.7.1.79146 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
Isn’t the version of org.sonarsource.sonarlint.core:sonarlint-java-client-osgi missing on maven central?
thanks for reaching out. There is currently an issue and the latest released version of SonarLint Core and all its modules were not synced to Maven Central, we are currently working on it.
Currently, SonarLint for Eclipse can not be used as a dependency for 10.8, but using it as an actual plug-in should be fine. We will provide an update once this is fixed or an updated version of SonarLint Core is uploaded to Maven Central!
I was absent for quite some time now. Please have a look if it works now as I’ve seen that the artifact is at least listed at Maven Central. If this is not the case, we have to await the release of the next version but I due to my being off I cannot yet tell you when the next release is coming.
@jmini just fyi the version of SLCORE you use for SLE 10.8 was not uploaded to Maven Central, I was mistaken, but the one for the next release of SLE is. I will ping you once the new version of SLE is released.
just to let you know to be not confused, SonarLint for Eclipse 10.9 was released but still contains the old SonarLint CORE dependency that is not on Maven Central.
The next release is scheduled for the end of November / early December to contain a new SonarLint CORE artifact that is then definitely uploaded to Maven Central!
Indeed 10.9.1.82333 is broken as well. Failing in maven tycho with:
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project X: Could not resolve dependencies for project X: Could not find artifact org.sonarsource.sonarlint.core:sonarlint-java-client-osgi:jar:10.7.2.79501
yeah this was just a patch and also patched the version of SLCORE OSGi artifact so it was affected from the same issue that didn’t let the old version to be uploaded to Maven Central.
In the meantime it is fixed and will come with the next release for sure