Hi. I am using JOGL in an app and I use maven for building, packaging and distributions.
I would like to help you make a maven deploy of jogl on java.net repository. I will use maven just for the deploy, starting from builded jars.
The main issue is related to native libraries. See here:
http://download.java.net/maven/2/net/java/dev/jogl/
If you are familiar with maven, you will see that my plan is to create a different artifact for each native version of the jar. Every native artifact will depend upon the common jogl.jar that depends upon gluegen.
There is just linux-i586 example but just some lines in the script and everything is done
My first issue is: gluegen version used in recently 1.1.1 branch is always the last releas on gluegen.dev.java.net or is a build from cvs?
The second one: there are any problem in using the webstart signed jar in a non webstart launcher? If so, I cannot use jogl.jar taken from the webstart zip…
The third: I think I resolve with some trick. I need to put exploded native jar in a folder that is in the path in order that JVM find them. I do not still know if maven has such an automation, I can always use an ant task for this job. Or, given that they are just needed at runtime, I can put the un-jar operation in the start script.
I am also asking some advice to maven2 community, you will see the conversation here when it will be archived…
http://mail-archives.apache.org/mod_mbox/maven-users/200712.mbox/browser
Thanks, bye.