Hi, I want to share how this task is advancing, I made an extension to the build that generates a zip file that contains the needed artifacts to make the deployment together with an extra build.xml file that executes the deployment into a maven repository. In the current version it just deploys to a /tmp/m2repo file repository.
In order to generate the zip you just need to apply this patch to the latest version from svn.
This will add two ant targets:
ant maven-full: makes a build from scratch
ant maven: it is supposed to be used after the regular lwjgl build
in both cases you need to download the natives from the hudson builds (I will attach a little script to do that in linux)
When you generate the zip, it is placed in the dist directory as lwjgl-maven-2.6.zip
To perform the distribution you need:
- To install the maven ant tasks: just save the jar into your ant lib dir, or in your home .ant/lib
- Generate a gpg sign key: using "gpg --gen-key"
- Add a profile to your maven .settings file in ${home}/.m2/ directory declaring the passphrase used for the gpg key
- If you know how to do that look at the sample settings.xml and copy the profile declaration changing the passphrase to match the one used to generate the key
- If you don't know just use the example settings.xml changing the passphrase to match the one used to generate the key
Then to perform the distribution just unzip the lwjgl-maven zip somewhere and inside there is a maven dir with a build.xml file, in that directory, just run "ant deploy" this will sign with your gpg key and deploy everything to a local repo in your /tmp/m2repo dir.
If you have any question, or if anything fails don't hesitate to ask me for help, here or in irc.
thanks