[ http://jira.codehaus.org/browse/MNG-479?page=comments#action_42738 ] 

John Casey commented on MNG-479:
--------------------------------

Actually, I disagree. I believe that this could be a very useful feature in 
certain circumstances. For example, if a company wishes to have ultimate 
control over what is and isn't used in their projects (whether for security, 
IP, or other reasons), then a logical first step might be to run m2 in an 
isolated environment and never access the default central repository. In this 
case, they would even mirror those artifacts found on ibiblio that they want to 
use - perhaps after somehow vetting them for security or IP concerns. If we 
disallow overriding of the central repository, then the best experience they 
can expect is to have error after error in their build process because they 
have a firewall or router that blocks connections to ibiblio.

There are perfectly valid use cases for not using the default central 
repository.

> unable to override the default central repository
> -------------------------------------------------
>
>          Key: MNG-479
>          URL: http://jira.codehaus.org/browse/MNG-479
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0-alpha-2
>  Environment: WinXP
>     Reporter: Edwin Punzalan
>     Assignee: John Casey
>     Priority: Minor
>      Fix For: 2.0-beta-1

>
>
> Adding to my pom.xml:
> ....
>     <repositories>
>         <repository>
>             <id>central</id>
>             <name>custom repository</name>
>             <url>http://maven.company.com/maven2</url>
>         </repository>
>     </repositories>
> ....
> did not override the central repository but instead uses the above configured 
> repository as backup/mirror.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to