Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Reading, Creating, Building, and Installing AEM Packages through the Java API | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

Reading, Creating, Building, and Installing AEM Packages through the Java API by Shiv Prakash

Abstract

Objective
After reading this Article, You should have an Understanding of –

Reading the existing package through JcrPackageManager.
Creating, building, and installing packages through a Java API.
Introduction
In AEM Development, we mostly come across the situation of having to deal with the AEM Package with Java Code. For example, you have to archive the content available in a folder daily and store it in cloud storage. In this case, you can create a package and send it to cloud storage through the Java API. Another case may be to read the package to get the content path. So we will cover all the approaches to creating, reading, installing, building, and uploading features of the package through the Java API.

Hence, without any further delay, let’s get started:

Dependency to use Package Manager API
Dependency in core pom.xml



org.apache.jackrabbit.vault
org.apache.jackrabbit.vault
3.2.8

Read Full Blog

Reading, Creating, Building, and Installing AEM Packages through the Java API

Q&A

Please use this thread to ask the related questions.

0 Replies

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now