Rare scenario

Occasionally, when building and deploying an AEM project, you may need to install a third-party bundle or jar or package that is not available in the Maven Central Repository or the Adobe Public Repository.

The reasons could be:

  • The bundle or package is provided by an internal team or third-party vendor and is not available in the public Maven repository.

  • The Java™ jar file is not an OSGi bundle and may or may not be available in the public Maven repository.

  • You need a feature that is not yet released in the latest version of the third-party package available in the public Maven repository. You decided to install the locally built RELEASE or SNAPSHOT version.

Prerequisites

To follow this tutorial, you need:

Set-up

  • Set up the AEM 6.X or AEM as a Cloud Service (AEMCS) local development environment or RDE environment.

  • Clone and deploy the AEM WKND project.

    $ git clone git@github.com:adobe/aem-guides-wknd.git
    $ cd aem-guides-wknd
    $ mvn clean install -PautoInstallPackage
    

    Verify the WKND site pages render correctly.