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.
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