Skip to content
Back to skills

Sdk Version Detector

ASecurity

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.

  • 13 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 6, 2026
ai-agentsjavareactspringapi

Works with

  • api

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add aborroy/aiup-alfresco --skill sdk-version-detector --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sdk Version Detector?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sdk Version Detector
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aborroy-sdk-version-detector-aiup-alfresco/badge)](https://www.skillsdirectory.com/skills/aborroy-sdk-version-detector-aiup-alfresco)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: "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."
user-invocable: false
allowed-tools: "Read, Grep, Glob"
---

# SDK Version Detector

Detect which Alfresco SDK the project uses and report which code generation patterns apply.

## Detection Logic

1. Search for `pom.xml` in the project root and submodules
2. Check `<parent>` `<artifactId>`:
   - `alfresco-sdk-aggregator` → **In-Process SDK** (Maven)
   - `alfresco-java-sdk` → **Out-of-Process SDK** (Spring Boot)
3. If neither parent is found, check for `alfresco-java-event-api-spring-boot-starter` dependency → Out-of-Process
4. If still unclear, check for `alfresco.platform.version` or `acs.version` properties → 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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.