Re: Sebastiaan Couwenberg 2018-06-02 <f86fbe94-222c-2368-3973-3e800fe23...@xs4all.nl> > > Could not resolve all dependencies for configuration > > ':osmosis-hstore-jdbc:compileClasspath'. > >> Could not resolve com.ongres.scram:client:debian. > > Required by: > > project :osmosis-hstore-jdbc > org.postgresql:postgresql:debian > > > No cached version of com.ongres.scram:client:debian available for > > offline mode. > > libscram-java is a transitive dependency of libpostgresql-jdbc-java, but > the latter doesn't have a dependency on libscram-java.
Hi, adding the dependency to libpostgresql-jdbc-java is not the correct solution because when used as JDBC driver at runtime, where applications load the .jar file as plugin, things just work fine. /usr/share/java/postgresql.jar bundles the scram class. I wonder if adding a libpostgresql-jdbc-java-dev package that depends on libscram-java would be the correct solution, but that's out of line with how the rest of the Java packages work. @java-team: comments? Christoph