Deprecated APIs

Below is an extensive list of deprecated AEM APIs and their expected removal date. Customers are expected to remove the APIs by the target removal date from their code. Any usage of the API past the removal date will generate errors in the local SDK/Development Environment and the Cloud Manager build process.

Package/Class Comments Deprecation Date Target Removal Date
org.apache.sling.commons.auth
org.apache.sling.commons.auth.spi
Use Sling's Auth Core / Auth Core SPI interfaces as an alternative 2015 7/30/21
org.apache.sling.runmode 2015 7/30/21
com.day.cq.jcrclustersupport Use Sling's Discovery API as an alternative 2015 7/30/21
org.apache.sling.settings AEM as a Cloud Service does not support run modes or file system access at runtime. 10/5/20 End of 2021
org.apache.fop.apps 3/1/21 6/1/21
org.apache.jackrabbit.vault.util.xml.xerces.dom
org.apache.jackrabbit.vault.util.xml.xerces.util
org.apache.jackrabbit.vault.util.xml.xerces.xni
org.apache.jackrabbit.vault.util.xml.xerces.xni.parser
3/5/21 6/6/21
org.json The Apache Johnzon implementation of javax.json is recommended and should be used. 4/30/21 12/31/21
org.apache.felix.cm
org.apache.felix.cm.file
Custom persistence managers are not supported in AEM as a Cloud Service. 4/30/21 7/30/21
org.apache.commons.lang
org.apache.commons.lang.enums
org.apache.commons.lang.builder
org.apache.commons.lang.exception
org.apache.commons.lang.math
org.apache.commons.lang.mutable
org.apache.commons.lang.reflect
org.apache.commons.lang.text
org.apache.commons.lang.time
Commons Lang 2 is in maintenance mode. Commons Lang 3 should be used instead. 4/30/21 12/31/21
org.apache.commons.collections
org.apache.commons.collections.bag
org.apache.commons.collections.bidimap
org.apache.commons.collections.buffer
org.apache.commons.collections.collection
org.apache.commons.collections.comparators
org.apache.commons.collections.functors
org.apache.commons.collections.iterators
org.apache.commons.collections.keyvalue
org.apache.commons.collections.list
org.apache.commons.collections.map
org.apache.commons.collections.set
Commons Collections 3 is in maintenance mode. Commons Collections 4 should be used instead. 4/30/21 12/31/21
org.apache.felix.systemready It is recommended you use the Apache Felix HealthCheck API instead 4/30/21 7/30/21
org.apache.felix.webconsole
org.apache.felix.webconsole.bundleinfo
org.apache.felix.webconsole.i18n
The Felix web console is not supported in Cloud environments 4/30/21 7/30/21
org.apache.felix.http.jetty
org.eclipse.jetty.http
org.eclipse.jetty.http.pathmap
org.eclipse.jetty.io
org.eclipse.jetty.io.ssl
org.eclipse.jetty.jmx
org.eclipse.jetty.security
org.eclipse.jetty.server
org.eclipse.jetty.server.handler
org.eclipse.jetty.server.handler.gzip
org.eclipse.jetty.server.handler.jmx
org.eclipse.jetty.server.jmx
org.eclipse.jetty.server.nio
org.eclipse.jetty.server.session
org.eclipse.jetty.servlet
org.eclipse.jetty.servlet.jmx
org.eclipse.jetty.servlet.listener
org.eclipse.jetty.util
org.eclipse.jetty.util.annotation
org.eclipse.jetty.util.component
org.eclipse.jetty.util.log
org.eclipse.jetty.util.preventers
org.eclipse.jetty.util.resource
org.eclipse.jetty.util.security
org.eclipse.jetty.util.ssl
org.eclipse.jetty.util.statistic
org.eclipse.jetty.util.thread
org.eclipse.jetty.util.thread.strategy
org.eclipse.jetty.webapp
org.eclipse.jetty.websocket.api
org.eclipse.jetty.websocket.api.annotations
org.eclipse.jetty.websocket.api.extensions
org.eclipse.jetty.websocket.api.util
org.eclipse.jetty.websocket.client
org.eclipse.jetty.websocket.client.io
org.eclipse.jetty.websocket.client.masks
org.eclipse.jetty.websocket.common
org.eclipse.jetty.websocket.common.events
org.eclipse.jetty.websocket.common.events.annotated
org.eclipse.jetty.websocket.common.extensions
org.eclipse.jetty.websocket.common.extensions.compress
org.eclipse.jetty.websocket.common.extensions.fragment
org.eclipse.jetty.websocket.common.extensions.identity
org.eclipse.jetty.websocket.common.frames
org.eclipse.jetty.websocket.common.io
org.eclipse.jetty.websocket.common.io.http
org.eclipse.jetty.websocket.common.io.payload
org.eclipse.jetty.websocket.common.message
org.eclipse.jetty.websocket.common.scopes
org.eclipse.jetty.websocket.common.util
org.eclipse.jetty.websocket.server
org.eclipse.jetty.websocket.server.pathmap
org.eclipse.jetty.websocket.servlet
org.eclipse.jetty.xml
org.eclipse.jetty.client
org.eclipse.jetty.client.api
org.eclipse.jetty.client.http
org.eclipse.jetty.client.jmx
org.eclipse.jetty.client.util
The Eclipse Jetty and Felix Http Jetty packages are no longer supported. 5/27/21 8/26/21
com.mongodb
com.mongodb.annotations
com.mongodb.assertions
com.mongodb.async
com.mongodb.binding
com.mongodb.bulk
com.mongodb.client
com.mongodb.client.gridfs
com.mongodb.client.gridfs.codecs
com.mongodb.client.gridfs.model
com.mongodb.client.jndi
com.mongodb.client.model
com.mongodb.client.model.changestream
com.mongodb.client.model.geojson
com.mongodb.client.model.geojson.codecs
com.mongodb.client.result
com.mongodb.connection
com.mongodb.connection.netty
com.mongodb.diagnostics.logging
com.mongodb.event
com.mongodb.gridfs
com.mongodb.internal
com.mongodb.internal.async
com.mongodb.internal.authentication
com.mongodb.internal.connection
com.mongodb.internal.dns
com.mongodb.internal.event
com.mongodb.internal.management.jmx
com.mongodb.internal.session
com.mongodb.internal.thread
com.mongodb.internal.validator
com.mongodb.management
com.mongodb.operation
com.mongodb.selector
com.mongodb.session
com.mongodb.util
Usage of this API is not supported in AEM as a Cloud Service. 5/27/21 7/30/21
org.apache.felix.metatype
org.apache.felix.scr
org.apache.felix.scr.info
The Apache Felix metatype and SCR APIs are deprecated. Please use the OSGi metatype and Declarative Service APIs instead. 5/27/21 8/26/21

On this page