Hello Guest

LWJGL Maven runnable JAR

  • 0 Replies
  • 10245 Views
LWJGL Maven runnable JAR
« on: June 04, 2014, 10:31:48 »
I've been recently exploring LWJGL library and found out that using LWJGL with Maven is harder than it looks like :)
Of course, it's possible to manually point JVM to native libs that are automatically copied to target/natives by maven-native-plugin, but it still doesn't allow to build runnable jar.
I've created a very simple "Starter" class that does that for developer. With this I managed to build runnable jar using Maven. Whole concept is mostly based on FatJar.

Whole project is hosted publicly here:

https://bitbucket.org/Naatrium/lwjgl_jar_test/src/15189b8c2b16?at=master

I'd be happy to know what you think about it.