spring-projects / spring-projects/spring-security
Make SpringSecurityCoreVersion.SERIAL_VERSION_UID Dynamic
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.6k
- Forks
- 6.3k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 52
Description
Summary
At present, SpringSecurityCoreVersion.SERIAL_VERSION_UID are statically initialized. Whenever there is a bump in version, this is a required manual code change. If missed, some tests in SpringSecurityCoreVersionTests will fail.
It would be much more convenient if SERIAL_VERSION_UID was dynamically initialized with the current versions from a properties file.
Related #5065
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with SpringSecurityCoreVersion and SpringSecurityCoreVersionTests, then locate the project's version properties file. Check how the current version is exposed and how the serial UID is initialized; done means the UID follows the current version without a manual code change and the referenced tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- release
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100