Expand my Community achievements bar.

SOLVED

How to point it.tests maven module to point to private local repo aemaacs

Avatar

Level 2

Hi,

We are in AEM as a cloud service. We pointed the maven to download from the private local client central repository by configuring the intranet repo url in the project pom for both custom id and the central id under the repositories tag. From the logs, we observed most of the modules download from the private repository when we run the pipeline after the change.

However, the it.tests module maven log still shows it downloads from the public central maven repository for example,

Downloading from central: https://repo.maven.apache.org/maven2/junit/junit/4.13.1/junit-4.13.1.pom

 

But the project workspace does not show any references to the search "repo.maven.apache.org" . Can you throw some pointers on this as how to override it.tests to point to private central repo for the download of jar files.

 

Thanks,

S

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Correct answer by
Community Advisor

Hi @SrinivasanPa1 
Please check https://www.netcentric.biz/insights/2020/08/private-repository-cloud-manager

Maybe the fallback is public repo.



Arun Patidar

Avatar

Level 2

Thanks Arun. May be, but I don't have access to modify cloud pipeline related commands. Since we did not use it.tests module and it did not impact the build, I removed it from the codebase to rectify the issue.

Avatar

Administrator

@SrinivasanPa1 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni