But not for me :-) I just removed ~/.m2/repository/org/apache/wicket and it cannot find the jars
Reasons: 1) there is no <repositories> in the pom.xml 2) there is no non-timestamped .jar at https://repository.apache.org/content/repositories/snapshots/org/apache/wicket/wicket-core/1.5-SNAPSHOT/and it fails with Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/wicket/wicket-core/1.5-SNAPSHOT/wicket-core-1.5-SNAPSHOT.pom [WARNING] The POM for org.apache.wicket:wicket-core:jar:1.5-SNAPSHOT is missing, no dependency information available Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/wicket/wicket-core/1.5-SNAPSHOT/wicket-core-1.5-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.285s [INFO] Finished at: Mon Jan 17 20:10:33 CET 2011 [INFO] Final Memory: 3M/86M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project myproject: Could not resolve dependencies for project com.mycompany:myproject:war:1.0-SNAPSHOT: Could not find artifact org.apache.wicket:wicket-core:jar:1.5-SNAPSHOT in Apache Nexus (https://repository.apache.org/content/repositories/snapshots/) -> [Help 1] investigating ... On Mon, Jan 17, 2011 at 8:15 PM, Jeremy Thomerson <[email protected] > wrote: > This fixed the 1.5-SNAPSHOT quickstart problem- thanks! > > On Mon, Jan 17, 2011 at 12:54 PM, <[email protected]> wrote: > > > Author: mgrigorov > > Date: Mon Jan 17 18:54:55 2011 > > New Revision: 1060043 > > > > URL: http://svn.apache.org/viewvc?rev=1060043&view=rev > > Log: > > Use Apache Nexus repo for -SNAPSHOT versions of the quickstart > > > > > > Modified: > > wicket/common/site/trunk/_site/start/quickstart.html > > wicket/common/site/trunk/start/quickstart.md > > > > Modified: wicket/common/site/trunk/_site/start/quickstart.html > > URL: > > > http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/start/quickstart.html?rev=1060043&r1=1060042&r2=1060043&view=diff > > > > > ============================================================================== > > --- wicket/common/site/trunk/_site/start/quickstart.html (original) > > +++ wicket/common/site/trunk/_site/start/quickstart.html Mon Jan 17 > > 18:54:55 2011 > > @@ -177,7 +177,7 @@ > > else > > cmd = 'mvn archetype:generate > > -DarchetypeGroupId=org.apache.wicket > > -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=' + > > version + ' -DgroupId=' + groupId + ' -DartifactId=' + artifactId; > > > > - if (version.match(/.*SNAPSHOT/)) cmd += ' > > -DarchetypeRepository=http://wicketstuff.org/maven/repository/'; > > + if (version.match(/.*SNAPSHOT/)) cmd += ' > > -DarchetypeRepository= > > https://repository.apache.org/content/repositories/snapshots/'; > > cmd += ' -DinteractiveMode=false'; > > document.getElementById("cmdLine").value = cmd; > > } > > > > Modified: wicket/common/site/trunk/start/quickstart.md > > URL: > > > http://svn.apache.org/viewvc/wicket/common/site/trunk/start/quickstart.md?rev=1060043&r1=1060042&r2=1060043&view=diff > > > > > ============================================================================== > > --- wicket/common/site/trunk/start/quickstart.md (original) > > +++ wicket/common/site/trunk/start/quickstart.md Mon Jan 17 18:54:55 > 2011 > > @@ -52,7 +52,7 @@ typing in the groupId, artifactId and ve > > else > > cmd = 'mvn archetype:generate > > -DarchetypeGroupId=org.apache.wicket > > -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=' + > > version + ' -DgroupId=' + groupId + ' -DartifactId=' + artifactId; > > > > - if (version.match(/.*SNAPSHOT/)) cmd += ' > > -DarchetypeRepository=http://wicketstuff.org/maven/repository/'; > > + if (version.match(/.*SNAPSHOT/)) cmd += ' > > -DarchetypeRepository= > > https://repository.apache.org/content/repositories/snapshots/'; > > cmd += ' -DinteractiveMode=false'; > > document.getElementById("cmdLine").value = cmd; > > } > > > > > > > > > -- > Jeremy Thomerson > http://wickettraining.com > *Need a CMS for Wicket? Use Brix! http://brixcms.org* >
