add maven support and derby test