Cannot use Apache Archiva as a mirror

I think it was a simple task, but I could not complete it.

I installed the archive repository like this:

  • 2 Maven1 internal repositories (old projects)
  • 1 Maven2 Internal Repository
  • 7 Remote repositories (central, java.net, jboss.org, etc.).

For each internal repo, I created a proxy connection to each remote repo.

I added a new mirror to the settings.xml file, as described in the archive documentation:

<mirror>
  <id>archiva.default</id>
  <url>http://repo.mycompany.com:8080/archiva/repository/internal/</url>
  <mirrorOf>*</mirrorOf>
</mirror>

When I try to create a simple project with one dependency on some remote repositories, no artifacts are loaded. Why?!?

Thanks for any help.

+3
source share
2 answers

Archiva - . Maven ( , internal), , , - , -. Central - , -.

, , , - . , .

, ( maven 1, maven 2) URL-.

+4

Archiva 2, , " " Guest.

+3

Source: https://habr.com/ru/post/1766403/


All Articles