Is a clone of https://github.com/apache/struts1.git - Branche trunk
, aiming to bring Struts 1 to a current technology:
Full CHANGELOG
For documentation see https://weblegacy.github.io/struts1
The Struts1
-version 1.5.0-SNAPSHOT is now ready for Jakarta-Namespace!
What is needed for the local-version:
- struts1
mvn -Pdormant clean install
struts1
is nearly release-ready and you could test this version with your applications.
I would like to wait a few days to get your feedback on the tests.
Note: tiles-request-jakarta-servlet
is published as version 1.0.0 in MAVEN-repo.
Good luck with testing!
Version | JEE-Version | Java-Version | Servlet | JSP | EL | JSF | JSTL |
---|---|---|---|---|---|---|---|
1.5.0 (WiP) | Jakarta EE 9 | 8 | 5.0 | 3.0 | 4.0 | 3.0 | 2.0 |
1.4.5 | Jakarta EE 8 | 8 | 4.0 | 2.3 | 3.0 | 2.3 | 1.2 |
1.4.4 | Jakarta EE 8 | 8 | 4.0 | 2.3 | 3.0 | 2.3 | 1.2 |
1.4.3 | Java EE 7 | 8 | 3.1 | 2.3 | 3.0 | 2.2 | 1.2 |
1.4.2 | Java EE 6 | 8 | 3.0 | 2.2 | 2.2 | 2.0 | 1.2 |
1.4.1 | Java EE 5 | 8 | 2.5 | 2.1 | 2.1 | 1.2 | 1.2 |
1.4.0 | J2EE 1.4 | 1.4 | 2.3 | 2.0 | 2.0 | 1.0 | 1.0 |
1.3.11 | J2EE 1.4 | 1.4 | 2.3 | 2.0 | 2.0 | 1.0 | 1.0 |
- #11 - XML Entities not handled correctly
- Include all open patches from apache-struts1-repo
- Fixed vulnerabilities
- Upgrade MAVEN-Plugins
- Correct example-apps
- Complete JUnit5- and integration-test (rewrite old ones)
- Logging: Use SLF4J instead Commons-Logging
- JDK 1.4 --> JDK 8
- Tested with JDK 8, 11, 17 and 21
- Servlet-API 2.3 --> 5.0
- JSP 2.0 --> 3.0
- JSP-EL 2.0 --> 4.0
- JSF 1.0.9 --> 3.0
- JSTL 1.0.2 --> 2.0
- CVE-2014-0114
- CVE-2015-0899
- CVE-2016-1181
- CVE-2016-1182
- Apache Maven 3.5.4+
- JDK 11+
- for integration-tests
- Web-Browser:
- Chrome
- Firefox
- Opera
- Edge
- Internet Explorer
- Chromium
- Safari
- see also Integration-Tests README
- Web-Browser:
- dormant - Dormant sub-projects
- Adds the dormant sub-projects
Faces
andEL
to the build-process
- Adds the dormant sub-projects
- assembly - Create assemblies for distribution
- Adds the module
assembly
- Adds the module
- pre-assembly - Creates JavaDoc and Sources for each
struts1
-modulemvn -Ppre-assembly clean package
- apps - Includes the example-apps into build
- Adds the module
apps
- Adds the module
- itest - Includes the integration-tests into build
- Add the module
integration
- Add the module
- release - Signs all of the project's attached artifacts with GnuPG
- cargorun - Starts a web-server to manually test the example-apps
mvn -Pdormant,apps,itest,cargorun
mvn -Pdormant,apps,itest,cargorun -Dcargo.java.home=[JDK_x]
to specify Java-Runtime
- Clean full project
mvn -Pdormant,apps,assembly,itest clean
- Build and test project
- with example-apps
mvn -Pdormant,apps
- without example-apps
mvn -Pdormant
- to skip tests
add-DskipTests
for examplemvn -Pdormant,apps -DskipTests
- with example-apps
- Integration-Tests
- Run with default-browser (Chrome)
mvn -Pdormant,apps,itest
- Run with specific browser
mvn -Pdormant,apps,itest -Dwdm.defaultBrowser=[browser]
- Values for
browser
chrome
- Chromefirefox
- Firefoxopera
- Operaedge
- Edgeiexplorer
- Internet Explorerchromium
- Chromiumsafari
- Safari
- Values for
- Run with default-browser (Chrome)
- Generate source- and javadoc-artifacts
mvn -Pdormant,apps,pre-assembly -DskipTests package
- Generate site-documentation
mvn -Pdormant,apps -DskipTests site
or
mvn -Pdormant,apps -DskipTests clean site site:stage
- Publish site-documentation
mvn -Pdormant,apps -DskipTests clean site site:stage
mvn scm-publish:publish-scm
- Generate Assemblies
mvn -Pdormant,apps,assembly -DskipTests package
- Deploy all artifacts to
Central-Repo
mvn -Pdormant clean deploy
for SNAPSHOTsmvn -Pdormant,pre-assembly,release clean deploy
for releases
- Run Web-Server to manually test example-apps and create test scripts:
mvn -Pdormant,apps,itest,cargorun -DskipTests
or
mvn -Pdormant,apps,itest,cargorun -DskipTests -Dcargo.java.home=[JDK_x]
to specify Java-Runtime - Set version number
mvn -Pdormant,apps,itest,assembly versions:set -DnewVersion=...
- Dependency Report
mvn -Pdormant,apps,itest,assembly versions:display-dependency-updates versions:display-plugin-updates versions:display-property-updates