How to point it.tests maven module to point to private local repo aemaacs | Community
Skip to main content
Level 2
October 9, 2024
Solved

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

  • October 9, 2024
  • 2 replies
  • 704 views

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.
Best answer by arunpatidar

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

Maybe the fallback is public repo.

2 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
October 15, 2024
Arun Patidar
Level 2
October 22, 2024

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.

kautuk_sahni
Community Manager
Community Manager
October 16, 2024

@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