eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

Jenkins build fails using Java 10 #2001

Open eclipse-ocl-bot opened 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 538860 | | Status | NEW | | Importance | P3 normal | | Reported | Sep 10, 2018 08:33 EDT | | Modified | Jan 15, 2019 15:58 EDT | | Depends on | 538564, 539038 | | Reporter | Ed Willink |

Description

Attempting to use Java 10 rather than Java 8 fails on Jenkins because javax.annotation cannot be found.

org.eclipse.ui.workbench [95]\ Unresolved requirement: Import-Package: javax.annotation

In "cross-project-issues-dev] Heads-Up: Java 11 Removes the Java EE and CORBA Modules" Dani warns to use Import-Package rather than Require-Bundle.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Sep 14, 2018 01:10

The failure related to/caused by:

Bug 538038 - unresolved javax.annotation\ Bug 538564 - unresolved org.eclipse.equinox.ds/org.apache.felix.scr

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Sep 30, 2018 04:23

(In reply to Ed Willink from comment #1)

Bug 538038 - unresolved javax.annotation

Correction Bug 539038

The workaround is to add a require javax.annotation to every test bundle.