How to set up the Adobe Maven Repository
Last update: November 21, 2023
This article will help you learn about setting up the Adobe Maven Repository.
Description
Environment
Adobe Experience Manager (AEM)
Issue/Symptoms
How to set up my maven settings in order to download Adobe/AEM related artifacts.
Resolution
-
Find the
settings.xml
file to add the Adobe Public Profile:- Windows:
C:\Users\My User\.m2\settings.xml
- macOS / Linux:
/.m2/settings.xml
- Windows:
-
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>
<id>adobe-public</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<releaseRepository-Id>adobe-public-releases</releaseRepository-Id>
<releaseRepository-Name>Adobe Public Releases</releaseRepository-Name>
<releaseRepository-URL>https://repo.adobe.com/nexus/content/groups/public</releaseRepository-URL>
</properties>
<repositories>
<repository>
<id>adobe-public-releases</id>
<name>Adobe Public Repository</name>
<url>https://repo.adobe.com/nexus/content/groups/public</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>adobe-public-releases</id>
<name>Adobe Public Repository</name>
<url>https://repo.adobe.com/nexus/content/groups/public</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</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
3d58f420-19b5-47a0-a122-5c9dab55ec7f