These are the notes for the Struts version 7.0.0-M2 distribution.
For prior notes in this release series, see Version Notes 6.3.0
Maven users
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>7.0.0-M2</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
- Java 17 is used as minimal supported version
- Migrated to JakartaEE
Improvement
- [WW-5352] Implement annotation mechanism for injectable fields via parameters
- [WW-5360] Struts 2 and JDK 17 numbers of iterator tag when using different locale
- [WW-5388] Upgrade Commons Fileupload to FileUpload Jakarta Servlet 6