Project

General

Profile

Jetty9 4 support » History » Revision 7

Revision 6 (Henning Blohm, 01.01.2018 21:55) → Revision 7/8 (Henning Blohm, 01.01.2018 22:13)

h2. Jetty 9.4 Support (#1993) 

 As Jetty 9.3 cannot run Java 9 code (in particular due to "ASM problems #1785":https://github.com/eclipse/jetty.project/issues/1758), we need to upgrade to Jetty 9.4.8, the first Java 9 compatible version. 

 h2. References 

 * [[Java9_Support]] 
 * "Supporting JDK9 #487":https://github.com/eclipse/jetty.project/issues/487 
 * "ASM problems #1785":https://github.com/eclipse/jetty.project/issues/1758 
 * "Upgrading 9.3 to 9.4":http://www.eclipse.org/jetty/documentation/current/upgrading-jetty.html#_upgrading_from_jetty_9_3_x_to_jetty_9_4_0 

 h2. How to Retrieve Dependencies 

 Clone or copy POM of "jetty-home":https://search.maven.org/#artifactdetails%7Corg.eclipse.jetty%7Cjetty-home%7C9.4.8.v20171121%7Cpom 

 Use "mvn install dependency:sources" 

 h2. How to Upgrade 

 # Update all Jetty Server JARs (from the distribution) and integrate source JARs from maven central (see above) 
 # Update optional modules (as far as supported in Z2 already): 
 ** annotations 
 ** apache-jsp 
 ** apache-jstl 
 ** CDI 
 ** http2 
 ** JNDI (actually mail and JTA) 
 ** spring 
 ** websocket 
 # Review upgrade information on module config changes