> > - tried to create a lift blank app with 2.0-snapshot, adapting the > > archetype:generate command from the book as required > > Try to show the complete command. Or look in the ML for commands that > work with 2.0-SNAPSHOT
So I tried two things - type mvn archetype:generate and then follow the command prompts to fill up the different properties (this didn't work) type in the following command directly (it works) mvn archetype: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=2.0- SNAPSHOT This gives me a pom.xml with 2.7.3 (how do I by default get it to 2.7.7 instead of modifying it everytime) ? > > - once that is done, I modify the version of scala in my pom.xml > > - then I type 'mvn jetty:run' > > - somehow maven still downloads *both* the 2.7.1 and 2.7.7 versions of > > scala, and I get the warning that both of them exist > > This sounds bad.... I went to my local .m2 folder, and removed all scala related folders by hand. With the new command, I have versions 2.7.3 and 2.7.7 (still doesn't solve the problem of multiple scala versions) > You may have old code laying around. If code mysteriously fails, "mvn > clean" is your friend. Try; mvn clean jetty:run I actually removed the complete directory and redid everything. Somehow, it seems to work now, but still doesn't explain why the first type of command did not work. > /Jeppe Manohar -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
