Login  Register

Re: maven2 artifacts?

Posted by BrickFarmer on Dec 01, 2010; 8:23pm
URL: https://forum.jogamp.org/maven2-artifacts-tp1935908p2001842.html

for anyone that's interested, here's my bash script I'm currently using to populate my maven repository:
jogl2maven.sh

example:
./jogl2maven.sh jogl-2.0-b242-20101129-macosx-universal.zip 2.0.242


If you define a property for the JOGL version you want to use, it makes switching between versions quite easy:

   <properties>
        <jogl.version>2.0.242</jogl.version>
    </properties>

Just remember that each time you change the property, you'll need to regenerate the eclipse project files with 'mvn eclipse:eclipse'  F5 in eclipse to refresh the project.  Then 're-attach' the native lib directory to each of the jar files as discussed previously.