Hi endolf I made a patch for the jinput build that generates everything needed for deployment into maven central
The patch is made of
- build-maven.xml
- maven/jinput.pom
- maven/build.xml
- maven/jinput-parent.pom
- maven/jinput-platform.pom
In order to make the maven build you need to download the natives and jutil.lib (as is done now in the hudson build) execute the normal build with the dist and javadoc targets to generate the jutils.jar and the javadoc.
Then running "ant -f build-maven.xml mavendist" a directory dist-maven will be created and in there it will create:
- jinput-sources.jar
- jinput-javadoc.jar
- copy of the jinput poms with the current version
- build.xml a copy from maven/build.xml this supports local repo install and signing and deployment to a repo
- copy of the maven-ant-tasks-2.1.0.jar so that dist-maven is a complete unit of work
In order to be able to deploy to maven central you have to request access to the oss sonatype people as explained
here using as groupId "net.java.jinput"
I got a lib into maven central that is hosted in google code using the groupId "com.googlecode.mavennatives"
here you can see the request as a reference
This is a first attempt at this so there are still some details to see, like if you want this as a separate build or something more integrated into the normal build, about jutils I think that perhaps leaving it like it is, as just classes inside the jutils jar would be the easiest and fastest way.
If there is any problem please let me know
thanks.
Rubén