Migrate to Struts 2.x from Struts 1.x
ProprietaryComprehensive migration from Struts 1.x to Struts 2.x framework.
org. openrewrite. java. struts. migrate2. MigrateStruts2mod run . --recipe= org. openrewrite. java. struts. migrate2. MigrateStruts2Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Remove a Gradle or Maven dependency
struts:struts - Remove a Gradle or Maven dependency
org.apache.struts:struts-core - Remove a Gradle or Maven dependency
org.apache.struts:struts-taglib - Remove a Gradle or Maven dependency
org.apache.struts:struts-tiles - Remove a Gradle or Maven dependency
org.apache.struts:struts-extras - Add Gradle or Maven dependency
org.apache.struts:struts2-core:2.5.x - Add Gradle or Maven dependency
org.apache.struts:struts2-convention-plugin:2.5.x - Migrate Struts 1 Action to Struts 2 ActionSupport
- Migrate
struts-config.xmltostruts.xml - Migrate web.xml from Struts 1 to Struts 2
- Migrate Struts 1 JSP tags to Struts 2
- Migrate JSP taglib directives for Struts 2