Hello,
Our last major update of Cytoscape's Maven plugins and libraries changed a few things throughout. I've included some of the information that we used to update our internal apps to bring them up to date below. Hopefully this helps at least get plugins and Java dependencies up to date for you.
You can also see all of our current default properties here:
https://github.com/cytoscape/cytoscape-parent/blob/develop/pom.xmlMaven plugins and OSGi artifacts must also be specific minimum versions to work in Java 11. I've included a sample of these common below. Note that our maven plugins reference these version parameters later in the POM (see
here in the JSON Core App POM)
<properties>
...
<cytoscape.api.version>3.8.0-SNAPSHOT</cytoscape.api.version>
<!-- Maven Plugin Settings -->
<junit.version>4.12</junit.version>
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
<maven-surefire-plugin.version>3.0.0-M3</maven-surefire-plugin.version>
<maven-bundle-plugin.version>4.1.0</maven-bundle-plugin.version>
<osgi.api.version>6.0.0</osgi.api.version>
</properties>
Finally, JavaX must be included as several dependencies in Java 11. The relevant elements are below.
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.0</version>
</dependency>