no-javax-imports
Enforces that no javax.* imports remain after migration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Enforces that no javax.* imports remain after migration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Reads PLAN.md and executes each migration step sequentially. Applies transformations file by file, consulting domain-specific reference patterns provided by loaded migration skills. Use after the plan stage has produced PLAN.md.
Migrates Java EE 7/8 applications (WebLogic, JBoss, WildFly) to Quarkus 3. Use when moving off a traditional Java EE application server to the Quarkus runtime, not just renaming javax to jakarta.
Reads a project and a goal statement, then produces PLAN.md in the repo root. The plan is specific to THIS project — real file paths, real dependencies, real layer ordering. Uses graphify to generate a code graph, then selectively reads complex files. Does NOT execute any changes. Output is always PLAN.md and nothing else. Use when starting a new migration to create the migration plan before any code changes.
Runs the project build command, parses compiler errors, applies conservative fixes, and iterates until the build passes or max iterations are reached. Use after the execute stage has finished migrating source files.
Migrates EJB components to CDI managed beans.
Migrates Maven POM files from Java EE to Jakarta EE.
| name | no-javax-imports |
| description | Enforces that no javax.* imports remain after migration. |
This is a rule (always-loaded). After migrating to Jakarta EE, no
javax.* imports should remain in the codebase.
Every Java source file must use jakarta.* packages instead of
javax.*. If you find a javax.* import, replace it with the
corresponding jakarta.* equivalent.
Common replacements:
javax.servlet.* -> jakarta.servlet.*javax.persistence.* -> jakarta.persistence.*javax.inject.* -> jakarta.inject.*javax.annotation.* -> jakarta.annotation.*javax.ws.rs.* -> jakarta.ws.rs.*