Search code examples
javascalamavensbtjmonkeyengine

Download jMonkeyEngine using SBT


I am trying to use jMonkeyEngine 3 with Scala (using IntelliJ as an IDE, in a SBT driven Scala project). As Maven distribution was added few months ago, I try to pull the JME from this maven repository. This is what I have added into my build.sbt file:

resolvers += Resolver.sonatypeRepo("snapshots")

libraryDependencies += "com.jme3" % "jmonkeyengine3" % "3.0.0.20140325-SNAPSHOT"

The only jar downloaded jmonkeyengine3-3.0.0.20140325-SNAPSHOT.jar seems to contain the tests only (folder jme3test), not the JME libraries itself. What needs to be added to that they are downloaded as well?


Solution

  • Check their pom.xml. It seems, that jmonkeyengine3 just contains demo classes. And you need to download additional dependencies. Also, using of Maven dependency is not recommended. They recommend to use SDK installer instead.