Apache Sling Servlets Resolver API

Clone this repo:
  1. d5e6308 Add security section to AGENTS.md by Robert Munteanu · 6 weeks ago master
  2. 747381d docs: add AGENTS.md, CLAUDE.md, and expand README (#4) by Carsten Ziegeler · 6 weeks ago
  3. 1f55632 Merge pull request #2 from apache/maia/workflow-1779889834268 by Carsten Ziegeler · 7 weeks ago
  4. a291ea8 chore(build): bump sling-bundle-parent from 62 to 66 by Carsten Ziegeler · 7 weeks ago
  5. 754f827 SLING-12866 - Restrict force pushes, auto-delete branches on merge by Robert Munteanu · 11 months ago

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central scripting License

Apache Sling Scripting SPI

This module is part of the Apache Sling project.

This bundle provides:

  • org.apache.sling.scripting.spi.bundle: SPI interfaces used by the Apache Sling Servlets Resolver and Apache Sling Scripting Core to discover and execute bundled scripts (precompiled or interpreted) for request rendering.
  • org.apache.sling.api.resource.type: a ResourceType value object for parsing Sling resource type strings.

The API is built for Java 17 and supports both Jakarta Servlet API (preferred) and legacy javax.servlet API for backward compatibility.

Build and verification

mvn clean install
mvn test
mvn verify
mvn spotless:check

Integration Tests

The integration tests for bundled scripts are provided by the org.apache.sling.scripting.bundle.tracker.it project.