Same answer from Maven and JOGL library?
Jogamp now contains Maven support for jogl components (jocl and joal support expected). Starting with version 2.0-rc11, packages are placed in Maven Central.
Just put this on your pom:
<dependencies> <dependency> <groupId>org.jogamp.gluegen</groupId> <artifactId>gluegen-rt-main</artifactId> <version>2.0-rc11</version> </dependency> <dependency> <groupId>org.jogamp.jogl</groupId> <artifactId>jogl-all-main</artifactId> <version>2.0-rc11</version> </dependency> </dependencies>
Maven will pull out all the dependencies the next time you try to build a project.
Read more about the wiki here.
source share