<div dir="ltr">Update on this one. I've created a pull request with the changes to the java binding build needed to create maven artifacts that meet maven central requirements.<div><br></div><div> <a href="https://github.com/OSGeo/gdal/pull/52">https://github.com/OSGeo/gdal/pull/52</a></div><div><br></div><div>I've also started the process of setting up the deployment infrastructure. Progress is being tracked here:</div><div><br></div><div> <a href="https://issues.sonatype.org/browse/OSSRH-14781">https://issues.sonatype.org/browse/OSSRH-14781</a></div><div><br></div><div><br></div><div>Once that is set up I will follow up with some additional instructions to HOWTO-RELEASE that describe how to deploy maven artifacts. </div><div><br></div><div>-Justin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 31, 2015 at 10:41 AM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Le mardi 31 mars 2015 18:29:18, Justin Deoliveira a écrit :<br>
> On Tue, Mar 31, 2015 at 10:01 AM, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>><br>
><br>
> wrote:<br>
> > > Right, there are a few steps involved. The easiest vector that I have<br>
> ><br>
> > seen<br>
> ><br>
> > > for open source projects is to utilize the Sonatype OSSRH repositories<br>
> > > (which provide sync to maven central). The full process is described<br>
> ><br>
> > here.<br>
> ><br>
> > > <a href="http://central.sonatype.org/pages/ossrh-guide.html#review-requirement" target="_blank">http://central.sonatype.org/pages/ossrh-guide.html#review-requirement</a><br>
> > > s<br>
> > ><br>
> > > To sum it up though, here is what I think would be required for gdal.<br>
> > ><br>
> > > 1. Create a pom for the gdal jar that adheres to these requirements:<br>
> > ><br>
> > ><br>
> > > <a href="http://central.sonatype.org/pages/requirements.html#sufficient-metadata" target="_blank">http://central.sonatype.org/pages/requirements.html#sufficient-metadata</a><br>
> > ><br>
> > > 2. Have a developer set up an OSSRH account and do the initial setup.<br>
> > ><br>
> > > <a href="http://central.sonatype.org/pages/ossrh-guide.html#initial-setup" target="_blank">http://central.sonatype.org/pages/ossrh-guide.html#initial-setup</a><br>
> > ><br>
> > > 3. For each release build the gdal jar (along with it's source and<br>
> ><br>
> > javadoc<br>
> ><br>
> > > artifacts) and GPG sign them.<br>
> ><br>
> > <a href="http://central.sonatype.org/pages/requirements.html#sign-files-with-gpgpg" target="_blank">http://central.sonatype.org/pages/requirements.html#sign-files-with-gpgpg</a><br>
> > p<br>
> ><br>
> > > Then deploy all the jars/signatures to the OSSRH staging<br>
> > > repositories.<br>
> > ><br>
> > > This will eventually sync them to maven central.<br>
> > ><br>
> > ><br>
> > > Again I'm happy to volunteer to do these steps if there aren't any<br>
> > > developers on the project that want the extra hassle. Do the java<br>
> ><br>
> > bindings<br>
> ><br>
> > > have a dedicated maintainer at this point?<br>
> ><br>
> > I've somehow taken that hat on, but I've currently no real incentive to<br>
> > do work in the Java area, so I'm happy if you want to take care of that<br>
> > aspect.<br>
> > Beyond the initial setup, it would be great if the steps that need to be<br>
> > taken<br>
> > at each release are documented in our HOWTO-RELEASE document (at the root<br>
> > of<br>
> > the source tree) so that anyone not familiar with Java/maven/Sonatype<br>
> > OSSRH can follow the steps in a rather brainless mode.<br>
> ><br>
> > Sure thing. I haven't done much with swig or anything aside from<br>
> > compiling<br>
><br>
> the bindings, but happy to learn as tasks come up.<br>
><br>
> So how about for a start I work toward deploying the latest stable release<br>
> (1.11.2) jar into maven central. As part of that process I'll document the<br>
> steps required and prepare a patch for HOWTO-RELEASE. Will that work?<br>
<br>
</div></div>Sounds good.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> > > > > > Regards,<br>
> > > > > ><br>
> > > > > > Even<br>
> > > > > ><br>
> > > > > > --<br>
> > > > > > Spatialys - Geospatial professional services<br>
> > > > > > <a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a><br>
> > > ><br>
> > > > --<br>
> > > > Spatialys - Geospatial professional services<br>
> > > > <a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a><br>
> ><br>
> > --<br>
> > Spatialys - Geospatial professional services<br>
> > <a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a><br>
<br>
--<br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a><br>
</div></div></blockquote></div><br></div>