I\'ve been studying Maven in my free time over the last several days but can\'t seem to figure out how to organize a project so that the JOGL libraries are used. I would pre
I don't know JOGL library but I have experience with Java3d, which has the same installation/build issues. There are two ways to achive this:
tell developers to install JOGL unassisted, then treat JOGL libraries as system dependencies like we do with Java3d
javax.java3d
j3dcore
1.5.1
system
${java.home}/lib/ext/j3dcore.jar
place all jars and system dependent libraries in own repository and create suitable poms for them
If you strongly want to automate with Maven installation of JOGL you can try use maven-antrun-plugin or create own Maven plugin that handles installation (a good example is Cargo that downloads servers and unpack it).
I consider to use first option - tell developers to install JOGL. In our case Java3d application is distributed by Java WebStart so for them installation of Java3d is fully automated by WebStart.