<div dir="ltr">Hey Even,<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 31, 2015 at 8:25 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">Justin,<br>
<span class=""><br>
> I searched the archives and couldn't find much on this topic. I was<br>
> wondering how people would feel about having the gdal java jar hosted in<br>
> the central maven repository? I think it would be pretty nice for users to<br>
> not have to build the bindings locally, or find a repository that has them.<br>
><br>
> Any thoughts, objections, or concerns?<br>
<br>
</span>That should likely be useful, but pardon the naive remark as I'm not familiar<br>
with how maven central works : the gdal.jar alone will not be usefull. You<br>
need the 4 libgdalXXXXjni.so / dll for it to be usefull, and of course thy are<br>
architecture dependant, so I'm wondering how that would be handled.<br></blockquote><div><br></div><div>Right. The jar won't be of much use unless you have all the native libraries installed on the system. While maven does allow you to store other artifacts in a repository I don't think that is a good fit in this case. As you mention it's very platform dependant and it's pretty common for users to compile gdal themselves to get the formats they need. </div><div><br></div><div>That said the jar itself would allow applications to at least compile. Without the native libs any actual usage will of course fail. But most projects I have seen that utilize the java bindings account for this case, allow things like tests to fail cleanly, or disabling certain functionality if the bindings are not active.</div><div><br></div><div>Long story short I think this would be of most use to developers writing libraries that utilize the bindings. It would allow users of those libraries to build it without any extra steps. At least that is my case.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
><br>
> If people are into the idea I would be happy to put in the work to make it<br>
> happen.<br>
><br>
<br>
</span>Regards,<br>
<br>
Even<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a><br>
</font></span></blockquote></div><br></div></div>