Skip to main content
Level 2
Oct 9, 2024 4:55 PM UTC
Solved

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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
Community Advisor
Oct 15, 2024 11:48 AM UTC

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

Maybe the fallback is public repo.

Arun Patidar

3 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
Oct 15, 2024 11:48 AM UTC

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

Maybe the fallback is public repo.

Translate
Arun Patidar
Level 2
Oct 22, 2024 2:21 PM UTC

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.

Translate
kautuk_sahni
Level 9
Oct 16, 2024 10:41 AM UTC

@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!

Translate
Kautuk Sahni