How to set up the Adobe Maven Repository

Description

Environment
Experience Manager

Issues/Symptoms
How to set up my maven settings in order to download Adobe/AEM related artifacts.

Resolution

  1. Find the settings.xml file to add the Adobe Public Profile:

    • Windows: C:\Users\My User.m2\settings.xml
    • macOS / Linux: /.m2/settings.xml
  2. Add the following profile to the maven settings.xml:

!-- ====================================================== --
!-- A D O B E   P U B L I C   P R O F I L E                --
!-- ====================================================== --
profile
    idadobe-public/id

    activation
        activeByDefaulttrue/activeByDefault
    /activation

    properties
        releaseRepository-Idadobe-public-releases/releaseRepository-Id
        releaseRepository-NameAdobe Public Releases/releaseRepository-Name
        releaseRepository-URLhttps://repo.adobe.com/nexus/content/groups/public/releaseRepository-URL
    /properties

    repositories
        repository
            idadobe-public-releases/id
            nameAdobe Public Repository/name
            urlhttps://repo.adobe.com/nexus/content/groups/public/url
            releases
                enabledtrue/enabled
                updatePolicynever/updatePolicy
            /releases
            snapshots
                enabledfalse/enabled
            /snapshots
        /repository
    /repositories

    pluginRepositories
        pluginRepository
            idadobe-public-releases/id
            nameAdobe Public Repository/name
            urlhttps://repo.adobe.com/nexus/content/groups/public/url
            releases
                enabledtrue/enabled
                updatePolicynever/updatePolicy
            /releases
            snapshots
                enabledfalse/enabled
            /snapshots
        /pluginRepository
    /pluginRepositories
/profile

Note: repo.adobe.com is currently not configured to be browsable with a normal browser, but maven use only. If the settings.xml file is missing, download the below file and place it in the user’s .m2 directory (unzip the zip to obtain the xml file): DOWNLOAD Get file

On this page