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

Maven artifact & JDBC driver fat JAR #649

Closed
mrigger opened this issue May 26, 2020 · 6 comments
Closed

Maven artifact & JDBC driver fat JAR #649

mrigger opened this issue May 26, 2020 · 6 comments

Comments

@mrigger
Copy link
Contributor

mrigger commented May 26, 2020

Are there any plans to publish a Maven artifact for DuckDB? We are in the process of open-sourcing SQLancer, so this would be very helpful for us (and likely also for other Java projects that want to use DuckDB).

@hannes
Copy link
Member

hannes commented May 26, 2020

Yes, that is something we would like to do. I have never done this before though so help is appreciated. We also would like to bake all the binaries into a single JAR file, at the moment they are still platform specific.

@hannes hannes changed the title Maven artifact Maven artifact & JDBC driver fat JAR May 28, 2020
@hannes
Copy link
Member

hannes commented Jun 4, 2020

Created a request for maven hosting at https://issues.sonatype.org/browse/OSSRH-58177
https://issues.sonatype.org/browse/OSSRH-58179

@hannes
Copy link
Member

hannes commented Jun 4, 2020

turns out we need to control the domain derived from the artifact group id. So changed the package name to org.duckdb (was: nl.cwi.da.duckdb). Once this PR is merged, JDBC applications will have to update the driver class name to org.duckdb.DuckDBDriver.

@mrigger
Copy link
Contributor Author

mrigger commented Jun 4, 2020

Thanks a lot for this! I've btw only started using Maven for SQLancer, and also don't have experience with this.

@hannes
Copy link
Member

hannes commented Jun 4, 2020

@mrigger welcome to dependency hell ^^

@hannes
Copy link
Member

hannes commented Jun 4, 2020

this works for me from Maven:

<dependency>
  <groupId>org.duckdb</groupId>
  <artifactId>duckdb_jdbc</artifactId>
  <version>0.1.8</version>
</dependency>

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