You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Venkat Muthusamy <vm...@gmail.com> on 2005/12/20 20:54:15 UTC

How to override the maven central repository completely

Hi,



I like to maintain our own internal repository instead of
http://repo1.maven.org/maven2 due to some restrictions.


I created internal server and downloaded necessary plugins and directory
structures same as http://repo1.maven.org/maven2. I updated the pom file
repository setting as follows. But it is still goes to look in to
http://repo1.maven.org/maven2.


  <repository>

   <id>central</id>

   <name>central</name>

   <url>http://PHX51682:8080/mvn/</url>

   <layout>default</layout>

  </repository>



I like to know how to override the central repository.



Thanks in advance
Venkat M

Re: How to override the maven central repository completely

Posted by Allan Ramirez <ar...@exist.com>.
Hi,

AFAIK, that is the right way on overriding central repository, try to 
check  if central repository is declared in your settings.xml?

-allan

Venkat Muthusamy wrote:

>Hi,
>
>
>
>I like to maintain our own internal repository instead of
>http://repo1.maven.org/maven2 due to some restrictions.
>
>
>I created internal server and downloaded necessary plugins and directory
>structures same as http://repo1.maven.org/maven2. I updated the pom file
>repository setting as follows. But it is still goes to look in to
>http://repo1.maven.org/maven2.
>
>
>  <repository>
>
>   <id>central</id>
>
>   <name>central</name>
>
>   <url>http://PHX51682:8080/mvn/</url>
>
>   <layout>default</layout>
>
>  </repository>
>
>
>
>I like to know how to override the central repository.
>
>
>
>Thanks in advance
>Venkat M
>
>  
>
>------------------------------------------------------------------------
>
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.371 / Virus Database: 267.14.1/206 - Release Date: 12/16/2005
>  
>