Adding Maven dependencies to VM Parameters in Run/Debug configuration?

I'd like to add native libraries that are provided by a Maven artifact to the java.library.path VM parameter, in the Run/Debug configuration. I'd like to avoid having to use hardcoded paths, and reference the Maven dependency instead.

The exact details for setting up a similar Maven project is provided in http://www.lwjgl.org/wiki/index.php?title=LWJGL_use_in_Maven, although this page references an Eclipse-specific plugin to get the correct VM Param setting. Is something similar available for IntelliJ?

Please sign in to leave a comment.