Apache Sling Scripting Core implementation

Clone this repo:
  1. 63052ea docs: expand README and AGENTS.md with module overview and console plugin guidance (#40) by Carsten Ziegeler · 14 days ago master
  2. 1aa26a8 fix(console-plugin): improve exception handling in console plugins (#38) by Carsten Ziegeler · 8 weeks ago
  3. 69540ff Add security section to AGENTS.md by Robert Munteanu · 8 weeks ago
  4. 3891ce5 Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 (#32) by dependabot[bot] · 8 weeks ago
  5. b1931c6 chore(deps): bump sling-bundle-parent from 62 to 66 (#36) by Carsten Ziegeler · 9 weeks ago

Apache Sling

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

Apache Sling Scripting Core implementation

This module is part of the Apache Sling project.

The Apache Sling Scripting Core bundle provides core scripting runtime functionality for Sling, including script engine integration, script caching, bindings support, and bundled script handling.

Current baseline

  • Java 17 (<sling.java.version>17</sling.java.version>)
  • Parent POM: org.apache.sling:sling-bundle-parent:66
  • Current module version: 3.0.3-SNAPSHOT

Servlet API support

This module supports both servlet namespaces used in Sling deployments:

  • javax.servlet-api 4.0.1
  • jakarta.servlet-api 6.1.0

Recent updates include Jakarta-oriented scripting context handling fixes and hardened Web Console plugin error handling.

Build and test

Run a full local build (including unit and integration tests):

mvn clean verify

Repository structure

  • src/main/java - production code
  • src/main/resources - OSGi metadata and resources
  • src/test/java - unit and integration tests
  • src/test/resources - test resources