Comments (14)
[OSM-dev] Java library OSM-binary is on Maven Central
Hi OSM developers,
openstreetmap/OSM-binary [1] is the library for reading/writing OSM
pbf files. Since today, its Java version is available from Maven
Central [2, 3]. Big thanks to everyone involved [4]!Cheers,
Simon[1] https://github.com/openstreetmap/OSM-binary
[2] https://github.com/openstreetmap/OSM-binary#java-version
[3] https://repo.maven.apache.org/maven2/org/openstreetmap/pbf/osmpbf/
[4] #19
from osm-binary.
I've opened a community support ticket for the inclusion in Maven Central, https://issues.sonatype.org/browse/OSSRH-61093
It seems that we cannot use the groupId
crosby.binary
(from pom.xml
) as it does not reflect a domain we own. Maven Central seems to be rather strict (Choosing your Coordinates). Should be change the groupId
to something like org.openstreetmap.binary
?
from osm-binary.
I am not even sure who would have the authority in the OSM project to allow us the use of the domain. Is there some precedent in other OSM Java projects? How does Osmosis handle this?
Would a switch from crosby.binary
to org.openstreetmap.binary
lead to incompatibilities somewhere? There are a lot of people out there using our library.
from osm-binary.
It does affect how the dependency is specified in the build system. The library itself (the Java packages used in the jar file) wouldn't be affected.
Osmosis uses org.openstreetmap.osmosis
, see https://search.maven.org/search?q=g:org.openstreetmap.osmosis
Atlas uses org.openstreetmap.atlas
, see https://search.maven.org/search?q=g:org.openstreetmap.atlas
from osm-binary.
This sounds like it would be a good move to change the naming here. I don't really like the binary
in org.openstreetmap.binary
because it is rather generic a term, but we already have that in the repository naming also, so maybe it is better to keep that.
Technically speaking what is needed for this switch?
@pnorman You are EWG and OSMF board. Any suggestions/insights?
from osm-binary.
I don't really like the
binary
inorg.openstreetmap.binary
because it is rather generic a term
An alternative would be org.openstreetmap.pbf
β¦
Technically speaking what is needed for this switch?
An update of those two lines,
Lines 6 to 7 in ab88d68
If we decide to change the Java package as well (incompatible change), various lines like
would need to be updated.from osm-binary.
@simon04 Do we need some kind of approval from the owner of openstreetmap.org?
from osm-binary.
From https://issues.sonatype.org/browse/OSSRH-61093:
Do you own the domain binary.crosby? If so, please verify ownership via one of the following methods:
- Add a TXT record to your DNS referencing this JIRA ticket: OSSRH-61093 (Fastest)
- Setup a redirect to your Github page (if it does not already exist)
from osm-binary.
@pnorman You are EWG and OSMF board. Any suggestions/insights?
Not really - I haven't given something like this any thought in the past.
from osm-binary.
@joto, how to proceed? Should we go for�
<groupId>org.openstreetmap.pbf</groupId>
<artifactId>osmpbf</artifactId>
The decision is somewhat arbitrary and shouldn't block the Maven Central efforts endlessly. :-)
from osm-binary.
@simon04 I am fine with that, but as you need access to the DNS you need outside support for that. Maybe open a ticket on https://github.com/openstreetmap/operations ?
from osm-binary.
We're planning to go for the group id
org.openstreetmap.pbf
Since OpenStreetMap is a community project, the proof of owning the domain openstreetmap.org might involve a few other people and might be not as easy for companies.
In #19, a few OpenStreetMap core developers expressed their support for getting this project published to Maven Central.
Please let us know how to proceed. Thank you!
from osm-binary.
Please have someone who already has deployer access on an org.openstreetmap groupId comment here to validate your request.
@brettch, can you help out at OSSRH-61093 to validate this request (getting OSM-binary
published as org.openstreetmap.pbf
)? Thank you!
from osm-binary.
I've commented on OSSRH-61093. Let me know if you need anything else.
To avoid confusion, I'd suggest updating the package name to org.openstreetmap.org
in the project as well as just the group id.
FYI.Β Osmosis already packages its own forked version of this library as well (just a package name change to avoid conflicts). If this new version is published then Osmosis could probably be updated to use it and avoid managing its own fork.
from osm-binary.
Related Issues (20)
- Can't create osmbpbf.jar on OSX using install instructions for ant HOT 3
- Update protocol buffers version in pom HOT 1
- protobuf.jar HOT 1
- Inconsistent type of roles_id in message Relation? HOT 1
- port to yocto HOT 1
- which protobuf library does this use? HOT 2
- Where is Osmformat class?
- Github action warning HOT 1
- Create GitHub release for 1.4.0 Java version HOT 1
- osm-pbf 1.4.0 OSX build issue HOT 8
- CMake build doesn't respect CMAKE_INSTALL_LIBDIR HOT 1
- CMake build doesn't configure SOVERSION for library HOT 2
- Duplicate https://github.com/openstreetmap/osmosis/pull/109 HOT 10
- add_subdirectory given source "osmpbf" which is not an existing directory HOT 2
- C++ compilation requires C++ 11
- error: use of undeclared identifier 'isatty'
- blob-header-size is bigger then allowed HOT 1
- Android application for boat navigation HOT 2
- Add support for Protobuf 22+ which can require either C++14 or C++17 HOT 9
- Unable to distinguish valid stream end from broken stream
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osm-binary.