Add security section to AGENTS.md
1 file changed
tree: fe553dd501e1bc6bc0870b37e16f3c1640184f3c
  1. src/
  2. .asf.yaml
  3. .gitignore
  4. AGENTS.md
  5. asf.yaml
  6. CLAUDE.md
  7. CODE_OF_CONDUCT.md
  8. CONTRIBUTING.md
  9. Jenkinsfile
  10. LICENSE
  11. pom.xml
  12. README.md
README.md

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.