Support for both maven 3.0 and 3.1

Hi,

Here is a solution to make this plugin to work on both maven versions. This solution does not rely on aether api and uses only maven internal dependency resolution mechanism. Also this patch slightly breaks plugin configuration (see diff for pom.xml from integration tests).