Including slick2d or slick-util in maven build?
Posted
by
BotskoNet
on Game Development
See other posts from Game Development
or by BotskoNet
Published on 2013-08-29T02:24:51Z
Indexed on
2014/08/21
22:28 UTC
Read the original article
Hit count: 353
I'm converting a project to lwjgl and trying to use slick-util as well. There's no slick-util maven repo anywhere (nor slick2d itself anymore). I've included local dependancies before using
<dependency>
<groupId>org.newdawn</groupId>
<artifactId>slick</artifactId>
<version>237</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/slick-util.jar</systemPath>
</dependency>
The maven package process runs without issue, but when I try to run the jar, it errors out with a ClassNotFoundException
. There's no mention of slick-util in the manifest and I can't find out how to make my game load that jar properly.
Side question: how do I ensure when I distribute my applications, the game properly installs these libraries?
© Game Development or respective owner