Skip to content

Investigate Baremaps API - #2154

Closed
michaz wants to merge 23 commits into
graphhopper:masterfrom
baremaps:baremaps
Closed

michaz wants to merge 23 commits into
graphhopper:masterfrom
baremaps:baremaps

Conversation

@michaz

@michaz michaz commented Oct 11, 2020

Copy link
Copy Markdown
Member

(Making a Draft PR from this so I can track it more easily)

@bchapuis

bchapuis commented Nov 20, 2020 •

Copy link
Copy Markdown

Hi @michaz, all the tests are passing locally, but they are failing on travis and appveyor. Any idea on what may cause this issue?

@otbutz

otbutz commented Nov 20, 2020

Copy link
Copy Markdown
Contributor

Hi @michaz, all the tests are passing locally, but they are failing on travis and appveyor. Any idea on what may cause this issue?

Failed to execute goal on project graphhopper-reader-osm: Could not resolve dependencies for project com.graphhopper:graphhopper-reader-osm:jar:3.0-SNAPSHOT: Could not find artifact com.baremaps:baremaps-osm:jar:0.3.0 in central (https://repo.maven.apache.org/maven2)

Did you already publish that version?

@bchapuis

Copy link
Copy Markdown

Did you already publish that version?

Yes, I published it on the Github Package registry. I somewhat believed that Github Package was public, but it seems that it requires some sort of authentication.

Thanks a lot for your help, I should probably start publishing these artifacts on maven central.

@otbutz

otbutz commented Nov 20, 2020

Copy link
Copy Markdown
Contributor

The Maven Super POM only comes with Maven Central by default. So that would make this IMHO a requirement if we want to use it in GH.

@bchapuis

Copy link
Copy Markdown

@otbutz @michaz Thanks a lot for the tips! I published the artifacts on maven central and the builds are now passing.

Notice that I had to increase the memory in the maven-surfire-plugin a bit. This is due to the way the pbf reader is implemented, it reads several OSM file blocks and decompress them in parallel, which improves performance to the detriment of memory usage. However, I think that the overall memory consumption when reading large files should improve as the producer's speed is now bound to the consumer's speed.

<argLine>-Xmx256m -Xms256m -Duser.language=en</argLine>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants