What will be url for the archiva central repository?

787 views Asked by At

In an example how to configure apache archiva this code should be added to the settings.xml ..but the url is not working what to do ?

            <mirror>
        <id>archiva.central</id>
        <url>http://192.168.1.7:8081/archiva/repository/internal</url>
        <mirrorOf>central</mirrorOf>
    </mirror>
1

There are 1 answers

1
Christopher Klewes On

The archiva documentation /internal/ points to the repository which is default configured to proxy the maven central repository. They use it with a trailing slash, maybe this helps you?

Is the URL accessible via web browser? Did you also add the repository to your POM?