Can't access to corp. repo snapshots by mirroring central
---------------------------------------------------------

         Key: MNG-943
         URL: http://jira.codehaus.org/browse/MNG-943
     Project: Maven 2
        Type: Bug
  Components: maven-project  
    Versions: 2.0-beta-1    
 Reporter: Yann Le Du
    Priority: Critical


I have set a corp. repository, and want local users to use this repo to 
download latest corp. artifacts.

Altering the local settings.xml with
~   <mirror>
~     <mirrorOf>central</mirrorOf>
~     <url>http://repo.corp.com/maven/repository</url>
~   </mirror>
allows downloading only releases, not snapshots.

Adding a mirror for "snapshots" doesn't change anything.

For the moment, my workaround is  to alter each POM with these lines :
~   <repository>
~     <id>central</id>
~     <url>http://repo.corp.com/maven/repository</url>
~     <snapshotPolicy>always</snapshotPolicy>
~   </repository>


-- 
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