MVN

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

Maven & Gradle

Aug 20, 2022
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.0</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.0

All Versions

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

  • Version Updated
  • org.apache.sling.api-2.27.0

    Aug 20, 2022
  • org.apache.sling.api-2.26.0

    Aug 08, 2022
  • org.apache.sling.api-2.25.4

    Jun 13, 2022
  • org.apache.sling.api-2.25.0

    Mar 29, 2022
  • org.apache.sling.api-2.24.0

    Nov 09, 2021
  • org.apache.sling.api-2.23.6

    May 17, 2021
  • org.apache.sling.api-2.23.4

    Apr 28, 2021
  • org.apache.sling.api-2.23.0

    Sep 23, 2020
  • org.apache.sling.api-2.22.0

    Jan 07, 2020
  • org.apache.sling.api-2.21.0

    Nov 18, 2019
  • org.apache.sling.api-2.20.0

    Dec 13, 2018
  • org.apache.sling.api-2.18.4

    Aug 17, 2018
  • org.apache.sling.api-2.18.2

    Jul 25, 2018
  • org.apache.sling.api-2.18.0

    Mar 13, 2018
  • org.apache.sling.api-2.16.4

    Nov 02, 2017
  • org.apache.sling.api-2.16.2

    Dec 14, 2016
  • org.apache.sling.api-2.16.0

    Nov 30, 2016
  • org.apache.sling.api-2.15.0

    Oct 21, 2016
  • org.apache.sling.api-2.14.2

    Aug 23, 2016
  • org.apache.sling.api-2.14.0

    Jul 21, 2016
  • org.apache.sling.api-2.12.0

    Jul 06, 2016
  • org.apache.sling.api-2.11.0

    Feb 05, 2016
  • org.apache.sling.api-2.9.0

    Feb 19, 2015
  • org.apache.sling.api-2.8.0

    Aug 28, 2014
  • org.apache.sling.api-2.7.0

    Mar 19, 2014
  • org.apache.sling.api-2.6.0

    Feb 25, 2014
  • org.apache.sling.api-2.5.0

    Jan 21, 2014
  • org.apache.sling.api-2.4.2

    Apr 30, 2013
  • org.apache.sling.api-2.4.0

    Apr 15, 2013
  • org.apache.sling.api-2.3.0

    Nov 12, 2012
  • org.apache.sling.api-2.2.4

    Jan 26, 2012
  • org.apache.sling.api-2.2.2

    Aug 10, 2011
  • org.apache.sling.api-2.2.0

    Dec 08, 2010
  • org.apache.sling.api-2.1.0

    Aug 18, 2010
  • org.apache.sling.api-2.0.8

    Sep 29, 2009
  • org.apache.sling.api-2.0.6

    Aug 12, 2009
  • org.apache.sling.api-2.0.2-incubator

    Jun 13, 2009
  • org.apache.sling.api-2.0.4-incubator

    May 13, 2009

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.0</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.0'

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.0")

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.0"