You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2013/06/02 14:18:03 UTC

[jira] (ARCHETYPE-442) Maven keeps connecting to http://repo1.maven.org even with mirrors

     [ https://jira.codehaus.org/browse/ARCHETYPE-442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte moved MNG-5284 to ARCHETYPE-442:
-----------------------------------------------

           Complexity:   (was: Intermediate)
          Component/s:     (was: Dependencies)
    Affects Version/s:     (was: 3.0.4)
                  Key: ARCHETYPE-442  (was: MNG-5284)
              Project: Maven Archetype  (was: Maven 2 & 3)
    
> Maven keeps connecting to http://repo1.maven.org even with mirrors
> ------------------------------------------------------------------
>
>                 Key: ARCHETYPE-442
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-442
>             Project: Maven Archetype
>          Issue Type: Bug
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000)
> Maven home: C:\Program Files\apache-maven-3.0.4
> Java version: 1.6.0_22, vendor: Sun Microsystems Inc.
> Java home: C:\Progra~1\Java\jdk1.6.0_22\jre
> Default locale: pt_PT, platform encoding: Cp1252
> OS name: "windows server 2008 r2", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Rafael Pato
>            Priority: Critical
>         Attachments: settings.xml
>
>
> I created a mirror in setting.xml , for every connection , to connect to my local repo in Artifactory . It works! But when the generate action starts Maven connects to http://repo1.maven.org:
> {code}
> <!-- ***** BEFORE THE GENERATE, MAVEN USES MIRROR ********* -->
> [DEBUG] Using mirror ibiblio.org (http://localhost:8081/artifactory/remote-widesys-libs) for central (http://localhost:8081/artifactory/remote-widesys-libs).
> [DEBUG] Using mirror remote-widesys-libs (http://localhost:8081/artifactory/remote-widesys-libs) for snapshots (http://localhost:8081/artifactory/remote-widesys-libs).
> [DEBUG] Extension realms for project org.apache.maven:standalone-pom:pom:1: (none)
> [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
> [DEBUG] Resolving plugin prefix archetype from [org.apache.maven.plugins, org.codehaus.mojo]
> [DEBUG] Using mirror remote-widesys-libs (http://localhost:8081/artifactory/remote-widesys-libs) for apache.snapshots (http://repository.apache.org/snapshots).
> [DEBUG] Using mirror remote-widesys-libs (http://localhost:8081/artifactory/remote-widesys-libs) for apache.snapshots (http://repository.apache.org/snapshots).
> [DEBUG] Using mirror remote-widesys-libs (http://localhost:8081/artifactory/remote-widesys-libs) for apache.snapshots (http://repository.apache.org/snapshots).
> [DEBUG] Using mirror remote-widesys-libs (http://localhost:8081/artifactory/remote-widesys-libs) for apache.snapshots (http://repository.apache.org/snapshots).
> [DEBUG] Using mirror remote-widesys-libs (http://localhost:8081/artifactory/remote-widesys-libs) for apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository).
> [DEBUG] Using mirror remote-widesys-libs (http://localhost:8081/artifactory/remote-widesys-libs) for codehaus.org (http://snapshots.repository.codehaus.org).
> [DEBUG] Using mirror remote-widesys-libs (http://localhost:8081/artifactory/remote-widesys-libs) for apache.snapshots (http://repository.apache.org/snapshots).
> [DEBUG] Using mirror remote-widesys-libs (http://localhost:8081/artifactory/remote-widesys-libs) for apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository).
> [DEBUG] Using mirror remote-widesys-libs (http://localhost:8081/artifactory/remote-widesys-libs) for apache.snapshots (http://repository.apache.org/snapshots).
> <!-- ***** AFTER THE GENERATE, MAVEN DOESN'T USE MIRROR ********* -->
> [INFO] Generating project in Batch mode
> [DEBUG] Searching for remote catalog: http://repo1.maven.org/maven2/archetype-catalog.xml
> [DEBUG] Searching for remote catalog: http://repo1.maven.org/maven2
> {code}
> And btw, I'm using mirrors and I've overwrited the central repo with my local repo.
> I've searched the whole Internet for ways to disable connections to http://repo1.maven.org but this keeps happening... 
> You can consult my settings.xml in the attachments

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira