Issue: source is not compiled. The generated jar file is empty. Solution: Restructured the source to src/main/java.