No build system
This is very similar to the Java 1x1 examples. Instead of using javac manually, the Javahelper tools, especially jh_build, become very useful.
Simple package without a proper build system. Javahelper and its jh_build tool are the ideal helpers to compile the source code and create a jar file.
javabuild / jh_build
The source code resides in a single directory. You can either use a debian/javabuild file or you can call jh_build in debian/rules directly.
Name of the jar file directory with source code
The syntax is very simple. You can build multiple jar files by specifying one name and source directory per line. In this case there is only one org directory.
%: dh $@ --with javahelper --with jh_maven_repo_helper
In order to make use of javahelper you have to build-depend on it in debian/control and pass --with javahelper to dh sequencer.