Skip to content

Remove struts 1 support.#6987

Merged
mbien merged 1 commit intoapache:masterfrom
mbien:no-struts
Feb 11, 2024
Merged

Remove struts 1 support.#6987
mbien merged 1 commit intoapache:masterfrom
mbien:no-struts

Conversation

@mbien
Copy link
Member

@mbien mbien commented Jan 23, 2024

last struts 1 release was 14 years ago, time for cleanup.

this removes the enterprise/web.struts module, which is a lib wrapper and provided a few wizards, integrated the wrapped struts libs into tools -> libraries and offered struts 1 as J2EE framework to other modules.

ran a quick manual test to see that the old ant project wizard is still working (new project -> java with ant -> java web -> web application).

closes #6969
closes #6686

@mbien mbien added Code cleanup Label for cleanup done on the Netbeans IDE Java EE/Jakarta EE [ci] enable enterprise job Upgrade Library Library (Dependency) Upgrade ci:all-tests [ci] enable all tests ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Jan 23, 2024
@mbien mbien added this to the NB22 milestone Jan 23, 2024
@mbien mbien removed the ci:all-tests [ci] enable all tests label Jan 23, 2024
@mbien
Copy link
Member Author

mbien commented Jan 23, 2024

all tests green without restarts, must be a good omen

@matthiasblaesing
Copy link
Contributor

From a very quick look this seems sane. Indeed we might consider also dropping spring framework 3+4 and updating spring framework 5 libraries to latest

@mbien
Copy link
Member Author

mbien commented Jan 23, 2024

@matthiasblaesing thanks for taking a look. Will leave this as draft at least until NB 21 is released, since this could cause unnecessary sync conflicts.

Indeed we might consider also dropping spring framework 3+4

agreed, We should drop everything which is EOL if possible, starting with the oldest/easiest to remove first. EOL spring will also show up on CVE scanners etc.

@mbien mbien removed the ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) label Feb 10, 2024
last struts 1 release was 14 years ago.
@mbien
Copy link
Member Author

mbien commented Feb 10, 2024

same here, rebasing to latest for a fresh run.

Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sane to me.

@mbien
Copy link
Member Author

mbien commented Feb 11, 2024

thanks for the review again @matthiasblaesing -> merging

@mbien mbien merged commit 4c43851 into apache:master Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code cleanup Label for cleanup done on the Netbeans IDE Java EE/Jakarta EE [ci] enable enterprise job Upgrade Library Library (Dependency) Upgrade

Projects

None yet

Development

Successfully merging this pull request may close these issues.

apache struts deletion from netbeans due to CVE-2023-50164 struts-core 1.3.10 jar present

2 participants