[osmosis-dev] Publishing Osmosis to Maven Central

Brett Henderson brett at bretth.com
Sat Mar 30 11:41:54 UTC 2013


Hi All,

This may be of interest to some of you.  I've just begun the process of
publishing Osmosis artefacts to Maven Central (ie.
http://repo1.maven.org/maven2).

My current snapshot build is available here:
https://oss.sonatype.org/content/repositories/snapshots/org/openstreetmap/osmosis/

For those who are not familiar with Maven Central practices, it is not
possible to publish directly to Maven Central itself.  The simplest way is
to publish via the OSS Sonatype repository which then gets sync'd with
Maven Central.

A few changes have been made to the Osmosis build to allow this to work
(I'm still in the process of pushing these changes).  The most noticeable
change is that most projects have been renamed to have an "osmosis-"
prefix.  If you have an existing Eclipse workspace, you'll need to re-run
"gradle eclipse" and re-import your projects.

The main blocker to publishing release artefacts is that I have two
dependencies on libraries not available in Maven Central.  These are the
scrosby PBF lib, and the BZip2 library which I built manually but which is
based on Apache source code.  Both should be fixable by building and
publishing them along with the rest of Osmosis, but I need to find time to
do so.

Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20130330/7ade5abf/attachment.html>


More information about the osmosis-dev mailing list