We need a build mechanism that can build and package project into a JAR file. Maybe we can think about using jarjar for bundling connector/adapter dependencies for targeted builds.
For instance, core build should not contain a connector in JAR package.
mysql build should contain lib/mysql-connector-java-*.jarsqlite-unix build should contain lib/sqlite4java.jar and lib/*.so+lib/*.jnilib binaries.
sqlite-windows build should contain lib/sqlite4java.jar and sqlite4java-win32-*.dll dynamic linkers.
etc.
Build tool can be Maven, Rake, sbt, Ant or anything that makes sense, easy to maintain and not outdated.
We need a build mechanism that can build and package project into a JAR file. Maybe we can think about using
jarjar
for bundling connector/adapter dependencies for targeted builds.For instance,
core
build should not contain a connector in JAR package.mysql
build should containlib/mysql-connector-java-*.jar
sqlite-unix
build should containlib/sqlite4java.jar
andlib/*.so
+lib/*.jnilib
binaries.sqlite-windows
build should containlib/sqlite4java.jar
andsqlite4java-win32-*.dll
dynamic linkers. etc.Build tool can be Maven, Rake, sbt, Ant or anything that makes sense, easy to maintain and not outdated.
Build should be single step! See Joel's test.