The codehaus one is wrong and must be removed. Please see the message I posted to [EMAIL PROTECTED]

It's possible you weren't getting the right parent since only recently was the version corrected. I assume you have the latest SVN update, but those repos are definitely in the parent.

You should not be getting a snapshot version of plugins from a clean repo - as simple as that.

Sorry, but you're going to need to debug this one since we can't reproduce it it seems...

- Brett

On 30/08/2006, at 5:12 PM, Vincent Massol wrote:



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

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

Reply via email to