Got it. It would be nice though if lift-archetype-basic that generates a basic scala project would pull down the latest 1.0 version of lift-core. It currently pulls down 0.8 version which does not have lift-mapper, lift- util and other dependent jars defined and this causes some jars. For example, when I ran the following command from the lift-book it pulls down 0.8 version:
mvn archetype:generate -U -DgroupId=com.plexibus.examples.scala.lift - DartifactId=scala-example -Dversion=0.0.1-SNAPSHOT - DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype- basic -DremoteRepositories=http://scala-tools.org/repo-releases lift-core-0.8 pom.xml: <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-webkit</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-textile</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-facebook</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-amqp</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-xmpp</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-widgets</artifactId> <version>${project.version}</version> </dependency> </dependencies> lift-core-1.0 pom.xml: <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-util</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-webkit</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-mapper</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-machine</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-record</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-textile</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-facebook</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-amqp</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-xmpp</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lift-widgets</artifactId> <version>${project.version}</version> </dependency> </dependencies> And I agree with Kris, perhaps it should be changed to pom instead of jar. If you are ok with it, I would love to make the above suggested changes and submit them for commit/approval to the committers. Thanks, Rosh http://blogs.plexibus.com http://www.twitter.com/ras_shadow On Apr 1, 9:09 am, David Pollak <[email protected]> wrote: > That's right. The lift-core.jar file has never contained any classes. It's > a marker for Maven. lift-core depends on all the other Lift packages (e.g., > lift-util, lift-webket, etc.) so these other packages are included in your > project and they have classes in their jar files. > > > > On Wed, Apr 1, 2009 at 6:58 AM, Rosh <[email protected]> wrote: > > > I just started the learning scala and lift and was trying out the ToDo > > example. It seems that the lift-core artifact jar in the maven repo, > >http://scala-tools.org/repo-releases, is empty. I used the lift-basic- > > archetype which uses lift-core-0.8 jar. But the jar only contains the > > META-INF folder. No classes. Same with the 1.0 jar as well. The 0.6 > > jar contains > > > Does not contain any classes: > >http://scala-tools.org/repo-releases/net/liftweb/lift-core/0.8/ > > lift-core-0.8.jar 2008-Nov-24 23:39:51 1.4K > > application/java-archive > > >http://scala-tools.org/repo-releases/net/liftweb/lift-core/1.0/ > > lift-core-1.0.jar 2009-Feb-26 18:09:39 1.5K > > application/java-archive > > > Contains classes: > > Underhttp://scala-tools.org/repo-releases/net/liftweb/lift-core/0.6: > > lift-core-0.6.jar 2008-Nov-24 23:40:15 3.6M > > application/java-archive > > > Am I missing something? I know I haven't had my morning coffee yet. > > > Thanks, > > Rosh > >http://blogs.plexibus.com > >http://www.twitter.com/ras_shadow > > -- > Lift, the simply functional web frameworkhttp://liftweb.net > Beginning Scalahttp://www.apress.com/book/view/1430219890 > Follow me:http://twitter.com/dpp > Git some:http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
