This is the flaw in Maven I am constantly ranting about: dependency of build on server content.
That is because of ranges in versions and snapshot dependencies for system stuff (plugins). Mavenâs dependencies resolver should be really thrown away and replaced by something decent like IVY. It is not perfect, but way better than dependencies resolver in Maven. So the thing you have IMO is how the dependencies have to be specified: as hardcoded versions. There however should be a command to update those versions (semi)-automatically. Pretty much the same way everything else works: use the specified versions till user explicitly and selectively demands âupdateâ. --- Josh Long <[EMAIL PROTECTED]> wrote: > Im not sure if anyone else has experienced the same > thing, but... > > On my windows laptop (at home) yesterday around 6 pm > i was testing > code and workng just fine on a tapestry 4.1 app. i > ran mvn on it and > everything was fine. then i got home after a roudy > night at 1 am and > found that mvn jetty6:run didnt work (to my chagrin) > and this was, i > suspect because some scandalous change was > introduced, and the error i > got was something about a WebApp getclasspathurl... > > > anyway, > > I then took a look at the timetracker app in svn > this morning. i ran > mvn install on all of the examples, and > particularly, i cd'ed into > TimeTracker and ran mvn jetty6:run and ran into the > same issue becaue > the jetty6 plugin was specified as snapshot (as it > had been in my > project last night). ... > > Long story short: if you run into this problem, > modify the pom to use > > <groupId>org.mortbay.jetty</groupId> > > <artifactId>maven-jetty6-plugin</artifactId> > <version>6.0.0beta17</version> > > instead of the snapshot. its a workaround, not a > solution, but i > thought id spare someone the 10 mins of stuper... > > Josh > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Konstantin Ignatyev PS: If this is a typical day on planet earth, humans will add fifteen million tons of carbon to the atmosphere, destroy 115 square miles of tropical rainforest, create seventy-two miles of desert, eliminate between forty to one hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of CFCs to the stratosphere, and increase their population by 263,000 Bowers, C.A. The Culture of Denial: Why the Environmental Movement Needs a Strategy for Reforming Universities and Public Schools. New York: State University of New York Press, 1997: (4) (5) (p.206) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
