Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/citrusframework/citrus --skill citrus-set-camel-version명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | citrus-set-camel-version |
| description | # Set Camel Versions |
| metadata | {"user-invocable":true,"disable-model-invocation":true} |
Align dependency and plugin versions in this repository's Maven pom.xml files with a specific Apache Camel release version.
/citrus-set-camel-version <release.version>
Arguments:
<release.version> - A valid Apache Camel release version (e.g., 4.21.0, 4.22.0)Examples:
/citrus-set-camel-version 4.21.0
/citrus-set-camel-version 4.22.0
Extract <release.version> from the argument. It must be a valid Camel version string (e.g., 4.21.0). If missing or malformed, ask the user to provide a valid version.
Fetch the Camel parent POM for the given release version:
https://raw.githubusercontent.com/apache/camel/refs/tags/camel-<release.version>/parent/pom.xml
Extract all version properties from the <properties> section (those ending in -version or .version). If the fetch fails, report the error and stop.
Read the root pom.xml of this repository and extract all version properties from its <properties> section.
First, update the apache.camel.version property in the Citrus POM to the target release version — this is the Camel dependency itself.
Then, for each other version property in the Citrus POM, find the corresponding property in the Camel POM by matching on the dependency/library they refer to (property names may differ between projects). This includes both dependency versions and Maven plugin versions. Classify each match:
Update all outdated version properties in the root pom.xml. Do NOT touch properties where the Citrus version is already equal to or newer than the Camel version.
Search the repository for hardcoded references to the old Camel version and update them to the new version. Key locations include:
tools/jbang/src/main/java/org/citrusframework/jbang/cli/CitrusJBangMain.java — update the CAMEL_VERSION_DEFAULT constantWhen the Camel version changes, the set of available Camel test infrastructure services may change (services added or removed). Check the new Camel version for changes to camel-test-infra-* modules and update:
tools/schema-generator/src/test/resources/control/citrus-catalog-aggregate-infra-services.json and citrus-catalog-aggregate-test-actions.json — add entries for new services, remove entries for deleted servicesendpoints/citrus-camel/src/test/java/org/citrusframework/camel/actions/infra/InfraServiceUtilsTest.java — update the expected service name list in shouldListInfraServices()To discover changes, compare the Camel test infrastructure modules between the old and new version tags (e.g., list directories under test-infra/ in the Camel repository for both versions).
Run a module-specific build for any modules with changed files to verify compilation and tests pass. If tests fail due to the version updates (e.g., updated test expectations, changed APIs), fix them.
After all updates are applied, produce a summary with three sections:
mvn in the module directory where changes occurred; do NOT parallelize Maven jobs