Best practice of dom4j by maven training