That's ok - I must have missed it on the users list. How was this working for you in alpha-3?
- Brett Yann Le Du wrote: >Thank you Brett, > >Sorry for having filed in JIRA, but I did so because : >* this scenario was working in alpha-3 >* I couldn't get a clue on the user list > >Using a root POM is OK for me. > >Yann > > > >--- "Brett Porter (JIRA)" <[EMAIL PROTECTED]> a écrit : > > > >> [ http://jira.codehaus.org/browse/MNG-943?page=all ] >> >>Brett Porter closed MNG-943: >>---------------------------- >> >> Assign To: Brett Porter >> Resolution: Won't Fix >> >>you need to add a repository to your pom declaring where your corp snapshots >>are stored. there are no snapshots on "central". >> >>You should create a single POM for the company that is the "root" that all >>projects inherit from if you want to share it. >> >> >> >>>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 >>> Assignee: Brett Porter >>> 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] >> >> >> >> > > > > > > > >___________________________________________________________________________ >Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger >Téléchargez cette version sur http://fr.messenger.yahoo.com > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
