Hi, When trying to use the new archetype plugin (2.0-alpha-4), the new version wouldn't resolve, even when I specified the -cpu command line option.
I found a post with the following work-around: >>> FYI - I had to specify the full name to get it to work: ./apache-maven-2.0.10/bin/mvn -e org.apache.maven.plugins:maven- archetype-plugin:2.0-alpha-4:generate -U - DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype- blank -DarchetypeVersion=1.0 -DremoteRepositories=http://scala-tools.org/repo-releases-DgroupId=demo.helloworld - DartifactId=helloworld -Dversion=1.0-SNAPSHOT >>> After that I checked the metadata files on my local repo and found that they were not updated even although I had specified -cpu. I manually deleted the files and reran the unqualified command which then worked successfully. del ...m2\repository\org\apache\maven\plugins\maven-archetype-plugin\maven-metadata* I am running on mvn-2.2.1, Windows XP, I previously had maven-archetype-plugin:1.0-alpha-4 installed. Is this a bug with the -cpu option? Neil.
