Maven repository file for lwjgl 2.2.1

Started by obi, November 19, 2009, 08:56:42

Previous topic - Next topic

obi

I took me some time and made this maven repository file for lwjgl 2.2.1.

maven-lwjgl-repository.zip

The only thing you need to do is unpack the repository in your project then add

 <repository>
    <id>local.project</id>
    <name>local.project</name>
    <url>file://${project.basedir}/repository</url>
  </repository>


Then just add the lwjgl artifacts. You can see how I handle the native libs in the eclipse sample project below.

This empty project has a pom that lets you run the lwjgl tests with just a few clicks.
1. Run the maven-compile launcher for your platform
2. Refresh the eclipse project.
3. Right click the project and Run As -> Java application then select the test you want to run :)

lwjgl-test.zip

It will fetch the right native files to depending on what profile you run.

Have fun!