This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Version Notes 2.5
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

(tick) These are the notes for the Struts 2.5 distribution.

(tick) For prior notes in this release series, see Version Notes 2.3.24

  • If you are a Maven user, you might want to get started using the Maven Archetype.
Maven Dependency
<dependency>
  <groupId>org.apache.struts</groupId>
  <artifactId>struts2-core</artifactId>
  <version>2.5-BETA2</version>
</dependency>

You can also use Struts Archetype Catalog like below

Struts Archetype Catalog
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
Staging Repository
<repositories>
  <repository>
    <id>apache.nexus</id>
    <name>ASF Nexus Staging</name>
    <url>https://repository.apache.org/content/groups/staging/</url>
  </repository>
</repositories>

Internal Changes

  • XWork source was merged into Struts Core source, it means that there be no more xwork artifact nor dedicated jar
  • OGNL was upgraded to version 3.0.11 and it breaks access to properties as it follows Java Bean Specification, see WW-4207 and WW-3909
    • and then OGNL was upgrade to version 3.1.1, see WW-4561
  • Spring dependency for tests and spring plugin was upgraded to version 4.1.6, see WW-4510.
  • Struts2 internal logging api was marked as deprecated and was replaced with new Log4j2 api as logging layer, see WW-4504.
  • Struts2 is now build with JDK7, see WW-4503.
  • New plugin to support bean validation is now part of the distribution, see WW-4505.
  • Deprecated plugins are now removed from the distribution and are not longer supported anymore.
    • Dojo Plugin
    • Codebehind Plugin
    • JSF Plugin
    • Struts1 Plugin
  • New security option was added - Strict Method Invocation (also known as Strict DMI), see WW-4540
  • Added support for latest stable AngularJS in Maven archetype, see WW-4522
  • Dropped support for id and name - replaced with var, see WW-2069
  • Dedicated archive with a minimal set of dependencies was introduced, see WW-4570
  • It is possible to use multiple names when defining a result, see WW-4590

Issue Detail

Issue List

Other resources



  • No labels