> -----Original Message----- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: mercredi 30 août 2006 01:56 > To: Maven Developers List > Subject: Re: Failing to build 2.1 snapshot from trunk > > > On 30/08/2006, at 5:32 AM, Vincent Massol wrote: > > Brett, don't you think it would help adding the snapshot repo to > > the top > > level pom.xml in trunk? > > Which snapshot repo? The apache one is already in the parent POM.
Hmmm strange. It started working for me after I added and activated the following in my settings.xml: <profile> <id>apache</id> <repositories> <repository> <id>apache.snapshots</id> <name>Maven Snapshots</name> <url>http://people.apache.org/maven-snapshot-repository</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>apache.snapshots</id> <name>Maven Plugin Snapshots</name> <url>http://people.apache.org/maven-snapshot-repository</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> <profile> <id>codehaus</id> <pluginRepositories> <pluginRepository> <id>codehaus.plugin.snapshots</id> <name>CodeHaus Plugin Snapshots</name> <url>http://snapshots.maven.codehaus.org/maven2</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> Thus if the people.apache.org one is already there (haven't checked) then it must be the codehaus one that made it work... > There's something else going on here (bearing in mind that this is > working just fine in the clean room build after it gets over the > ibiblio hiccups). I tried it (bootstrap.bat) 3 times without this change in my settings.xml and it failed consistently on the 2.3-SNAPSHOT dependency not found. Then I modified my settings.xml as shown above and it immediately worked. Thanks -Vincent p2.vert.ukl.yahoo.com uncompressed Wed Aug 30 06:27:00 GMT 2006 ___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]