add validate-maven task to check maven dependencies, fix redundant dependencies in generate-maven-artifacts