Posted by
reyman on
Jan 26, 2012; 8:00pm
URL: https://forum.jogamp.org/JogAmp-Release-Candidate-v2-0-rc5-tp3599114p3691446.html
You can install maven version of package here :
https://github.com/reyman/scriptJogampgit clone
https://github.com/reyman/scriptJogampI make some correction and i redploy the .jar on maven site the
26/01/2012Sorry for inconvenience :)
There is
two method to use jogl with maven :
1 - You use the script to install jar on your local maven repository
a - sh script-dl.sh
b - modify the path into script-replace.py script :
mapping_file = "<your-path>/mapping-version-current"
file_path = "<your-path>/scriptJogamp/"
c - run the python script to create file : python script-replace.py
d - sh script-install.sh
2 - You use this information in your pom.xml
<dependencies>
<dependency>
<groupId>org.jogamp.jogl</groupId>
<artifactId>jogl.all</artifactId>
<version>2.0-b45-20111219</version>
</dependency>
<dependency>
<groupId>org.jogamp.gluegen</groupId>
<artifactId>gluegen-rt</artifactId>
<version>2.0-b33-20111219</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>thirdparty.maven.iscpif.fr</id>
<name>ISCPIF repository</name>
<url>
http://maven.iscpif.fr/thirdparty/</url>
</repository>
</repositories>
I use this mapping file for this RC5 version :
v.org.jogamp.gluegen=2.0-b33-20111219
v.org.jogamp.jogl=2.0-b45-20111219
v.org.jogamp.jocl=0.9-b29-20111219
v.org.jogamp.joal=2.0-20111219
If you see bugs, improvements for this script, your help is welcome :)
Julien Gouesse, or Sven Gothel, if you have some times to test this version, i really apreciate :) Thanks !
SR.