Matt Raible-3 wrote:
> 
> Hmmm, can Maven even build itself?! ;-)
> 
> 222:~/dev/maven-plugins mraible$ mvn install
> [INFO] Scanning for projects...
> [INFO] snapshot org.apache.maven.plugins:maven-plugins:2-SNAPSHOT:
> checking for updates from apache.snapshots
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-plugins/2-SNAPSHOT/maven-plugins-2-20060822.131811-5.pom
> 6K downloaded
> [INFO] snapshot org.apache.maven:maven-parent:4-SNAPSHOT: checking for
> updates from apache.snapshots
> [INFO] snapshot org.apache.maven:maven-parent:4-SNAPSHOT: checking for
> updates from codehaus.org
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/maven-parent/4-SNAPSHOT/maven-parent-4-20060822.161338-4.pom
> 9K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/3/maven-plugins-3.pom
> 6K downloaded
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to build project
> '/Users/mraible/Work/maven-plugins/maven-plugin-plugin/pom.xml; it
> requires Maven version 2.0.5-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Thu Sep 14 22:32:15 CDT 2006
> [INFO] Final Memory: 4M/508M
> [INFO]
> ------------------------------------------------------------------------
> 222:~/dev/maven-plugins mraible$
> 
> 
> On 9/14/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>> On 9/14/06, Matt Raible <[EMAIL PROTECTED]> wrote:
>> > This almost worked - in that I was able to checkout both projects and
>> > install them.  Unfortunately, I still get the following error:
>> ...
>> > [ERROR] FATAL ERROR
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO] Failed to resolve artifact.
>> >
>> > GroupId: org.apache.maven.plugins
>> > ArtifactId: maven-plugins
>> > Version: 2-SNAPSHOT
>> >
>> > Reason: Unable to download the artifact from any repository
>> >
>> >   org.apache.maven.plugins:maven-plugins:pom:2-SNAPSHOT
>>
>> Strange, I wonder why it wants 2-SNAPSHOT.
>>
>> The version on the trunk is 4-SNAPSHOT:
>>    http://svn.apache.org/repos/asf/maven/plugins/trunk/pom.xml
>>
>> You can temporarily put the apache.snapshots repository in
>> settings.xml so Maven can find the older version:
>>
>> <repository>
>> <id>apache.snapshots</id>
>> <name>Apache Snapshot Repository</name>
>> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
>> <releases><enabled>false</enabled></releases>
>> </repository>
>>
>> I wouldn't leave this in settings.xml permanently, or you'll
>> experience the reverse of your current problem.  Things will build
>> fine for you, and no one else. :)
>>
>> --
>> Wendy
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

Good day to you, Matt,

Sorry, I forgot to mention that the latest parent poms are not the versions
your checkout is looking for (like wendy, I also don't know why). On top of
my head, I can think of 3 solutions to your problem:

1. Temporarily change the version of the parent pom's that you check out so
that they would match each other (i do not recommend this though)
2. Update to a revision wherein the parent pom's version matches those that
you need, or
3. Try to search for those parent's from [1].

If you want, you can try and do #3 first. But if you can't find it there,
you can for #2. Last resort would be #1.

Cheers, 
Franz

[1] http://people.apache.org/maven-snapshot-repository/
-- 
View this message in context: 
http://www.nabble.com/Building-maven-plugins-project-tf2272453.html#a6318876
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to