Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A question about adding h2gis and versions #1195

Closed
sebasira opened this issue Mar 1, 2021 · 2 comments
Closed

A question about adding h2gis and versions #1195

sebasira opened this issue Mar 1, 2021 · 2 comments

Comments

@sebasira
Copy link

sebasira commented Mar 1, 2021

I have a doubt that I can not figure out.

Till now I've been adding it to my project (Gradle) like this:

testCompile "org.orbisgis:h2gis-functions:1.3.2"
testCompile "org.orbisgis:h2gis-ext:1.3.2"

I'm currently updating all my dependencies and I saw that version 1.5.0 of h2gis is available, but when I replace the 1.3.2 for 1.5.0 it can not be found, also check maven central and latest versions where 1.3.2.

But then I saw in other places (blogs, forums, etc) that they include it like:

testCompile "org.orbisgis:h2gis:1.5.0"

So I test that and all my test passed, but I don't know if I'm missinig something here.

I mean, is this the new way of adding it to a project? If not, what's the difference?

For what is worth, I'm working with Spring Boot 2.4, h2 v1.4.197, geoDB v0.7 and hibernateSpatial v5.4.25.Final

Thank you very much!

@SPalominos
Copy link
Contributor

It's normal, when we released the version 1.4.0, we changed the dependencies organization and naming in order to simplify the dependency management.
The two dependencies you where using (h2gis-functions and h2gis-ext) were both moved into the h2gis one. So now you just have to use

testCompile "org.orbisgis:h2gis:X.Y.Z"

@sebasira
Copy link
Author

sebasira commented Mar 4, 2021

Thanks for the clarification!

@sebasira sebasira closed this as completed Mar 4, 2021
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

No branches or pull requests

2 participants