Expand my Community achievements bar.

SOLVED

Adobe Experience Manager Repositories Update 6.3 & 6.4

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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