commit | 439b40be16b44e8819038635af59d83209fbebdf | [log] [tgz] |
---|---|---|
author | Emmanuel Bourg <ebourg@apache.org> | Tue Apr 14 01:38:31 2020 +0200 |
committer | Emmanuel Bourg <ebourg@apache.org> | Tue Apr 14 01:38:31 2020 +0200 |
tree | 982d59df1d8bff0865ece15f48eb02195b8283fc | |
parent | 0bd0f58f56de59605544ccfd2cce564bade3cffc [diff] |
Add the badges
This tool is a work in progress.
The aim of the tool is to take a web application written for Java EE 8 that runs on Apache Tomcat 9 and convert it automatically so it runs on Apache Tomcat 10 which implements Jakarta EE 9.
The tool can be used from the command line or as an Ant task.
Build the migration tool with:
./mvnw verify
Migrate your Servlet application with:
java -jar target/jakartaee-migration-*-shaded.jar <source> <destination>
The source should be a path to a compressed archive, a folder or an individual file. The destination will be created at the specified path as a resource of the same type as the source.
INFO This tool will remove cryptographic signatures from JAR files contained in the source, as the changed resources would not match them anymore.
A warning will be logged for each JAR file where the signature has been removed.
The migration tool is available as an Ant task, here is an example:
<taskdef name="javax2jakarta" classname="org.apache.tomcat.jakartaee.MigrationTask" classpath="jakartaee-migration-*-shaded.jar"/> <javax2jakarta src="webapp.war" dest="webapp.migrated.war" profile="tomcat"/>
Jakarta EE 9 is still under development and there are some details that remain to be worked out.
The differences currently supported by this tool are:
javax.*
to jakarta.*
The differences yet to be implemented by this tool are:
The issues still to be resolved by the Jakarta EE projects that will impact this tool are: