Sdk version detector
Skill aborroy/aiup-alfresco/.cursor/skills/sdk-version-detector
Reads pom.xml, detects which Alfresco SDK is in use (In-Process Maven SDK or Out-of-Process Spring Boot SDK), and adjusts generated code accordingly. Trigger when generating Java code for Alfresco extensions.From its SKILL.md
npx -y skills add aborroy/aiup-alfresco --skill sdk-version-detectorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 13 stars13 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.2 KB, 512 tokens by cl100k_base, as published. Nobody here has run it
SDK Version Detector
Detect which Alfresco SDK the project uses and report which code generation patterns apply.
Detection Logic
- Search for
pom.xmlin the project root and submodules - Check
<parent><artifactId>:alfresco-sdk-aggregator→ In-Process SDK (Maven)alfresco-java-sdk→ Out-of-Process SDK (Spring Boot)
- If neither parent is found, check for
alfresco-java-event-api-spring-boot-starterdependency → Out-of-Process - If still unclear, check for
alfresco.platform.versionoracs.versionproperties → In-Process
SDK Types
In-Process SDK (Maven SDK alfresco-sdk-aggregator)
Deploys as a Platform JAR or AMP inside the ACS JVM.
| SDK Version | ACS Version | Java | Spring | Patterns |
|---|---|---|---|---|
| 4.x (≤4.11) | 6.x–7.x | 11 | 5.x | Legacy ServiceRegistry, XML-only config |
| 4.x (4.12+) | 25.x–26.1 | 17+ | 6.x/Boot 3.x | Web Scripts, XML for integration points, Java config for internal wiring |
Use for: behaviours, web scripts, actions, content model bootstrap — anything that must run inside the Alfresco JVM.
Out-of-Process SDK (Spring Boot SDK alfresco-java-sdk)
Runs as a separate Spring Boot application outside ACS, connected via ActiveMQ and REST.
| SDK Version | ACS Version | Java | Spring Boot | Patterns |
|---|---|---|---|---|
| 7.x | 25.x–26.1 | 17+ | 3.x | @AlfrescoEventListener, standard Spring Boot @Configuration |
Use for: event listeners, external integrations, async processing — anything that reacts to repository events over ActiveMQ.
Output
Report:
- Extension type: In-Process or Out-of-Process
- Detected SDK and version
- Detected ACS version
- Java version requirement
- For In-Process: whether to use XML or Java-based Spring configuration
- For Out-of-Process: confirm event API and ActiveMQ configuration patterns
- Any version-specific warnings
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.