This project is now obsolete, please use the standard Maven artifacts. See #13 for more information.
This project produces a set of OSGi bundles for the LWJGL library.
Use dependencies in the org.lwjgl.osgi
groupId as you would with
the ordinary LWJGL libraries:
<dependency>
<groupId>org.lwjgl.osgi</groupId>
<artifactId>org.lwjgl.glfw</artifactId>
<version>${latestVersion}</version>
</dependency>
<dependency>
<groupId>org.lwjgl.osgi</groupId>
<artifactId>org.lwjgl.opengl</artifactId>
<version>${latestVersion}</version>
</dependency>
See the com.io7m.lwjgl.examples project for some example OSGi components using each of the various libraries.
Currently, when running in an OSGi container LWJGL will use the platform's default allocator instead of the (typically preferred) jemalloc. This isn't likely to be a problem for the majority of users. A workaround if it is a problem for you is to manually set the allocator using the Configuration class prior to doing anything else with LWJGL.