使用SBT下载jMonkeyEngine [英] Download jMonkeyEngine using SBT
问题描述
我正在尝试将 jMonkeyEngine 3与Scala一起使用(在SBT驱动的Scala项目中使用IntelliJ作为IDE) .由于 Maven发行版是在几个月前添加的,因此我尝试从中提取JME Maven存储库.这是我添加到build.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"
下载的唯一jar文件jmonkeyengine3-3.0.0.20140325-SNAPSHOT.jar
似乎仅包含测试(文件夹jme3test),而不包含JME库本身.下载它们还需要添加什么?
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?
推荐答案
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.
这篇关于使用SBT下载jMonkeyEngine的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!