elk icon indicating copy to clipboard operation
elk copied to clipboard

Build: broken due to missing javax.annotations-api:1.3.5

Open uruuru opened this issue 4 years ago • 1 comments

The build currently fails due to

2021-03-22T03:20:51.0135935Z [ERROR] Failed to execute goal on project org.eclipse.elk.core.service: Could not resolve dependencies for project org.eclipse.elk:org.eclipse.elk.core.service:eclipse-plugin:0.8.0-SNAPSHOT: Failed to collect dependencies at org.eclipse.platform:org.eclipse.ui.workbench:jar:3.110.0 -> org.eclipse.platform:org.eclipse.e4.ui.workbench.addons.swt:jar:1.2.100 -> org.eclipse.platform:org.eclipse.e4.ui.model.workbench:jar:1.2.0 -> org.eclipse.platform:org.eclipse.e4.core.services:jar:2.0.100 -> org.eclipse.platform:org.eclipse.e4.core.di:jar:1.7.700 -> javax.annotation:javax.annotation-api:jar:[1.3.5,2.0.0): No versions available for javax.annotation:javax.annotation-api:jar:[1.3.5,2.0.0) within specified range -> [Help 1]

Maven central only offers versions up to 1.3.2: https://search.maven.org/artifact/javax.annotation/javax.annotation-api

For reference: https://search.maven.org/artifact/org.eclipse.platform/org.eclipse.e4.core.di/1.7.700/jar

The fixed dependency has been introduced in: https://bugs.eclipse.org/bugs/show_bug.cgi?id=569770

Note that from a first look at the commit's comment and the diff, a non-binding dependency to 1.3.5 did already exist beforehand but hasn't been enforced. Hence, for us, a workaround similar to #708 may be feasible.

uruuru avatar Mar 22 '21 20:03 uruuru

I've merged the PR but will leave this issue open to check for reverting the PR prior to the next release.

uruuru avatar Apr 05 '21 19:04 uruuru