| Home > Guides > Migration Guide > Version Notes 2.5 |
These are the notes for the Struts 2.5 distribution.
For prior notes in this release series, see Version Notes 2.3.28.1
<dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> <version>2.5</version> </dependency>
You can also use Struts Archetype Catalog like below
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
<repositories>
<repository>
<id>apache.nexus</id>
<name>ASF Nexus Staging</name>
<url>https://repository.apache.org/content/groups/staging/</url>
</repository>
</repositories>
xwork artifact nor dedicated jarid and name - replaced with var, see WW-2069New result 'JSONActionRedirectResult' in json-plugin was defined, see WW-4591
Some classes were moved to different packages, see the list below for more details:
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilterorg.apache.struts2.dispatcher.filter.StrutsExecuteFilterorg.apache.struts2.dispatcher.filter.StrutsPrepareFilterorg.apache.struts2.dispatcher.listener.StrutsListenerorg.apache.struts2.result.ServletRedirectResult
com.opensymphony.xwork2.interceptor.ValidationAware org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterorg.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilterorg.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilterorg.apache.struts2.dispatcher.ng.listener.StrutsListenerorg.apache.struts2.dispatcher.ServletRedirectResult
com.opensymphony.xwork2.ValidationAware