Lukasz Lenart
05003d237a
fix(core): move xwork-default.xml to test resources ( #1513 )
...
The Struts IDEA plugin incorrectly displayed xwork-default.xml as a
framework configuration file. This was misleading since the file is
only used in testing and is not loaded by the framework by default.
Changes:
- Move xwork-default.xml from core/src/main/resources to
core/src/test/resources and rename to struts-tests-default.xml
- Copy struts-tests-default.xml to plugins/spring/src/test/resources
- Update all test file references to use the new filename
- Update Javadoc examples to use modern Struts terminology
(xwork -> struts, xwork-default -> struts-default)
Closes [WW-5603](https://issues.apache.org/jira/browse/WW-5603 )
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-authored-by: Claude <noreply@anthropic.com >
2026-01-26 10:23:53 +01:00
dependabot[bot]
853dd91e83
build(deps): bump org.apache.juneau:juneau-marshall from 8.1.3 to 9.2.0 ( #1512 )
...
* build(deps): bump org.apache.juneau:juneau-marshall from 8.1.3 to 9.2.0
Bumps org.apache.juneau:juneau-marshall from 8.1.3 to 9.2.0.
---
updated-dependencies:
- dependency-name: org.apache.juneau:juneau-marshall
dependency-version: 9.2.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix(rest): update JuneauXmlHandler for Juneau 9.x API compatibility
Replace deprecated builder() method with copy() to fix compilation
error after juneau-marshall upgrade from 8.1.3 to 9.2.0.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukasz Lenart <lukaszlenart@apache.org >
Co-authored-by: Claude <noreply@anthropic.com >
2026-01-20 13:07:52 +01:00
dependabot[bot]
e1f37924b5
build(deps): bump org.codehaus.mojo:exec-maven-plugin ( #1503 )
...
Bumps [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin ) from 3.6.2 to 3.6.3.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases )
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/3.6.2...3.6.3 )
---
updated-dependencies:
- dependency-name: org.codehaus.mojo:exec-maven-plugin
dependency-version: 3.6.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-29 13:36:46 +01:00
gregh3269
8e3bafd3cf
Fix Textfield tag not allowing white space. See WW-5592. ( #1489 )
...
Co-authored-by: Greg Huber <ghuber@apache.org >
2025-12-23 08:08:53 +01:00
Lukasz Lenart
1fef0e1f9b
fix(convention): WW-5593 handle NoClassDefFoundError in action class scanning ( #1469 )
...
The PackageBasedActionConfigBuilder now catches NoClassDefFoundError in
addition to ClassNotFoundException when scanning for action classes.
This prevents application startup failures when classes have missing
optional dependencies (e.g., test classes depending on JUnit).
Changes:
- Add NoClassDefFoundError to catch block in getActionClassTest()
- Improve error message to suggest missing dependencies
- Add unit tests for both exception types
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-14 20:01:25 +01:00
Lukasz Lenart
6d778ac9b7
fix(convention): WW-5594 exclude root package classes with wildcard patterns ( #1468 )
...
The exclusion pattern "org.apache.struts2.*" was not properly excluding
classes directly in the root package (like XWorkTestCase) because:
1. PackageBasedActionConfigBuilder extracts package names using
substringBeforeLast(className, ".") which produces "org.apache.struts2"
(no trailing dot)
2. The wildcard pattern requires a literal "." before "*"
3. Result: Pattern doesn't match root package classes
Fix: Enhanced checkExcludePackages() to automatically handle patterns
ending with ".*" by also checking if the package name equals the base
pattern (without ".*").
Now "org.apache.struts2.*" properly excludes both:
- Classes in root package: org.apache.struts2.XWorkTestCase
- Classes in subpackages: org.apache.struts2.dispatcher.SomeClass
Closes [WW-5594](https://issues.apache.org/jira/browse/WW-5594 )
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-14 19:41:59 +01:00
dependabot[bot]
2b8c78250b
Bump org.codehaus.mojo:exec-maven-plugin from 3.5.1 to 3.6.2 ( #1441 )
...
Bumps [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin ) from 3.5.1 to 3.6.2.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases )
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/3.5.1...3.6.2 )
---
updated-dependencies:
- dependency-name: org.codehaus.mojo:exec-maven-plugin
dependency-version: 3.6.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 06:55:47 +01:00
dependabot[bot]
1ee0ae0299
Bump org.apache.rat:apache-rat-plugin from 0.16.1 to 0.17 ( #1406 )
...
* Bump org.apache.rat:apache-rat-plugin from 0.16.1 to 0.17
Bumps org.apache.rat:apache-rat-plugin from 0.16.1 to 0.17.
---
updated-dependencies:
- dependency-name: org.apache.rat:apache-rat-plugin
dependency-version: '0.17'
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Updates exclusions
* Removes includes to include all the files
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukasz Lenart <lukaszlenart@apache.org >
2025-11-24 09:03:30 +01:00
Lukasz Lenart
6131c9364e
Fixes site and JavaDocs generation ( #1419 )
2025-11-22 16:55:18 +01:00
Lukasz Lenart
eba05e53da
Reverse merge changes related to releasing Struts 7.1.1 ( #1378 )
...
* [maven-release-plugin] prepare release STRUTS_7_1_1
* [maven-release-plugin] rollback the release of STRUTS_7_1_1
* [maven-release-plugin] prepare release STRUTS_7_1_1
* [maven-release-plugin] prepare for next development iteration
2025-10-19 19:12:31 +02:00
Lukasz Lenart
4e308e2be0
[maven-release-plugin] prepare for next development iteration
2025-09-24 09:45:02 +02:00
Lukasz Lenart
02858b7ed5
[maven-release-plugin] prepare release STRUTS_7_1_0
2025-09-24 09:44:54 +02:00
Lukasz Lenart
8fcab78c5d
[maven-release-plugin] rollback the release of STRUTS_7_1_0
2025-09-24 09:39:45 +02:00
Lukasz Lenart
d50cfba32e
[maven-release-plugin] prepare release STRUTS_7_1_0
2025-09-24 09:39:08 +02:00
Lukasz Lenart
1b43b53c6b
WW-5504 Allows to use request instead of session attribute to store nonce ( #1352 )
2025-09-24 07:32:13 +02:00
dependabot[bot]
3c5c7e5b7b
Bump org.codehaus.mojo:exec-maven-plugin from 3.5.0 to 3.5.1
...
Bumps [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin ) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases )
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/3.5.0...3.5.1 )
---
updated-dependencies:
- dependency-name: org.codehaus.mojo:exec-maven-plugin
dependency-version: 3.5.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-28 02:06:37 +00:00
dependabot[bot]
de0b6f13b6
Bump org.jfree:jfreechart from 1.5.5 to 1.5.6
...
Bumps [org.jfree:jfreechart](https://github.com/jfree/jfreechart ) from 1.5.5 to 1.5.6.
- [Release notes](https://github.com/jfree/jfreechart/releases )
- [Commits](https://github.com/jfree/jfreechart/compare/v1.5.5...v1.5.6 )
---
updated-dependencies:
- dependency-name: org.jfree:jfreechart
dependency-version: 1.5.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-21 02:10:26 +00:00
dependabot[bot]
c57a989584
Bump jasperreports7.version from 7.0.1 to 7.0.3 ( #1275 )
...
* Bump jasperreports7.version from 6.21.3 to 7.0.3
Bumps `jasperreports7.version` from 6.21.3 to 7.0.3.
Updates `net.sf.jasperreports:jasperreports` from 6.21.3 to 7.0.3
- [Release notes](https://github.com/Jaspersoft/jasperreports/releases )
- [Changelog](https://github.com/Jaspersoft/jasperreports/blob/master/changes.txt )
- [Commits](https://github.com/Jaspersoft/jasperreports/compare/6.21.3...7.0.3 )
Updates `net.sf.jasperreports:jasperreports-pdf` from 7.0.1 to 7.0.3
- [Release notes](https://github.com/Jaspersoft/jasperreports/releases )
- [Changelog](https://github.com/Jaspersoft/jasperreports/blob/master/changes.txt )
- [Commits](https://github.com/Jaspersoft/jasperreports/compare/7.0.1...7.0.3 )
---
updated-dependencies:
- dependency-name: net.sf.jasperreports:jasperreports
dependency-version: 7.0.3
dependency-type: direct:production
update-type: version-update:semver-major
- dependency-name: net.sf.jasperreports:jasperreports-pdf
dependency-version: 7.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Reverts to 6.21.3 to support old plugin
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukasz Lenart <lukaszlenart@apache.org >
2025-06-16 07:13:06 +02:00
Lukasz Lenart
e326799532
WW-5544 Marks ReflectionContextFactory as deprecated and uses ActionContext instead ( #1254 ) ( #1255 )
2025-04-27 18:43:36 +02:00
Lukasz Lenart
1c3219e7f9
WW-5455 Defines a new plugin to support Jasper Reports 7 ( #1124 )
...
* WW-5455 Defines a new plugin to support Jasper Reports 7
* WW-5455 Allows action to modify result behaviour
* WW-5455 Defines exporter as an extension point
* WW-5455 Extracts logic to create connection or dataSource
* WW-5455 Uses defaultDelimiter as more meaningful name
* WW-5455 Fixes parent version after re-basing
* WW-5455 Updates pom to match the latest SNAPSHOT version
* WW-5455 Cleans up code
* WW-5455 Adds the new plugin to BOM
* WW-5455 Fixes broken test
2025-03-06 06:50:38 +01:00
Kusal Kithul-Godage
747859b72a
Merge pull request #1237 from apache/WW-5534-annotation-allowlist-proxy
...
WW-5534 Allow @StrutsParameter recognition and OGNL allowlist for Spring proxies
2025-03-06 12:24:07 +11:00
Kusal Kithul-Godage
433c4837fd
WW-5534 Add coverage for proxy resolution
2025-03-06 12:14:47 +11:00
Kusal Kithul-Godage
4cc874d426
Merge pull request #1236 from apache/WW-5534-proxyutil
...
WW-5534 Simplify ProxyUtil, add OgnlCache#computeIfAbsent
2025-03-05 21:48:25 +11:00
gregh3269
f35c808efc
Sync tag with main ftl template. ( #1212 )
...
Co-authored-by: Greg Huber <ghuber@apache.org >
2025-03-04 16:45:45 +01:00
Kusal Kithul-Godage
8579a10f59
WW-5534 Simplify ProxyUtil, add OgnlCache#computeIfAbsent
2025-02-28 04:38:15 +11:00
Kusal Kithul-Godage
fa951718dc
WW-5533 Add compilation support for Jakarta EE 11
2025-02-25 23:34:33 +11:00
Kusal Kithul-Godage
d2cb444bcf
WW-5376 Fix BOM leaking unrelated dependencies
2025-02-25 19:32:44 +11:00
Kusal Kithul-Godage
077e985899
WW-5532 Upgrade and align various dependencies
2025-02-25 12:25:47 +11:00
Lukasz Lenart
d727fbf6be
[maven-release-plugin] prepare for next development iteration
2025-02-17 10:41:25 +01:00
Lukasz Lenart
4603706b40
[maven-release-plugin] prepare release STRUTS_7_0_3
2025-02-17 10:41:17 +01:00
Lukasz Lenart
1db8a72bb5
WW-5525 Fixes NPE when checking if expressions is acceptable ( #1201 )
...
* WW-5525 Fixes NPE when checking if expressions is acceptable
* WW-5525 Fixes bugs introduced by previous commit
2025-02-17 08:53:42 +01:00
Kusal Kithul-Godage
3c856c92a1
WW-5525 Fix NPE in ProxyUtil for SecurityMemberAccess originating static members
2025-02-06 12:23:42 +11:00
Lukasz Lenart
a1de1cfdeb
[maven-release-plugin] prepare for next development iteration
2025-02-04 07:07:24 +01:00
Lukasz Lenart
9326279769
[maven-release-plugin] prepare release STRUTS_7_0_2
2025-02-04 07:07:15 +01:00
Lukasz Lenart
b34665046c
Improves code quality
...
Uses existing function to split input using comma
2025-02-02 17:22:42 +01:00
Lukasz Lenart
080263e93f
[maven-release-plugin] prepare for next development iteration
2025-02-02 08:26:01 +01:00
Lukasz Lenart
f6bf43ae0b
[maven-release-plugin] prepare release STRUTS_7_0_1
2025-02-02 08:25:53 +01:00
dependabot[bot]
e81caf5cec
Bump org.codehaus.mojo:exec-maven-plugin from 3.4.1 to 3.5.0
...
Bumps [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin ) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases )
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/3.4.1...3.5.0 )
---
updated-dependencies:
- dependency-name: org.codehaus.mojo:exec-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-16 01:16:41 +00:00
Lukasz Lenart
9aa41f18ae
[maven-release-plugin] prepare for next development iteration
2024-12-11 07:56:30 +01:00
Lukasz Lenart
1d95543fbf
[maven-release-plugin] prepare release STRUTS_7_0_0
2024-12-11 07:56:16 +01:00
Lukasz Lenart
90c9dfa923
[maven-release-plugin] prepare for next development iteration
2024-11-03 14:51:02 +01:00
Lukasz Lenart
5760d45a3e
[maven-release-plugin] prepare release STRUTS_7_0_0_M10
2024-11-03 14:50:53 +01:00
Lukasz Lenart
0c2d275dc2
WW-5482 Moves locale related code into org.apache.struts2.locale
2024-11-03 12:16:55 +01:00
Lukasz Lenart
80dab5294b
WW-5481 Moves text related classes into org.apache.struts2.text
2024-11-03 09:23:05 +01:00
Lukasz Lenart
83cb936c3a
WW-5459 Moves ActionChainResult into org.apache.struts2.result package
2024-11-02 15:23:54 +01:00
Lukasz Lenart
dd6bb139f7
WW-5459 Moves Action interface into org.apache.struts2.action package
2024-11-02 15:09:51 +01:00
Kusal Kithul-Godage
87df4a229d
WW-3714 Move new Result class into result package
2024-11-02 23:09:41 +11:00
Kusal Kithul-Godage
a43f8a5239
Merge remote-tracking branch 'origin/master' into 7.0.x/merge-master-2024-11-02
2024-11-02 14:17:56 +11:00
Kusal Kithul-Godage
1908cbab8f
Merge pull request #1105 from apache/WW-5476-defaultresultfactory
...
WW-5478 Deprecate DefaultResultFactory
2024-11-02 14:05:37 +11:00
Kusal Kithul-Godage
fe46ad9f4a
WW-5478 Deprecate DefaultResultFactory
2024-11-02 14:01:36 +11:00