-
Notifications
You must be signed in to change notification settings - Fork 543
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 version 0.4.1 is missing dependencies #1257
Comments
Thanks for the report @ShadelessFox. This was introduced in #1204 for making all dependencies optional. However, I completely forgot to replace the default jar with a shaded one 😞 This will be fixed in next release. By the way, why DBeaver does not use shaded jar by specifying classifier? |
Are you talking about artifact classifiers? Can you elaborate, please? We can specify a direct link to the jar file, but we'd better wait for the next release. |
Yes, it's better to wait for the next release. RE: artifact classifier, I was talking about something like the following: <dependency>
<groupId>com.clickhouse</groupId>
<artifactId>clickhouse-jdbc</artifactId>
<version>0.4.1</version>
<classifier>all</classifier>
</dependency> |
Ah, I see. Yes, specifying the classifier works, indeed. We can go with it for now. Can this ticket remain open until the new version is released so we can update our dependencies? |
Thanks but I think you don't have to make the change in DBeaver but wait for the new release. Sure, let's leave this open until the new version is released. Update: on a second thought, I think it's better to allow user to select classifier in DBeaver - see dbeaver/dbeaver#19222 |
@ShadelessFox, I added a few more dependencies with ...
<repositories>
<repository>
<id>ossrh</id>
<name>Sonatype OSSRH</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
...
<dependency>
<groupId>com.clickhouse</groupId>
<artifactId>clickhouse-jdbc</artifactId>
<version>0.4.2-SNAPSHOT</version>
</dependency> |
Thank you for providing a nightly version, but we don't want to add a new repository just for that. We decided to specify the classifier until a new version is released. |
No, I was asking if you can validate the change using nightly build at your end as I don't know how :) |
So just locally? No, it doesn't work against the provided repository. DBeaver expects to find file |
Describe the bug
Using the driver is impossible as simple as just adding a Maven dependency because its
pom.xml
lacks all dependencies whatsoever:https://repo1.maven.org/maven2/com/clickhouse/clickhouse-jdbc/0.4.1/clickhouse-jdbc-0.4.1.pom
In contrast, the previous version doesn't have the same issue:
https://repo1.maven.org/maven2/com/clickhouse/clickhouse-jdbc/0.4.0/clickhouse-jdbc-0.4.0.pom
It's also problematic to add the required dependencies manually because they aren't listed anywhere.
Perhaps I'm missing something?
The text was updated successfully, but these errors were encountered: