Individual skill
evo-spring-boot-jakarta-migration
Migrate a Java 8/Spring Boot 2.7 project to Java 21/Spring Boot 3.2 with comprehensive handling of namespace changes, security config, Hibernate 6, JJWT 0.12.x, and RestClient migration.
tasks-evolved/spring-boot-jakarta-migration/environment/skills/evo-spring-boot-jakarta-migration/SKILL.md
Source commit 84ca182da055fafb6453dcec4a6defdbbfd987c1
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Local scripts
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 97
- Repository last updated
- Sep 10, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai-agents Repository topic
- llm-agents Repository topic
- open-world Repository topic
- self-evolving-agents Repository topic
- security Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 3,011 bytesSKILL.mdcore · 3,011 bytesscripts/file_utils.pyruns · 1,841 bytesscripts/namespace_migrator.pyruns · 4,436 bytesscripts/pom_migrator.pyruns · 9,174 bytes
Read excerpt
# Spring Boot 2.7 → 3.2 Jakarta Migration Skill
## Purpose
Migrate a Java 8/Spring Boot 2.7 user management microservice to Java 21/Spring Boot 3.2, covering all layers of the application stack.
## Key Migration Areas
1. **pom.xml**: Update parent to 3.2.x, java.version to 21, maven-compiler-plugin with `-parameters`, replace jjwt 0.9.x with modular 0.12.x, remove jaxb-api
2. **Jakarta namespace**: Replace javax.persistence → jakarta.persistence, javax.validation → jakarta.validation, javax.servlet → jakarta.servlet. **Preserve** javax.crypto, javax.sql, javax.net (Java SE packages)
3. **Spring Security 6**: Remove WebSecurityConfigurerAdapter, use SecurityFilterChain bean, Lambda DSL, authorizeHttpRequests + requestMatchers, @EnableMethodSecurity
4. **JJWT 0.12.x API**: Migrate from `Jwts.parser().setSigningKey()` to `Jwts.parser().verifyWith().build().parseSignedClaims()`, from `Jwts.builder().signWith(SignatureAlgorithm.HS512, key)` to `Jwts.builder().signWith(key)`
5. **Hibernate 6**: Remove versioned dialect references, use GenerationType.IDENTITY explicitly, update H2Dialect to unversioned form
6. **RestTemplate → RestClient**: Migrate to fluent RestClient API
7. **Application properties**: Update hibernate dialect class names, remove deprecated properties