I have a project managed in Maven that has some native dependencies (LWJGL).
Everything works fine in development, but now I want to set up Maven so
Here is the plugin you need in your pom.xml to run your build with the required run Parameter you mentioned:
pom.xml
org.codehaus.mojo exec-maven-plugin 1.6.0 java -Djava.library.path=target/natives -classpath my.main.package.MainClass
Then run your LWJGL-Program using
mvn exec:exec