changed test and example to use Maven's log
added an example of ant usage