These are the notes for the Struts 2.2.2 3 distribution.
For prior notes in this release series, see Version Notes 2.2.1.1
...
Code Block |
---|
| xml |
---|
| xml |
---|
title | Maven Dependency |
---|
|
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>2.2.2<3</version>
</dependency> |
You can also use Struts Archetype Catalog like below
Code Block |
---|
| none |
---|
| none |
---|
title | Struts Archetype Catalog |
---|
|
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/2.2.23/
|
Code Block |
---|
| xml |
---|
| xml |
---|
title | Snapshot Staging Repository |
---|
|
<repositories>
<repository>
<id>apache.nexus</id>
<name>ASF Nexus Staging</name>
<url>https://repository.apache.org/content/groups/snapshots-groupstaging/</url>
</repository>
</repositories> |
Internal Changes
- Two important vulnerability were solved with this release:
- OGNL was upgraded to version 3.0.1 which includes Javassist library, so you don't have to specify it as a separated dependency in your project
- Shade of Commons library using maven-shade-plugin was removed from Struts 2 Core and other modules
- The whole project was adjusted to Maven 3 requirements
- Add ability to control devMode per request
- Many fixes and extensions to JSON plugin and REST plugin
Issue Detail
Issue List
Other resources