The following project is aimed at a tutorial showing how ANT/Maven can be combined together. It consists of some sample code, which can then be compiled and packed using ant/maven The default is a very old old version and depends on ant-contrib v 1.0b2 (1.03 has severe issues and breaks the script!
Use these files as base and extend to update them as per requirements of assignment/project.