Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

2 required artifacts missing for lift-archetype-basic #58

Closed
awhitford opened this Issue · 4 comments

3 participants

Anthony Whitford David Pollak github-importer
Anthony Whitford

Following chapter 2 instructions here: http://liftweb.net/docs/StartingWithLift.pdf
I tried to create a sample project based on the lift-archetype-basic. Then, when I try to compile it (mvn clean package), I get 2 required artifacts missing: org.igniterealtime.smack:smack:jar:3.1.0 and org.igniterealtime.smack:smackx:jar:3.1.0. These look like transitive dependencies from net.liftweb:lift-xmpp:jar.

Note that I tried archetype 1.0 and 1.1-M4. If you expect these archetypes to work, I suggest making these required archetypes available in either the central repository, or in scala-tools.

Also a little surprised that lift-xmpp is a required transitive dependency of lift-core. I'm thinking that I would want to create a lift web app without XMPP, so bringing in that dependency by default seems a little odd to me. Maybe excluding it or marking it as optional would be prudent.

Anthony Whitford

My workaround is to exclude the lift-xmpp dependency, like:

<dependency>
  <groupId>net.liftweb</groupId>
  <artifactId>lift-core</artifactId>
  <version>1.1-M4</version>
  <exclusions>
    <exclusion>
        <groupId>net.liftweb</groupId>
        <artifactId>lift-xmpp</artifactId>
    </exclusion>
  </exclusions>
</dependency>
David Pollak
Owner
dpp commented

lift-core is "all of Lift".

If you build your project off lift-webkit, you will get all the Lift you need.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.