Adobe Experience Manager Repositories Update 6.3 & 6.4

rockie-rocafort

31-01-2019

I would just like to ask a question regarding repositories and plugin repositories in AEM? I have a project that works perfectly in both AEM 6.3 and 6.4. Although I've updated the pom.xml and added the below snippet for the 6.4 instance. As I've checked, there were no differences with the functionalities, even if I've added the snippet or not. I'm still new to AEM and was a bit confused about the usage of this repository section. Is there anything particularly that I have to check to verify this? I would just like to check the impact of adding this.

<repositories>

        <repository>

            <id>adobe-public-releases</id>

            <name>Adobe Public Repository</name>

            <url>https://repo.adobe.com/nexus/content/groups/public/</url>

            <layout>default</layout>

        </repository>

        <repository>

            <id>apache-intermediate-release</id>

            <name>Apache Intermediate Release Repository</name>

            <url>http://wcm.io/maven/repositories/apache-intermediate-release/</url>

            <layout>default</layout>

        </repository>

    </repositories>

    <pluginRepositories>

        <pluginRepository>

            <id>adobe-public-releases</id>

            <name>Adobe Public Repository</name>

            <url>https://repo.adobe.com/nexus/content/groups/public/</url>

            <layout>default</layout>

        </pluginRepository>

        <pluginRepository>

            <id>apache-intermediate-release</id>

            <name>Apache Intermediate Release Repository</name>

            <url>http://wcm.io/maven/repositories/apache-intermediate-release/</url>

            <layout>default</layout>

        </pluginRepository>

    </pluginRepositories>

Thank you for any insights regarding this.

Accepted Solutions (1)

Accepted Solutions (1)

Gaurav-Behl

MVP

31-01-2019

The usage of this section is to download the dependencies mentioned under <dependencyManagement> in pom.xml along with transitive dependencies. The downloaded files get saved into .m2 folder on your local machine (which is configurable).

Once you have all the dependencies downloaded and you don't make any changes to the code, it would not download the files again n again each time.

If you want to check the impact, go ahead and take a backup of local .m2 folder or simply delete it and then build the project using mvn cmd. If you have mentioned the repositories from where to download, the build would succeed else fail.

Ideally, this section should be present, you may check that fallback is in settings.xml under .m2 folder

Answers (0)