MVN

org.apache.sling : org.apache.sling.api

Maven & Gradle

May 12, 2023
582 usages

Apache Sling API · The Apache Sling API defines an extension to the Servlet API 2.4 to provide access to content and unified access to request parameters hiding the differences between the different methods of transferring parameters from client to server. Note that the Apache Sling API bundle does not include the Servlet API but instead requires the API to be provided by the Servlet container in which the Apache Sling framework is running or by another bundle.

<dependency>
    <groupId>org.apache.sling</groupId>
    <artifactId>org.apache.sling.api</artifactId>
    <version>2.27.2</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.apache.sling : org.apache.sling.api to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.27.2

All Versions

Choose a version of org.apache.sling : org.apache.sling.api to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.27.x
org.apache.sling.api-2.27.2
org.apache.sling.api-2.27.0
2.26.x
org.apache.sling.api-2.26.0
2.25.x
org.apache.sling.api-2.25.4
org.apache.sling.api-2.25.0
CVE-2022-32549
2.24.x
org.apache.sling.api-2.24.0
CVE-2022-32549
2.23.x
org.apache.sling.api-2.23.6
CVE-2022-32549
org.apache.sling.api-2.23.4
CVE-2022-32549
org.apache.sling.api-2.23.0
CVE-2022-32549
2.22.x
org.apache.sling.api-2.22.0
CVE-2022-32549
2.21.x
org.apache.sling.api-2.21.0
CVE-2022-32549
2.20.x
org.apache.sling.api-2.20.0
CVE-2022-32549
2.18.x
org.apache.sling.api-2.18.4
CVE-2022-32549
org.apache.sling.api-2.18.2
CVE-2022-32549
org.apache.sling.api-2.18.0
CVE-2022-32549
2.16.x
org.apache.sling.api-2.16.4
CVE-2022-32549
org.apache.sling.api-2.16.2
CVE-2022-32549
org.apache.sling.api-2.16.0
CVE-2022-32549
2.15.x
org.apache.sling.api-2.15.0
CVE-2022-32549
2.14.x
org.apache.sling.api-2.14.2
CVE-2022-32549
org.apache.sling.api-2.14.0
CVE-2022-32549
2.12.x
org.apache.sling.api-2.12.0
CVE-2022-32549
2.11.x
org.apache.sling.api-2.11.0
CVE-2022-32549
2.9.x
org.apache.sling.api-2.9.0
CVE-2022-32549
2.8.x
org.apache.sling.api-2.8.0
CVE-2022-32549
2.7.x
org.apache.sling.api-2.7.0
CVE-2022-32549
2.6.x
org.apache.sling.api-2.6.0
CVE-2022-32549
2.5.x
org.apache.sling.api-2.5.0
CVE-2022-32549
2.4.x
org.apache.sling.api-2.4.2
CVE-2022-32549
org.apache.sling.api-2.4.0
CVE-2022-32549
2.3.x
org.apache.sling.api-2.3.0
CVE-2022-32549
2.2.x
org.apache.sling.api-2.2.4
CVE-2022-32549
org.apache.sling.api-2.2.2
CVE-2022-32549
org.apache.sling.api-2.2.0
2 vulnerabilities
2.1.x
org.apache.sling.api-2.1.0
2 vulnerabilities
2.0.x
org.apache.sling.api-2.0.8
2 vulnerabilities
org.apache.sling.api-2.0.6
2 vulnerabilities
org.apache.sling.api-2.0.4-incubator
2 vulnerabilities
org.apache.sling.api-2.0.2-incubator
2 vulnerabilities

How to add a dependency to Maven

Add the following org.apache.sling : org.apache.sling.api maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.apache.sling</groupId>
    <artifactId>org.apache.sling.api</artifactId>
    <version>2.27.2</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.apache.sling : org.apache.sling.api gradle dependency to your build.gradle file:

implementation 'org.apache.sling:org.apache.sling.api:2.27.2'

Gradle Kotlin DSL: Add the following org.apache.sling : org.apache.sling.api gradle kotlin dependency to your build.gradle.kts file:

implementation("org.apache.sling:org.apache.sling.api:2.27.2")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.apache.sling : org.apache.sling.api sbt scala dependency to your build.sbt file:

libraryDependencies += "org.apache.sling" % "org.apache.sling.api" % "2.27.2"

Advertisement