support swagger-maven-plugin 2.x