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]