Community
Participate
Working Groups
It's unclear what's happening, as the plug-in refers to Java 1.8, which is still allowed on the system. Fix might be as simple as bumping the bundle up to 11. [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:2.2.0:compile (default-compile) on project org.eclipse.jpt.jaxb.core.schemagen: Compilation failure: Compilation failure: [ERROR] /home/jenkins/agent/workspace/webtools-dali_master/jaxb/plugins/org.eclipse.jpt.jaxb.core.schemagen/src/org/eclipse/jpt/jaxb/core/schemagen/Main.java:[22] [ERROR] import javax.xml.bind.SchemaOutputResolver; [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] The import javax.xml.bind.SchemaOutputResolver cannot be resolved [ERROR] /home/jenkins/agent/workspace/webtools-dali_master/jaxb/plugins/org.eclipse.jpt.jaxb.core.schemagen/src/org/eclipse/jpt/jaxb/core/schemagen/Main.java:[99] [ERROR] jaxbContext = JAXBContext.newInstance(sourceClasses); [ERROR] ^^^^^^^^^^^ [ERROR] The method newInstance(String) in the type JAXBContext is not applicable for the arguments (Class[]) [ERROR] /home/jenkins/agent/workspace/webtools-dali_master/jaxb/plugins/org.eclipse.jpt.jaxb.core.schemagen/src/org/eclipse/jpt/jaxb/core/schemagen/Main.java:[111] [ERROR] SchemaOutputResolver schemaOutputResolver = [ERROR] ^^^^^^^^^^^^^^^^^^^^ [ERROR] SchemaOutputResolver cannot be resolved to a type [ERROR] /home/jenkins/agent/workspace/webtools-dali_master/jaxb/plugins/org.eclipse.jpt.jaxb.core.schemagen/src/org/eclipse/jpt/jaxb/core/schemagen/Main.java:[214] [ERROR] class JptSchemaOutputResolver extends SchemaOutputResolver { [ERROR] ^^^^^^^^^^^^^^^^^^^^ [ERROR] SchemaOutputResolver cannot be resolved to a type [ERROR] /home/jenkins/agent/workspace/webtools-dali_master/jaxb/plugins/org.eclipse.jpt.jaxb.core.schemagen/src/org/eclipse/jpt/jaxb/core/schemagen/Main.java:[227] [ERROR] public Result createOutput(String namespaceURI, String suggestedFileName) throws IOException { [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] The method createOutput(String, String) of type JptSchemaOutputResolver must override or implement a supertype method [ERROR] 5 problems (5 errors) [ERROR] -> [Help 1]
Removing reference to staging, as it's now also failing on the old JIPP.
Ok, it's definitely a change in how Tycho 2.1 and 2.2 handle BREEs. 2.2 is using the BREE from bundles that org.eclipse.jpt.jaxb.core.schemagen requires, which is 11. org.eclipse.jpt.jaxb.core.schemagen needs to be updated to run in a Java 11 environment.
Gerrit change https://git.eclipse.org/r/c/dali/webtools.dali/+/178998 was merged to [master]. Commit: http://git.eclipse.org/c/dali/webtools.dali.git/commit/?id=04e9eff8f0b82ddd0fcd8b7f3b90335951cf4306
Fixed.